struggling to import project
Hi.
I would like to make a small change to this firmware: https://github.com/dekuNukem/daytripper/tree/master/firmware/code/rx
First time with stm32 though.
I am struggling to import the project into System workbench. Can you give me a hint on how to correctly import?
I tried all kinds of approaches. Too many to list all errors/failures here.
Including the one here: https://www.openstm32.org/Importing%2Ba%2BSTCubeMX%2Bgenerated%2Bproject
There I end up with the build option greyed out.
When I import as “existing STMCube file” and replace src&inc I end up with:
c:\st\stm32cubeide_1.5.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: rx.elf section .text’ will not fit in region FLASH’
c:\st\stm32cubeide_1.5.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: region `FLASH’ overflowed by 8204 bytes
collect2.exe: error: ld returned 1 exit status
make: *** makefile:60: rx.elf Error 1
“make -j8 all” terminated with exit code 2. Build might be incomplete.
So this basically seems to work. I don’t get why I end up with a too big image. The code is made for this MCU and has been compiled for it before. So I guess the error is on my side with importing the project.
Help would be very much appreciated.