Open bricktopm opened 1 year ago
These are warnings rather then errors. Does that resulting binary work?
Clearly it would be nice to fix the warnings. The compiler warning looks like there is a bug there, although it is probably benign and the linker warnings will probably result in excessive code size (but if it fits into the available space it's not a problem).
Thank you for the quick response. I tried the compiled binary today.
When I flash the .elf or .bin file to the f103c8t6 controller(smart V2 board) I can see it in the (windows10) device manager as stomp dfu device. But I can't connect it via stm32 programmer USB mode, or with the Dfuse.
I tried to set the Boot0 to VCC, in this case the device manager is show as unknown device after the reset or reconnect usb port.
Hello, a cloned the project but I have in issue when send the make command in VSCODE. I can compile other project(ex.: Blynk) so my compiler is already installed. I use arm-none-eabi under MacOS.
this is what im getting:
$ git clone https://github.com/daniel-thompson/multistomp.git $make usbdfu.c: In function 'usbdfu_getstatus_complete': usbdfu.c:151:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 151 | flash_erase_page(*dat); | ^
~~~~~ usbdfu.c:153:25: note: here 153 | case CMD_SETADDR: | ^~~~ LD usbdfu.elf.........
signalr.c:(.text._kill_r+0xe): warning: _kill is not implemented and will always fail /Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc.a(libc_a-lseekr.o): in function
_lseek_r': lseekr.c:(.text._lseek_r+0x14): warning: _lseek is not implemented and will always fail /Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc.a(libc_a-readr.o): in function
_read_r': readr.c:(.text._read_r+0x14): warning: _read is not implemented and will always fail /Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc.a(libc_a-writer.o): in function `_write_r': writer.c:(.text._write_r+0x14): warning: _write is not implemented and will always failHave you got any idea?