File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed
components/bootloader_support_plus Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
# ChangeLog
2
2
3
+ ## v0.2.2 - 2023-12-12
4
+
5
+ ### Fix:
6
+
7
+ * Change wrap to be triggered only when the CONFIG_BOOTLOADER_COMPRESSED_ENABLED is enabled.
8
+
3
9
## v0.2.1 - 2023-04-23
4
10
5
11
### Fix:
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ set(srcs "src/bootloader_custom_image_format.c"
6
6
set (requires "bootloader" "bootloader_support" "spi_flash" )
7
7
8
8
if (BOOTLOADER_BUILD )
9
- list (APPEND srcs "src/bootloader_custom_malloc.c"
10
- "src/bootloader_decompressor_common.c"
9
+ list (APPEND srcs "src/bootloader_custom_malloc.c"
10
+ "src/bootloader_decompressor_common.c"
11
11
"src/bootloader_storage_flash.c" )
12
12
else ()
13
13
list (APPEND requires "app_update" "esp_partition" )
@@ -38,7 +38,9 @@ if(BOOTLOADER_BUILD)
38
38
target_linker_script (${COMPONENT_LIB} INTERFACE "ld/${CONFIG_IDF_TARGET} /linker.lf" )
39
39
endif ()
40
40
else ()
41
- target_link_libraries (${COMPONENT_LIB} INTERFACE "-Wl,--wrap=esp_ota_get_next_update_partition" )
41
+ if (CONFIG_BOOTLOADER_COMPRESSED_ENABLED )
42
+ target_link_libraries (${COMPONENT_LIB} INTERFACE "-Wl,--wrap=esp_ota_get_next_update_partition" )
43
+ endif ()
42
44
43
45
# Force app_update to also appear later than bootloader_support_plus in link line
44
46
idf_component_get_property (app_update app_update COMPONENT_LIB )
52
54
53
55
endif ()
54
56
55
- target_link_libraries (${COMPONENT_LIB} INTERFACE "-Wl,--wrap=esp_image_verify" )
57
+ if (CONFIG_BOOTLOADER_COMPRESSED_ENABLED )
58
+ target_link_libraries (${COMPONENT_LIB} INTERFACE "-Wl,--wrap=esp_image_verify" )
59
+ endif ()
56
60
57
61
include (package_manager )
58
- cu_pkg_define_version (${CMAKE_CURRENT_LIST_DIR} )
62
+ cu_pkg_define_version (${CMAKE_CURRENT_LIST_DIR} )
Original file line number Diff line number Diff line change 1
- version : " 0.2.1 "
1
+ version : " 0.2.2 "
2
2
targets :
3
3
- esp32c2
4
4
- esp32c3
@@ -13,4 +13,4 @@ dependencies:
13
13
cmake_utilities : " 0.*"
14
14
xz : " 1.*"
15
15
examples :
16
- - path : ../../examples/ota/simple_ota_example
16
+ - path : ../../examples/ota/simple_ota_example
You can’t perform that action at this time.
0 commit comments