This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

large ro-data size with keil compiling

Hello

I am trying to compile a project for nRF25840 on a custom board. Build is succesfull but i am getting a 9mb ro-data on the output which means i cant flash it to the chip as it only has 1mb of ROM.  
Im using:

-uVision 5.33 with keil v5.06 update 7
-nRF SDK 15.2.0. 
-DeviceFamilyPack 8.38


any ideas what am i missing?

Tnx

Parents Reply
  • Hi. Thank you for a fast reply. I have enabled the linker listing and this is what i found in map file:

    .constdata                               0x0003f564   Section    9261485  u8g2_fonts.o(.constdata) 

    I have an oled display connected to the board and it looks like its a graphics library that takes so much space. I am fairly new to nRF and i got the project from a previous developer which is unresponsive. Do i have any options to reduce the size that this library takes? 


Children
Related