Search found 655 matches

by RoccoMarco
Thu Mar 14, 2024 9:08 am
Forum: STM32 Support
Topic: printf, sprintf, chprintf ?
Replies: 8
Views: 7889

Re: printf, sprintf, chprintf ?

Posting to this thread for future memory.

A detailed article about the matter is now available here
by RoccoMarco
Sat Mar 02, 2024 4:51 pm
Forum: STM32 Support
Topic: chprintf()- how to? Topic is solved
Replies: 5
Views: 518

Re: chprintf()- how to? Topic is solved

Hello DaRho,
I finally published the article.
Formatting Strings with chprintf in ChibiOS
by RoccoMarco
Mon Feb 26, 2024 10:39 am
Forum: STM32 Support
Topic: chprintf()- how to? Topic is solved
Replies: 5
Views: 518

Re: chprintf()- how to? Topic is solved

Hello DaRho, no, it is not that obvious, and this is why I am writing an article on it (almost there). I am going to quote a piece of it "Unlike standard HAL library functions that are included automatically, chprintf must be explicitly integrated into your project. This typically requires addi...
by RoccoMarco
Sun Feb 25, 2024 10:01 am
Forum: STM32 Support
Topic: chprintf()- how to? Topic is solved
Replies: 5
Views: 518

Re: chprintf()- how to? Topic is solved

Hello Darho,
I see a couple of problems.
  1. Stings in C need to be wrapped with " and not '
  2. You need to include streams.mk in the makefile

This article, despite being old, should still provide some reference. I am rewriting it right now.
by RoccoMarco
Wed Sep 06, 2023 12:44 pm
Forum: STM32 Support
Topic: Zero compass values in I2C-LSM303DLHC example
Replies: 10
Views: 1773

Re: Zero compass values in I2C-LSM303DLHC example

Hi Alexey,
thanks for the feedback. I will consider adding an API in the future that checks the device ID.
by RoccoMarco
Tue Sep 05, 2023 9:07 pm
Forum: STM32 Support
Topic: Zero compass values in I2C-LSM303DLHC example
Replies: 10
Views: 1773

Re: Zero compass values in I2C-LSM303DLHC example

Actually if you look into the demo for stm32f4 there is a demo for that mems. The part is supported, you just have to create a custom demo.
by RoccoMarco
Mon Sep 04, 2023 4:55 pm
Forum: STM32 Support
Topic: Zero compass values in I2C-LSM303DLHC example
Replies: 10
Views: 1773

Re: Zero compass values in I2C-LSM303DLHC example

Hi Alexey,
I am afraid the problem is that ST changed devices on the board. The board that you have looks pretty new to me and the documentation says:
LSM303DLHC or
LSM303AGR

I am afraid your board has the LSM303ASR and not the DLHC. Could you double-check?
by RoccoMarco
Fri Sep 01, 2023 1:37 pm
Forum: STM32 Support
Topic: Zero compass values in I2C-LSM303DLHC example
Replies: 10
Views: 1773

Re: Zero compass values in I2C-LSM303DLHC example

Hi Alexey,
I am not having a Discovery F3 with me right now. I will open a ticket and look into it as soon as I get my hand on the board.

What revision of F3 are you using?
by RoccoMarco
Sat Mar 25, 2023 9:32 am
Forum: General Support
Topic: Deugging ChibiOS application
Replies: 5
Views: 1912

Re: Deugging ChibiOS application

Hi steved, thanks for mentioning Og. I did not look into these options thoroughly. I will do this when I will rework the debugging guide. Thanks ptihanyi, I can assure indeed that PLAY Embedded takes a lot of my time but is a very rewarding activity. I am very open to ideas an suggestions Connect wi...
by RoccoMarco
Sun Mar 19, 2023 1:26 pm
Forum: General Support
Topic: Deugging ChibiOS application
Replies: 5
Views: 1912

Re: Deugging ChibiOS application

Hi Ptihanyi,
as Giovanni mentioned, I wrote a guide on PLAY Embedded. I am planning to update it but it still provides a great reference
Debuggin on STM32 with ChibiStudio

If you end to read it, please provide feedback so that I can revise it for the better.

Go to advanced search