Merge branch 'feature/build_system_multi_target' into 'master'

build system: support for multiple targets (CMake only)

See merge request idf/esp-idf!3499
This commit is contained in:
Ivan Grokhotkov
2018-11-12 15:30:36 +08:00
19 changed files with 291 additions and 104 deletions
+2
View File
@@ -1,3 +1,5 @@
require_idf_targets(esp32)
if(BOOTLOADER_BUILD)
# For bootloader, all we need from esp32 is headers
set(COMPONENT_ADD_INCLUDEDIRS include)
+6
View File
@@ -1,5 +1,11 @@
menu "ESP32-specific"
# Hidden option to support checking for this specific target in C code and Kconfig files
config IDF_TARGET_ESP32
bool
default "y" if IDF_TARGET="esp32"
default "n"
choice ESP32_DEFAULT_CPU_FREQ_MHZ
prompt "CPU frequency"
default ESP32_DEFAULT_CPU_FREQ_160