How to configure more flash space for App on Thingy91

On the Thingy 91, the default configuration allocates a lot of flash space to several mcuboot partitions, leaving only 380kb for the app. 

I need more space for the app, so is there a way to reduce the amount needed by mcuboot?

I am only creating a demo, so I don't need a secure boot loader, and could make do with no boot loader at all if necessary.

I have tried disabling the MCU boot in the proj.conf but the default seems to override this.

What it is the proper way to do this?

Parents Reply
  • I tried that. It has no effect.

    It looks like the partitions are hard coded in the pm_static.yml file under: /nrf/boards/arm/thingy91_nrf9160/

    In the CMakeList.txt file this is set:

    set(PM_STATIC_YML_FILE ${CMAKE_CURRENT_LIST_DIR}/pm_static.yml CACHE INTERNAL "")

    I tried overriding the PM_STATIC variable to no effect as well.

    I suppose I could hack these files in the NRF source, but I wanted to see if there was a "proper" way to do this using the dynamic PM partitioning. 

Children
Related