We keep FreeRTOS in a clean submodule with no local changes1 and minimal duplication of its files in our own repo.
Our project is based on the espressif demo at amazon-freertos/demos/espressif/esp32_devkitc_esp_wrover_kit/
, so it may occasionally be necessary to bring over changes, in particular:
- Our
src/main.c
is based onamazon-freertos/demos/espressif/esp32_devkitc_esp_wrover_kit/common/application_code/main.c
. - Several files in our
make/
directory come fromamazon-freertos/demos/espressif/esp32_devkitc_esp_wrover_kit/make
.
Footnotes
-
Our
make/Makefile
renamesamazon-freertos/demos/espressif/esp32_devkitc_esp_wrover_kit/common/application_code/main.c
to exclude it (the demo app's main) from our build, in order for us to supply our own main. Hopefully upstream fixes this someday. ↩