dekuNukem / daytripper

Hide-My-Windows Laser Tripwire
MIT License
3.67k stars 170 forks source link

import firmware into Stem32CubeIDE or System Workbench #25

Closed robvoi closed 3 years ago

robvoi commented 3 years ago

Hi. I would like to make a small change to the firmware. (3rd option not a custom option but alt+F4) First time with stm32 though. I am struggling to import the project into STM32CubeIDE. Can you give me a hint on how to correctly import?

Depending on the method I try I either end up with the build option greyed out or with a compile error (result too big for chip memory).

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 regionFLASH' 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.

I don't get what I am doing wrong - any help would be appreciated.

robvoi commented 3 years ago

Think I solved it with Keil IDE. Close it for now.