mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
dd8843fec3
When not compiling bootloader, a spinlock will be used for reading or writing I2C internal devices/registers. When compiling for bootloader, no need to use any lock.
12 lines
458 B
Makefile
12 lines
458 B
Makefile
COMPONENT_SRCDIRS := . port/$(IDF_TARGET)
|
|
COMPONENT_ADD_INCLUDEDIRS := . include port/$(IDF_TARGET)/ include/soc port/$(IDF_TARGET)/private_include
|
|
COMPONENT_ADD_LDFRAGMENTS := linker.lf
|
|
|
|
port/$(IDF_TARGET)/rtc_clk.o: CFLAGS += -fno-jump-tables -fno-tree-switch-conversion
|
|
|
|
ifdef IS_BOOTLOADER_BUILD
|
|
COMPONENT_OBJEXCLUDE += clk_ctrl_os.o mac_addr.o sp_async_memcpy.o intr_alloc.o sleep_modes.o regi2c_ctrl.o
|
|
endif
|
|
|
|
COMPONENT_OBJEXCLUDE += esp_async_memcpy.o
|