STMicroelectronics / STM32CubeWL

STM32Cube MCU Full FW Package for the STM32WL series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on boards provided by ST (Nucleo boards)
Other
103 stars 53 forks source link

STM32WL: In DualCore Firmware CM0PLUS binary size is too large #13

Closed PG430 closed 3 years ago

PG430 commented 3 years ago

Hello,

STM32WL dual core is using M0+ and M4. GIT release v1.0.0 has firmware for both. but when we compiled the M0+ "LoRaWAN_End_Node_DualCore" source binary size is unexpectedly too large Bin size: 393126Kb ELF size: 2588Kb Hex size: 196Kb

image

Now to reduce the size of binary i've made changes in .ld file,

image

after .ld file change, binary size is reduced in KB

image

ASELSTM commented 3 years ago

Hi @PG430,

Thank you for you contribution.

Please allow me to introduce @YoannBo who will comment your post and provide you with more details about this point.

With regards,

YoannBo commented 3 years ago

Hi @PG430,

You are right. This is implemented in the upcoming release (coming very soon),

thank you

PG430 commented 3 years ago

@YoannBo Thank you for the confirmation