I am trying to re-flash a proffie V2.2 with some bladestyle changes and changing some settings on the same OS, and whenever I try to upload the sketch in arduino it gives me this message and stops compiling right before it would have finished:
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe:C:\Users\Tristan\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 8 bytes
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 8 bytes
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Tristan\AppData\Local\Temp\arduino\sketches\5991EF05CFAA67269CA5B3B8F85B6A71/ProffieOS.ino.elf section `.text' will not fit in region `FLASH'
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 8 bytes
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 8 bytes
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 8 bytes
c:/users/tristan/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 9920 bytes
collect2.exe: error: ld returned 1 exit status
Update, Trying to reflash again to OS7.7 with a relatively similar config and now I am getting the compilation error:
In file included from C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\ProffieOS.ino:241:
C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\props\prop_base.h: In member function ‘size_t PropBase::FindBestConfig()’:
C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\props\prop_base.h:567:25: error: ‘blades’ was not declared in this scope; did you mean ‘bladepin’?
567 | static_assert(NELEM(blades) > 0, “blades array cannot be empty”);
| ^~~~~~
C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\common\common.h:18:26: note: in definition of macro ‘NELEM’
18 | #define NELEM(X) (sizeof(X)/sizeof((X)[0]))
| ^
In file included from C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\props\saber_fett263_buttons.h:928,
from C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\config\KOTAOS7_config.h:44,
from C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\ProffieOS.ino:626:
C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\props\prop_base.h: In member function ‘void PropBase::FindBlade()’:
C:\Users\Owner\Desktop\ProffieOS-v7.12\ProffieOS\props\prop_base.h:622:22: error: ‘blades’ was not declared in this scope; did you mean ‘bladepin’?
622 | current_config = blades + best_config;
| ^~~~~~
| bladepin
exit status 1
Compilation error: ‘blades’ was not declared in this scope; did you mean ‘bladepin’?
Thank you so much that helped with that issue, a simple oversight of mine I can’t believe I hadn’t noticed right in front of me lol, however now I am getting this error:
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe:C:\Users\Owner\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2’ not declared
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
Sketch uses 260624 bytes (99%) of program storage space. Maximum is 262144 bytes.
1
Cannot open DFU device 0483:df11
2
Cannot open DFU device 0483:df11
3
Cannot open DFU device 0483:df11
Cannot open DFU device 0483:df11
4
5
Cannot open DFU device 0483:df11
6
Cannot open DFU device 0483:df11
Cannot open DFU device 0483:df11
7
8
Cannot open DFU device 0483:df11
Cannot open DFU device 0483:df11
9
10
Cannot open DFU device 0483:df11
I made some changes to the config after some vibration issues and when trying to upload in arduino it crashed midway through like it sometimes will, however after several successful resets into bootloader mode and it showing up as stm32 in my devices arduino ovbiously doesnt see the port, but it is stuck on “com3” which is greyed out and cannot be changed no matter what I do, though I assumed that wouldn’t matter for forcing the upload after watching some tutorial videos. Now I am getting this error and the board simply wont take the upload anymore, and I’m at a loss here. This is the error message:
c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe:C:\Users\Owner\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region SRAM2' not declared c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Owner\AppData\Local\Temp\arduino\sketches\2CE7974781745793BC5718FA3424DB81/ProffieOS.ino.elf section .text’ will not fit in region FLASH' c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/owner/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: region FLASH’ overflowed by 2496 bytes
collect2.exe: error: ld returned 1 exit status