I'm trying to generate a single DFU file to use wuth the onboard DFU flashing method of a STM32F4xx MCU.
I want to create a DFU file which contains all elements, such as bootloader, DCT and application.
I have previous, with success, generated DFU files containing DCT and application, so my objective now is to add the bootloader at the front. But my problem comes when I go into the build folder and determines that my bootloader file (bootloader-NoOS-NoNS-STM32F427-SDIO.bin) is 128MB . What is happening here ?
Try a make "clean" and it will remove any unnecessary files. Did you add any additional drivers? That might pull in some other libraries it uses and bloat up the bootloader as well. You can check the resource allocation of the bootloader in /build/bootloader.log. Hope this helps.