- 04 Mar, 2019 1 commit
-
-
Deomid Ryabkov authored
* Add calculated redundancy values when writing eFuse blocks 1-3 * Perform 192 -> 256 bit key extension when encrypting images for flashing Fixes https://github.com/cesanta/mos-tool/issues/37 CL: mos: ESP32: Add support for the 3/4 key encoding scheme PUBLISHED_FROM=16639fb25d5200550ad2097929239d896e188b5b
-
- 12 Feb, 2019 1 commit
-
-
Deomid Ryabkov authored
CL: STM32F2 and Particle Electron board support PUBLISHED_FROM=20dede6546e9f99d2829508177924790d87e985a
-
- 08 Feb, 2019 1 commit
-
-
Deomid Ryabkov authored
Use old baud rate and autodetected divider to calculate new divider. This works better with higher baud rates and drifting clocks. CL: mos: Improve ESP flasher baud rate setting PUBLISHED_FROM=7761e756c3ae7cc76e3b9a4fe3e40d06a779b2e8
-
- 30 Jan, 2019 1 commit
-
-
Deomid Ryabkov authored
cs_log_set_filter() is removed in favor of cs_log_set_file_level() which allows setting log verbosity of individual files and/or lines. E.g.: `mg_=1,mjs=1,=4` - level for for everything except mjs and mongoose. We use the fact that we are usually pretty careful with our file names and use prefixes consistently. In mos, `debug.file_level` sets the option on boot and `Sys.SetDebug` is updated to parse `file_level` option to change it at runtime. CL: Log file:line instead of function; add cs_log_set_file_level() PUBLISHED_FROM=49f18d4d0d3dd224865129a4f8fe6cccd1d9bc12
-
- 08 Jan, 2019 1 commit
-
-
Deomid Ryabkov authored
CL: Fix nsleep100 on STM32 PUBLISHED_FROM=cabb98a0541bac9bb66bfa702d54bf8ff20063e7
-
- 25 Dec, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: none PUBLISHED_FROM=4bbc2175634e20a726dd4b2dadff57f945b261d0
-
- 21 Dec, 2018 1 commit
-
-
Sergey Lyubka authored
CL: Check for NULL in tcp_recved_tcpip() PUBLISHED_FROM=3f5bbc2e35b79d363eac4b99a1f0d17c9b81d4ec
-
- 18 Dec, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: wifi: CC3220: Enterprise auth support PUBLISHED_FROM=ce445eb5b740073c9a3f9811f1acd404ce134f2e
-
- 10 Dec, 2018 1 commit
-
-
Deomid Ryabkov authored
If user throttles receive by setting recv_mbuf_limit, after the net interface reports connection as closed we must wait for data to trickle through before disposing of it. There can still b data in the buffers (e.g. SSL). CL: mg: Ensure that user sees all the data before connection is closed PUBLISHED_FROM=22be0fa368950a9fdb03cfb00febc7c0a1674b01
-
- 28 Nov, 2018 1 commit
-
-
Deomid Ryabkov authored
Replacement for fw_meta.py commands and also supports unbundling .hex files. General syntax is: ``` $ mos create-fw-bundle -o fw.zip part1:prop1=val1,prop2=val2,... part2:... ``` Example of building a mos fw bundle for ESP8266: ``` $ mos create-fw-bundle -o fw.zip --platform esp8266 --build-info=build_info.json \ boot:addr=0x0,src=rboot.bin,update=false \ boot_cfg:addr=0x7000,size=0x1000,fill=0xff \ fw:addr=0x100000,src=demo-c.bin \ fs:src=fs.bin,type=fs,addr=0x8000,fs_size=262144,fs_block_size=4096,fs_page_size=256,fs_erase_size=4096 ``` Example of converting a HEX file to a bundle: ``` $ mos create-fw-bundle -o fw.zip host:type=host,src=hostfw.hex ``` CL: mos: Add create-fw-bundle command PUBLISHED_FROM=35f52ea53e4b5900463415257323a4c08cf45deb
-
- 28 Sep, 2018 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=0cf3029d9a9b851882325e2298b878bc83fc2d33
-
- 25 Sep, 2018 3 commits
-
-
Deomid Ryabkov authored
Go back to Ubuntu 16.04 and older gcc-arm (4.9.3). Boot loader just won't run when compiled with newer GCC (7.x). It's likely that it can be fixed with compile switches but I couldn't figure it out quickly, so going to just downgrade for now to get it back to workign state. CL: CC3200: Fix boot loader regression PUBLISHED_FROM=b70b03bd17e03c7dae02328b32b855f3ca3ad6a9
-
Deomid Ryabkov authored
CL: Add mgos_gpio_blink() PUBLISHED_FROM=a5d2e2f44413d1ab363abeeaf0fb497bd8f63d6d
-
Deomid Ryabkov authored
PUBLISHED_FROM=694346bd6562c55e5ab00886df47f7cbfb0a3720
-
- 20 Sep, 2018 1 commit
-
-
Deomid Ryabkov authored
mbedTLS is just another lib now CL: Use mbedTLS from mongoose-os-libs/mbedtls PUBLISHED_FROM=bae4739d22e871bd268b8a3233dbb69634770243
-
- 11 Sep, 2018 1 commit
-
-
Deomid Ryabkov authored
* Update CubeL4 to 1.13.0 * Rebuild OurTLS with `-DMBEDTLS_X509_CA_CHAIN_ON_DISK` * Add `-Wextra` and fix build issues CL: Update STM32 build image PUBLISHED_FROM=a7eacff7580bab6c6e40bdaf6164df575a717c55
-
- 06 Sep, 2018 3 commits
-
-
Deomid Ryabkov authored
CL: STM32: Make LWIP optional PUBLISHED_FROM=eebffe7800a74d7b69aafd95e476b2e90328be98
-
Deomid Ryabkov authored
Can be used for cases where device has no networking but mongoose is still needed for its event loop. CL: mg: Add net_if_null, a no-op net interface PUBLISHED_FROM=e79b4a8667508bbde1437dda9dad77ce3a3aa630
-
Deomid Ryabkov authored
* Change return type of mg_mgr_poll to return number of events * Add mg_mgr_min_timer * Refactor main poll loop to remove LwIP-specific stuff CL: Refactor mg polling PUBLISHED_FROM=dc94618b32fa3c84a2f053bd04d134297780ec82
-
- 18 Aug, 2018 1 commit
-
-
Deomid Ryabkov authored
A smattering of other related changes CL: STM32 OTA support for L475-IOT01 and DISCO-F746 PUBLISHED_FROM=e7142337086d09ba21437455b22d00db47ab33f1
-
- 23 Jul, 2018 1 commit
-
-
Бобби authored
CL: Make esp8266 compilation a little less verbose PUBLISHED_FROM=0ec1412ea32243f263d52fbe0877ecca1efc5aef
-
- 12 Jul, 2018 1 commit
-
-
Deomid Ryabkov authored
Closes https://github.com/cesanta/mongoose/pull/945 CL: Fix build with CS_ENABLE_STDIO=0 PUBLISHED_FROM=7d15f17fc42241facdba5b1004b5b7f3dda599dc
-
- 26 Jun, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: mos support for LFS (littlefs) https://github.com/ARMmbed/littlefs PUBLISHED_FROM=e72957b4fb2c78949af4cf6d5bfef135ddba9fd9
-
- 18 Jun, 2018 1 commit
-
-
Deomid Ryabkov authored
Set CLOSE_IMMEDIATELY flag when destroying conn. This avoid some races in LWIP adapter. CL: mg_lwip: Fix race during clean conenction teardown PUBLISHED_FROM=5c67982390dfaf83527e85d1291f64c6050aa932
-
- 06 Jun, 2018 1 commit
-
-
Deomid Ryabkov authored
startup cleanup on CC3220 CL: none PUBLISHED_FROM=0998fad82fbcdbde30dca42833f2e48d148592bf
-
- 10 May, 2018 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=9997c64ed0c713b5b8b29df7a49b532e880eac53
-
- 26 Apr, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: Fix TZ on ESP8266 PUBLISHED_FROM=435a501a8b52524bccb67bb5a8ae7e09dfb4d44a
-
- 13 Apr, 2018 1 commit
-
-
Deomid Ryabkov authored
Enables extra compile-time checks CL: none PUBLISHED_FROM=9f7d658fbda5c721cf40293bf29967bb056d0437
-
- 11 Apr, 2018 1 commit
-
-
Deomid Ryabkov authored
Also remove `-O3` optimization flasg, it negates `-Os`. Saves ~400 bytes. CL: none PUBLISHED_FROM=f40f42e4f54a8e0e003ab65ec8f5838c2d932876
-
- 03 Apr, 2018 1 commit
-
-
Sergey Lyubka authored
CL: Apache license to common/ PUBLISHED_FROM=901e9e4b12a31289b3515d1f86dd56a7f0f35c5e
-
- 30 Mar, 2018 1 commit
-
-
Deomid Ryabkov authored
A major cleanup, disentangling net_if and ssl_if. Pulled a lot of common logic into the core and reduced size of net_if implementations. CL: Mongoose net_if and ssl_if refactoring PUBLISHED_FROM=29bd4dcb264a1fd96b3dd164e2d880e1c2c0921e
-
- 28 Mar, 2018 1 commit
-
-
Deomid Ryabkov authored
In preparation for making moving to lib. Reduce amount of makefile copypasta a bit. CL: none PUBLISHED_FROM=70a016491f9605e37708385bdd698f48a8d64119
-
- 23 Feb, 2018 1 commit
-
-
Sergey Lyubka authored
PUBLISHED_FROM=9a81cc34aa0039a75c851bc3685055f46936252e
-
- 10 Feb, 2018 1 commit
-
-
Deomid Ryabkov authored
E.g. if `ASSERT_EQ(myfunc(), 123)` fails, `myfunc()` would be invoked again to print the actual value. This can cause confusion sometimes. To avoid this, we cast arguments to double, which is wide enough for most cases and we provide a variant for 64 bit value types for when it's not. We also perform a check and fail if argument to the check results in loss of precision. CL: none PUBLISHED_FROM=a14551289d92e8a5dead21d16471ebddebe938a8
-
- 08 Feb, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: none PUBLISHED_FROM=ab7f50e1c68154832e862ebfb4a02d385ef7c6be
-
- 07 Feb, 2018 3 commits
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=d52aea1648ed8ec8dd2e71168884795d995b1826
-
Deomid Ryabkov authored
CL: none PUBLISHED_FROM=ee76407d89f3fcbe3da23810117a374d06af0a25
-
Deomid Ryabkov authored
To properly fail a test in a subroutine, return value needs to be passed up. This snippet makes it short. PUBLISHED_FROM=2f6328b5eb2921a4caa53d8887c02f73a5d817ea
-
- 06 Feb, 2018 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=3cd6dd7f04b650ca637788d1017b6b5146c79569
-
- 05 Feb, 2018 1 commit
-
-
Dmitry Frank authored
PUBLISHED_FROM=78acb18d597b6f47f31da13087fa6685f21ce445
-