xtensa: Add bare metal port stub functions for G0 build test

This commit adds "bare metal stubs" xtensa_rtos.h glue layer to mimic a bare
metal OS port. The bare metal stubs don't access any components outside of the
G0 group.
This commit is contained in:
Darian Leung
2023-04-10 23:48:29 +08:00
parent 5fde889a3d
commit 6587e75251
4 changed files with 308 additions and 0 deletions

View File

@@ -480,6 +480,11 @@ menu "FreeRTOS"
# Hidden or compatibility options
config FREERTOS_PORT
# This invisible config value indicates the FreeRTOS is selected as the current RTOS used by ESP-IDF
bool
default y
config FREERTOS_NO_AFFINITY
# This invisible config value sets the value of tskNO_AFFINITY in task.h.
# Intended to be used as a constant from other Kconfig files.