component.mk 687 B

123456789101112131415161718
  1. #
  2. # Component Makefile
  3. #
  4. ifdef CONFIG_FREERTOS_DEBUG_OCDAWARE
  5. COMPONENT_ADD_LDFLAGS += -Wl,--undefined=uxTopUsedPriority
  6. endif
  7. COMPONENT_ADD_INCLUDEDIRS := include include/esp_additions include/esp_additions/freertos port/xtensa/include
  8. COMPONENT_PRIV_INCLUDEDIRS := include/esp_additions include/esp_additions/freertos include/freertos port/xtensa/include/freertos port/xtensa port/priv_include .
  9. COMPONENT_SRCDIRS += port port/xtensa esp_additions/
  10. ifndef CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY
  11. COMPONENT_OBJEXCLUDE := xtensa/xtensa_loadstore_handler.o
  12. endif
  13. tasks.o event_groups.o timers.o queue.o: CFLAGS += -D_ESP_FREERTOS_INTERNAL
  14. COMPONENT_ADD_LDFRAGMENTS += linker.lf