OVMS3-idf/components/esp32
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
..
include Merge branch 'feature/dualcore_spi_flash_api' into 'master' 2016-09-13 13:58:54 +08:00
ld header files: modify rom code and soc header files 2016-09-12 17:47:49 +08:00
lib@e793e8ac04 esp32/lib: Bump WiFi revision 2016-09-12 19:32:05 +08:00
abi.cpp Initial public version 2016-08-17 23:08:22 +08:00
component.mk Name component makefiles component.mk instead of Makefile 2016-09-08 13:41:19 +10:00
cpu_start.c components/esp32,spi_flash: update some comments 2016-09-12 20:02:51 +08:00
event.c event: not post got ip event if static is invalid 2016-09-06 19:36:03 +08:00
heap_alloc_caps.c mem: add comments for knock out 0x3ffe0000~0x3ffe8000 2016-08-25 11:59:29 +08:00
heap_alloc_caps.h Initial public version 2016-08-17 23:08:22 +08:00
ipc.c components/esp32: add inter-processor call API and implement spi_flash through it 2016-09-12 18:54:45 +08:00
Kconfig components/esp32: remove dependency of WIFI_ENABLED on FREERTOS_UNICORE 2016-09-12 19:53:38 +08:00
libhal.a Initial public version 2016-08-17 23:08:22 +08:00
spiram.h Initial public version 2016-08-17 23:08:22 +08:00
syscalls.c esp32: modify realloc behaves just like malloc when pass a null pointer for ptr. 2016-09-09 15:06:56 +10:00
wifi.c components: esp32 2016-09-02 11:16:37 +10:00