Skip to content

Commit 80dfe25

Browse files
committed
espressif: fix build if hal_espressif is used as HAL layer for Espressif Port
Signed-off-by: Almir Okato <[email protected]>
1 parent 2bc36d0 commit 80dfe25

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

boot/espressif/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ endif()
1313

1414
add_definitions(-DMCUBOOT_TARGET=${MCUBOOT_TARGET})
1515
add_definitions(-D__ESPRESSIF__=1)
16+
add_definitions(-DCONFIG_MCUBOOT_ESPRESSIF=1)
1617

17-
set(EXPECTED_IDF_HAL_VERSION "5.1.4")
18+
set(EXPECTED_IDF_HAL_VERSION "5.1.6")
1819

1920
if ("${MCUBOOT_TARGET}" STREQUAL "esp32" OR
2021
"${MCUBOOT_TARGET}" STREQUAL "esp32s2" OR

boot/espressif/hal/include/stubs.h

Whitespace-only changes.

boot/espressif/hal/include/zephyr_compat.h

Whitespace-only changes.

0 commit comments

Comments
 (0)