OVMS3-idf/components/esp32/include
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
..
rom add MACRO to get flash pad number from efuse value 2016-09-12 17:47:50 +08:00
soc add comments to register read/write operations 2016-09-12 17:47:50 +08:00
xtensa Initial public version 2016-08-17 23:08:22 +08:00
esp_attr.h components/esp32: fix DRAM_ATTR attribute 2016-08-24 17:20:00 +08:00
esp_err.h components/esp32: add inter-processor call API and implement spi_flash through it 2016-09-12 18:54:45 +08:00
esp_event.h tcpip_adapter: typedef clean up 2016-09-06 19:36:03 +08:00
esp_intr.h header files: modify rom code and soc header files 2016-09-12 17:47:49 +08:00
esp_ipc.h components/esp32,spi_flash: update some comments 2016-09-12 20:02:51 +08:00
esp_ssc.h Initial public version 2016-08-17 23:08:22 +08:00
esp_system.h system api: clean unsupported system apis 2016-08-26 19:06:38 +08:00
esp_types.h Initial public version 2016-08-17 23:08:22 +08:00
esp_wifi.h Change the enum of wifi_storage_t to be the same as that in wifi lib. 2016-09-12 11:38:13 +08:00
esp_wps.h Initial public version 2016-08-17 23:08:22 +08:00