Search found 38 matches

by MGeo
Sun Jan 28, 2024 10:50 am
Forum: General discussion
Topic: Any inline assembler tutorial?
Replies: 5
Views: 4509

Re: Any inline assembler tutorial?

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.
by MGeo
Sat Jan 27, 2024 11:33 am
Forum: General discussion
Topic: Support for 32-bit Windows?
Replies: 3
Views: 641

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-bi...
by MGeo
Fri Jan 26, 2024 10:01 am
Forum: General discussion
Topic: Building with CMake?
Replies: 3
Views: 699

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\\Lo...
by MGeo
Wed Jan 24, 2024 10:04 pm
Forum: General discussion
Topic: Building with CMake?
Replies: 3
Views: 699

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 instructions...
by MGeo
Thu Oct 20, 2022 10:48 am
Forum: General discussion
Topic: TinyUSB
Replies: 6
Views: 3285

Re: TinyUSB

Looks like F0, F1, F2, F3, F4, F7, H7, G4, L0, L1, L4, L5, U5, WB now included.
by MGeo
Sun Oct 10, 2021 1:35 pm
Forum: PR's bugs and enhancements
Topic: Release 2.1 breaks DWARF2 .elf debug?
Replies: 1
Views: 5023

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 ...
by MGeo
Sat Mar 27, 2021 12:57 pm
Forum: General discussion
Topic: Some problems about freeRTOS
Replies: 6
Views: 3802

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/STM32H7_D...
by MGeo
Sat Mar 27, 2021 8:23 am
Forum: General discussion
Topic: Some problems about freeRTOS
Replies: 6
Views: 3802

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://gi...
by MGeo
Thu Mar 25, 2021 9:40 pm
Forum: General discussion
Topic: Precompiled HAL/LL files possible?
Replies: 23
Views: 8876

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 Ubuntu a...
by MGeo
Thu Mar 25, 2021 8:08 am
Forum: General discussion
Topic: Precompiled HAL/LL files possible?
Replies: 23
Views: 8876

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).

Go to advanced search