Search found 4 matches
- Thu Nov 23, 2023 9:06 am
- Forum: General discussion
- Topic: Any inline assembler tutorial?
- Replies: 5
- Views: 8337
Re: Any inline assembler tutorial?
I've written assembler, but try to avoid it if I can. If what you want is optimizing c source, what I do is compile with the '-S' option. After compilation you then have the gcc assembler output. $ arm-none-eabi-gcc -S ftoa.c $ ls -l ftoa.* -rw-rw-r-- 1 koen koen 9670 Nov 23 07:11 ftoa.c -rw-rw-r-- ...
- Tue Nov 21, 2023 12:59 pm
- Forum: General discussion
- Topic: Converting float to string
- Replies: 0
- Views: 17554
Converting float to string
FYI. FloatToString , a library to convert float to String. small. about 2 to 3 kbyte. Checks for buffer overflows fast. Does not use float or double. It's all integer math and table lookups. plain C, no dependencies c++ wrapper for Arduino If you're feeling adventurous, patches for print() and parse...
- Fri Apr 30, 2021 10:05 am
- Forum: IDE's
- Topic: Arduino IDE 2.0
- Replies: 18
- Views: 13052
Re: Arduino IDE 2.0
fyi: an early build of arduino-ide 2 on raspberry pi os 64bit, and an stm32 board support package. Home directory on usb external disk recommended; home directory con internal sdcard can be painfully slow. I'm using this for a small blue pill project. No 32bit version. sorry. https://github.com/koen...
- Mon May 18, 2020 8:55 am
- Forum: Black Magic Probe & other
- Topic: semihosting and serialwireoutput
- Replies: 1
- Views: 11654
semihosting and serialwireoutput
Two libraries, handy when debugging an stm32duino: With Serial Wire Output (SWO) an stm32duino can write tracing and logging to a pc at high speed. With semihosting an stm32duino can do keyboard input, screen output, and file I/O on the pc where the debugger is running. For these libraries to work, ...