mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
build system: Initial cmake support, work in progress
This commit is contained in:

committed by
Angus Gratton

parent
a538644560
commit
c671a0c3eb
9
components/bootloader_support/CMakeLists.txt
Normal file
9
components/bootloader_support/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
set(COMPONENT_SRCDIRS "src")
|
||||
|
||||
if(${BOOTLOADER_BUILD})
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "include include_priv")
|
||||
else()
|
||||
set(COMPONENT_PRIV_INCLUDEDIRS "include_priv")
|
||||
endif()
|
||||
|
||||
register_component()
|
@@ -17,7 +17,9 @@
|
||||
#include <stdbool.h>
|
||||
#include "esp_attr.h"
|
||||
#include "esp_err.h"
|
||||
#ifndef BOOTLOADER_BUILD
|
||||
#include "esp_spi_flash.h"
|
||||
#endif
|
||||
#include "soc/efuse_reg.h"
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user