components/esp32,bootloader: fix build

esp32: use new register name in cpu_start
bootloader: EXTRA_CFLAGS don't work any more, set global CFLAGS in Makefile.projbuild
This commit is contained in:
Ivan Grokhotkov
2016-09-15 02:37:54 +08:00
parent 90e37d9eda
commit b0683b0bb4
3 changed files with 6 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ COMPONENTS := esptool_py bootloader log
# IS_BOOTLOADER_BUILD tells the component Makefile.projbuild to be a no-op
IS_BOOTLOADER_BUILD := 1
#We cannot include the esp32 component directly but we need its includes. This is fixed by
EXTRA_CFLAGS := -D BOOTLOADER_BUILD=1 -I $(IDF_PATH)/components/esp32/include
#We cannot include the esp32 component directly but we need its includes.
#This is fixed by adding CFLAGS from Makefile.projbuild
include $(IDF_PATH)/make/project.mk