From d50ec662be943ffdaa6c05d1d5300347465bc1db Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Mon, 24 Apr 2023 14:43:56 +0300 Subject: [PATCH] arch/risc-v/esp32c3: Change the linker generated symbols from uint32_t to uint8_t * Signed-off-by: Petro Karashchenko --- arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c b/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c index fe11ebde8f..a404f25e7c 100644 --- a/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c +++ b/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c @@ -360,24 +360,24 @@ extern void btdm_deep_sleep_mem_deinit(void); extern void btdm_ble_power_down_dma_copy(bool copy); extern uint8_t btdm_sleep_clock_sync(void); -extern char _bss_start_btdm; -extern char _bss_end_btdm; -extern char _data_start_btdm; -extern char _data_end_btdm; -extern uint32_t _data_start_btdm_rom; -extern uint32_t _data_end_btdm_rom; +extern uint8_t _bss_start_btdm[]; +extern uint8_t _bss_end_btdm[]; +extern uint8_t _data_start_btdm[]; +extern uint8_t _data_end_btdm[]; +extern const uint32_t _data_start_btdm_rom; +extern const uint32_t _data_end_btdm_rom; -extern uint32_t _bt_bss_start; -extern uint32_t _bt_bss_end; -extern uint32_t _btdm_bss_start; -extern uint32_t _btdm_bss_end; -extern uint32_t _bt_data_start; -extern uint32_t _bt_data_end; -extern uint32_t _btdm_data_start; -extern uint32_t _btdm_data_end; +extern uint8_t _bt_bss_start[]; +extern uint8_t _bt_bss_end[]; +extern uint8_t _btdm_bss_start[]; +extern uint8_t _btdm_bss_end[]; +extern uint8_t _bt_data_start[]; +extern uint8_t _bt_data_end[]; +extern uint8_t _btdm_data_start[]; +extern uint8_t _btdm_data_end[]; -extern char _bt_tmp_bss_start; -extern char _bt_tmp_bss_end; +extern uint8_t _bt_tmp_bss_start[]; +extern uint8_t _bt_tmp_bss_end[]; /**************************************************************************** * Private Data