mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8d1f243bff
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.
13 lines
310 B
Makefile
13 lines
310 B
Makefile
SOC_NAME := $(IDF_TARGET)
|
|
|
|
COMPONENT_SRCDIRS := $(SOC_NAME) src src/hal
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := $(SOC_NAME) $(SOC_NAME)/include include
|
|
|
|
-include $(COMPONENT_PATH)/$(SOC_NAME)/component.mk
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
|
|
|
ifdef IS_BOOTLOADER_BUILD
|
|
COMPONENT_OBJEXCLUDE += src/regi2c_ctrl.o
|
|
endif
|