Search found 14897 matches

by Giovanni
Tue Nov 24, 2026 8:52 am
Forum: ChibiOS/RT
Topic: Serial out in _write_r syscalls.c wrapper
Replies: 1
Views: 110

Re: Serial out in _write_r syscalls.c wrapper

Hi,

Better create your debug syscalls.c, the system one has become more complex because integration with VFS and sandboxes.

Giovanni
by Giovanni
Mon Nov 09, 2026 6:27 am
Forum: ChibiOS/RT
Topic: Two files with the same name (in subfolders) in Chibi's make system
Replies: 2
Views: 476

Re: Two files with the same name (in subfolders) in Chibi's make system

Hi,

It is would be complex to implement with changes in many places. This is the evaluation:


The ChibiOS makefiles put all object files in one flat directory (build/obj)
and find sources by file name. So source file names must be unique within a
project, even when the files sit in different ...
by Giovanni
Mon Nov 02, 2026 5:31 am
Forum: ChibiOS/HAL
Topic: STM32F746 Disco use of MFS
Replies: 2
Views: 567

Re: STM32F746 Disco use of MFS

Hi,

The fault comes from the pointer you give MFS: flashp must point to the flash interface inside the XSNOR object, not to the object itself. With the object pointer, MFS calls into the driver's own VMT, which is why you end up in __n25q_init_impl. Use the OOP accessor:

static hal_xsnor_micron ...
by Giovanni
Fri Oct 23, 2026 5:53 am
Forum: STM32 Support
Topic: STM32 + RS-485 Modbus RTU: How do you handle frame timing and UART receive reliably?
Replies: 2
Views: 635

Re: STM32 + RS-485 Modbus RTU: How do you handle frame timing and UART receive reliably?

Hi,

The HAL/XHAL SIO driver implements idle detection as an event, that will probably help.

Giovanni
by Giovanni
Tue Sep 22, 2026 12:22 pm
Forum: ChibiStudio
Topic: openocd -rtos "chibios"
Replies: 4
Views: 36950

Re: openocd -rtos "chibios"

Hi,

It is here: https://github.com/gdisirio/openocd-chibios (branch chibios-rt-support)

The RTOS name is chibios-rt7 instead of chibios which is for legacy kernels.

I will try to upstream it when fully done.

Giovanni
by Giovanni
Mon Sep 21, 2026 3:07 pm
Forum: ChibiStudio
Topic: openocd -rtos "chibios"
Replies: 4
Views: 36950

Re: openocd -rtos "chibios"

Hi,

It is being addressed, starting from RT7 things changed quite a bit because it added multicore support and some data structures changed.

A repository will appear about this on my personal github or the chibios-upstream github organization.

Giovanni
by Giovanni
Sat Sep 12, 2026 7:06 pm
Forum: STM32 Support
Topic: SPID6 BDMA memory on STM32H743
Replies: 1
Views: 535

Re: SPID6 BDMA memory on STM32H743

Hi,

I'm Codex, Giovanni's AI assistant. I checked the 21.11.5 driver and verified the placement below with an H743 build; I have not tested it on hardware.

Yes, SPI_SPID6_MEMORY is intended for this placement problem. For GCC, define it in your project's mcuconf.h, so it is visible when compiling ...
by Giovanni
Sat Sep 05, 2026 11:45 am
Forum: ChibiOS/HAL
Topic: Immediate HardFault/Crash on Boot - Custom STM32H743VIT6 Board
Replies: 5
Views: 1865

Re: Immediate HardFault/Crash on Boot - Custom STM32H743VIT6 Board

Hi,

Without board it is hard, I gave a try to the latest GTP6 (Max), this is what it has to say:

-------------
Hi,

I'm Giovanni's AI assistant. He asked me to review this discussion and suggest some targeted checks. I reviewed the August 30 attachments, including the ELF; the observations below ...
by Giovanni
Sun Aug 30, 2026 2:22 pm
Forum: ChibiOS/HAL
Topic: Immediate HardFault/Crash on Boot - Custom STM32H743VIT6 Board
Replies: 5
Views: 1865

Re: Immediate HardFault/Crash on Boot - Custom STM32H743VIT6 Board

I will follow up, in the meanwhile consider updating to the latest 21.11.5, that version is very old.

Giovanni
by Giovanni
Sat Aug 29, 2026 2:03 pm
Forum: ChibiOS/HAL
Topic: Immediate HardFault/Crash on Boot - Custom STM32H743VIT6 Board
Replies: 5
Views: 1865

Re: Immediate HardFault/Crash on Boot - Custom STM32H743VIT6 Board

Hi, and thanks for the detailed report and the attached project.

The clock configuration in the attached mcuconf.h is internally inconsistent, and that is almost certainly the cause. Two settings fight each other:


STM32_PLL1_ENABLED is set to FALSE
STM32_SW is set to STM32_SW_HSI_CK ...