How to change the FLASH size in the linker script? #19
-
Hi, I have a program for the ch32v003 but the linker step fail because it uses too much space on FLASH:
I would like to temporarily increase the FLASH section in the linker script in order to have my binary built, I will then be able to investigate what part is taking too much space with cargo-bloat. I would like to provide a custom Because all the ch32v003 variants have the same memory, I cannot switch my feature flag to another variant. Changing the family changes the qingke model to another version and the implementation is different (delay for example). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Refer: https://github.com/ch32-rs/ch32-hal/blob/main/examples/ch32v203/build.rs |
Beta Was this translation helpful? Give feedback.
Refer: https://github.com/ch32-rs/ch32-hal/blob/main/examples/ch32v203/build.rs