Deomid Ryabkov
Deomid Ryabkov
good catch! we should definitely fix this, but i think instead of clearing upon initialization we should disable interrupts before soft reset, since the rate of interrupts may be so...
there's gpio interrupt number in the CPU and then there are individual GPIO mode bits for each pin that are configured in mgos_gpio_hal_set_int_mode. all of those need to be set...
this actually raises a larger issue of the state of other peripherals on soft reset... in fact, we may want to make soft reset less soft, so that hardware gets...
if/when vendors add support to their SDKs.
having support in rtos sdk doesn't help as we are using non-rtos sdk still.
there is no such thing as non-os sdk for ESP32. we use ESP-IDF, which is based on RTOS. for ESP8266 we are still using non-os SDK and there are no...
yes, there is no mos-level support for deep sleep persistence yet. but you are welcome to use RTC_DATA_ATTR for now.
here's a snippet from an internal project that i wrote (with actual code cut out). but the boilerplate and comment are relevant. put it into a file called `rtc_wake_stub_main.c` in...
sorry, that's a lot of output. the important bit is at the very end: `sys_config_schema.json` could not be read.
see attached [stupid_github.zip](https://github.com/pellepl/spiffs/files/848347/stupid_github.zip) ``` [rojer@nba ~/cesanta/qwe master]$ tar xjf sptest.tar.bz2 [rojer@nba ~/cesanta/qwe master]$ cd spiffs/tools/ [rojer@nba ~/cesanta/qwe/spiffs/tools master]$ make ./spls ./sptest SPIFFS_CONFIG_PATH=. gcc -I. -I. -I/home/rojer/cesanta/qwe/spiffs/tools/.. -o spls spls.c mem_spiffs.c...