It' might take some work. You end up having to learn ARM assembler and gcc's arcane inline syntax as well.
https://www.ibiblio.org/gferg/ldp/GCC-I ... HOWTO.html
This tool can be handy: https://godbolt.org/. Make sure to set the correct compiler.
Search found 38 matches
- Sun Jan 28, 2024 10:50 am
- Forum: General discussion
- Topic: Any inline assembler tutorial?
- Replies: 5
- Views: 16114
- Sat Jan 27, 2024 11:33 am
- Forum: General discussion
- Topic: Support for 32-bit Windows?
- Replies: 3
- Views: 3288
Re: Support for 32-bit Windows?
It looks like 2.5.0 was the version that moved from arm-none-eabi-gcc 10.3.1-2.3 to 12.2.1-1.2 https://github.com/stm32duino/Arduino_Core_STM32/pull/1944
https://github.com/stm32duino/Arduino_Core_STM32/releases
Might be time to migrate to 64 bit Win if your PC supports it.
Deprecation notices
32 ...
https://github.com/stm32duino/Arduino_Core_STM32/releases
Might be time to migrate to 64 bit Win if your PC supports it.
Deprecation notices
32 ...
- Fri Jan 26, 2024 10:01 am
- Forum: General discussion
- Topic: Building with CMake?
- Replies: 3
- Views: 2670
Re: Building with CMake?
Thanks. Installing arduino-cli and rerunning CMake gave the same error.
After more time on Google I came across this https://github.com/orgs/stm32duino/discussions/2063#discussioncomment-6414073
Where CMakeFile.txt line is edited to point to local install location.
file(REAL_PATH "~/AppData ...
After more time on Google I came across this https://github.com/orgs/stm32duino/discussions/2063#discussioncomment-6414073
Where CMakeFile.txt line is edited to point to local install location.
file(REAL_PATH "~/AppData ...
- Wed Jan 24, 2024 10:04 pm
- Forum: General discussion
- Topic: Building with CMake?
- Replies: 3
- Views: 2670
Building with CMake?
I've got Arduino IDE 1.8.19 with STM32Duino V2.7.1 installed, on Ubuntu 22.04.
I'd like to get CMake build up and running. I've downloaded CMake_workspace examples to my sketch folder. 1_Blink example compiles no problem in IDE using a NUCLEO_F401RE target.
Next, I've been following the ...
I'd like to get CMake build up and running. I've downloaded CMake_workspace examples to my sketch folder. 1_Blink example compiles no problem in IDE using a NUCLEO_F401RE target.
Next, I've been following the ...
- Thu Oct 20, 2022 10:48 am
- Forum: General discussion
- Topic: TinyUSB
- Replies: 6
- Views: 6370
Re: TinyUSB
Looks like F0, F1, F2, F3, F4, F7, H7, G4, L0, L1, L4, L5, U5, WB now included.
- Sun Oct 10, 2021 1:35 pm
- Forum: PR's bugs and enhancements
- Topic: Release 2.1 breaks DWARF2 .elf debug?
- Replies: 1
- Views: 13334
Release 2.1 breaks DWARF2 .elf debug?
After updating to v2.1 of STM32duino core, I'm getting "no DWARF2 info found" errors when attempting to debug .elf file compiled with -g option. This was with Segger Ozone on both Ubuntu 18.04 and Windows 10. Reverting to 2.0 fixes the issue.
Anyone else experiencing this? I'll have to do some ...
Anyone else experiencing this? I'll have to do some ...
- Sat Mar 27, 2021 12:57 pm
- Forum: General discussion
- Topic: Some problems about freeRTOS
- Replies: 6
- Views: 5925
Re: Some problems about freeRTOS
rtos alone would not solve that 'multi-core' problem. in effect for a real smp, you have one os (e.g. arduino core or rtos) thread running on each core of the mcu. it is a 'brave new world', it may not be surprising if we'd ever see 8 core or more duinos
A start?:
https://www.freertos.org ...
- Sat Mar 27, 2021 8:23 am
- Forum: General discussion
- Topic: Some problems about freeRTOS
- Replies: 6
- Views: 5925
Re: Some problems about freeRTOS
Some form of RTOS is essential to manage the complexity of these increasingly complex Arm cores, hardware debuggers too IMHO.
This guy Dave Nadler does a deep dive on newlib issues with FreeRTOS https://nadler.com/embedded/newlibAndFreeRTOS.html Not a pretty sight.
Fix was documented here https ...
This guy Dave Nadler does a deep dive on newlib issues with FreeRTOS https://nadler.com/embedded/newlibAndFreeRTOS.html Not a pretty sight.
Fix was documented here https ...
- Thu Mar 25, 2021 9:40 pm
- Forum: General discussion
- Topic: Precompiled HAL/LL files possible?
- Replies: 23
- Views: 17153
Re: Precompiled HAL/LL files possible?
I don't know. Anyway some of the drawback on Windows are the network access and the antivirus...
Hmm, I'm not sure that 'just use Linux because it decides to not worry about scanning for viruses' is a durable argument. It is certainly not an option in work environments. I do have dual boot ...
- Thu Mar 25, 2021 8:08 am
- Forum: General discussion
- Topic: Precompiled HAL/LL files possible?
- Replies: 23
- Views: 17153
Re: Precompiled HAL/LL files possible?
Thanks for the replies. I sounds like a smarter IDE with incremental build features could provide an improvement on a project by project basis (ie each quick and dirty test project will still drive a new folder / full rebuild).