OVMS3-idf/components
Ivan Grokhotkov f9013d9ff8 Merge branch 'feature/dualcore_spi_flash_api' into 'master'
Dual core compatible spi flash APIs

Implementation of spi flash APIs which work in dual core mode.

This also includes other changes:
- fixes to FreeRTOS tasks.c made by Jeroen and me — these were originally made to fix issues with high priority tasks seen in WiFi stack, but were required to get stuff in ipc.c working as well
- initial base idea with two high-priority tasks was separated into a separate API — esp_ipc.h. That API allows one to run a function on the other CPU from a high-priority task. Because we don't have preemption across CPUs, this is currently not very fast: it requires on average half a tick until the second CPU switches to the high priority task. Currently that API can be either blocking, or non-blocking with queue length of 1. I haven't yet found a use case for arbitrary sized queue of IPC requests. Anyone who needs that can trivially add that later by replacing a binary semaphore with a generic queue.

With these changes i can run application with WiFi stack and NVS on both cores.

See merge request !25
2016-09-13 13:58:54 +08:00
..
bootloader header files: modify rom code and soc header files 2016-09-12 17:47:49 +08:00
bt Initial public version 2016-08-17 23:08:22 +08:00
esp32 Merge branch 'feature/dualcore_spi_flash_api' into 'master' 2016-09-13 13:58:54 +08:00
esptool_py Set default SPI flash access mode to DIO 2016-09-08 10:22:15 +08:00
expat components/expat: add XML parse feature 2016-08-25 16:40:23 +08:00
freertos Fix bug where nesting vTaskEnterCritical calls would not re-enable interrupts after vTaskExitCritical sections. 2016-09-13 11:47:22 +08:00
json components/json: add JSON parse feature 2016-08-25 17:04:14 +08:00
lwip lwip: Define LWIP_ESP8266 in port lwipopts.h not gcc command line 2016-09-09 13:53:38 +10:00
mbedtls mbedtls: Fix component Makefile 2016-09-05 15:08:30 +10:00
newlib Name component makefiles component.mk instead of Makefile 2016-09-08 13:41:19 +10:00
nvs_flash Name component makefiles component.mk instead of Makefile 2016-09-08 13:41:19 +10:00
partition_table Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00
spi_flash components/spi_flash: improve comments and readability 2016-09-13 12:47:21 +08:00
tcpip_adapter lwip: Define LWIP_ESP8266 in port lwipopts.h not gcc command line 2016-09-09 13:53:38 +10:00