component.mk 548 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 port/xtensa/include
  8. COMPONENT_PRIV_INCLUDEDIRS := include/freertos port/xtensa/include/freertos port/xtensa .
  9. COMPONENT_SRCDIRS += port port/xtensa
  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