mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-07 13:28:48 +00:00
[fix][ble_pds] modify O2 to Os
This commit is contained in:
parent
b83e522607
commit
4b4e4c9544
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
list(APPEND GLOBAL_C_FLAGS -fshort-enums)
|
||||
list(REMOVE_ITEM GLOBAL_C_FLAGS -O2)
|
||||
list(APPEND GLOBAL_C_FLAGS -Os)
|
||||
set(BSP_COMMON_DIR ${CMAKE_SOURCE_DIR}/bsp/bsp_common)
|
||||
set(TARGET_REQUIRED_SRCS
|
||||
${CMAKE_CURRENT_LIST_DIR}/ble_peripheral_tp_server.c
|
||||
|
@ -7,4 +10,3 @@ set(mains main.c)
|
|||
set(LINKER_SCRIPT ${CMAKE_SOURCE_DIR}/examples/ble/bl702_flash_ble_pds.ld)
|
||||
generate_bin()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue