mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
173e001680
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.
10 lines
358 B
Makefile
10 lines
358 B
Makefile
COMPONENT_SRCDIRS := . port/$(IDF_TARGET)
|
|
COMPONENT_ADD_INCLUDEDIRS := . include include/soc port/$(IDF_TARGET)/ 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 regi2c_ctrl.o
|
|
endif
|