Search found 13876 matches

by Giovanni
Sat Jan 22, 2022 2:55 pm
Forum: STM32 Support
Topic: STM32G0 Support
Replies: 10
Views: 1798

Re: STM32G0 Support

Hi,

You mean adding an high level API for PD? it is possible but I have no idea of how such an API should look like, feel free to make a proposal.

BTW, there is some PD-related discussion ongoing on our public Discord server.

Giovanni
by Giovanni
Sat Jan 22, 2022 8:28 am
Forum: Bug Reports
Topic: Problems with shell on STM32F405 Topic is solved
Replies: 9
Views: 523

Re: Problems with shell on STM32F405 Topic is solved

Hi,

Fixed as bug #1214.

Giovanni
by Giovanni
Thu Jan 20, 2022 2:33 pm
Forum: ChibiOS/RT
Topic: chHeapAlloc with polymorphic classes
Replies: 4
Views: 83

Re: chHeapAlloc with polymorphic classes

Hi,

That function behaves just like malloc(), I doubt it causes polymorphism to break. You need to look elsewhere.

If in doubt then try to replace chHeapAlloc() with the pool allocator, make a pool of your objects and allocate from there.

Giovanni
by Giovanni
Thu Jan 13, 2022 3:24 pm
Forum: Development and Feedback
Topic: Simulator on Linux or Windows
Replies: 17
Views: 7791

Re: Simulator on Linux or Windows

Hi, On Ubuntu you need to add the 32bits development environment and it will work (I use it on Linux Mint). The demo opens 2 ports, connects on those using telnet and you will get shells, from there you can execute tests. Regressions tests are done by launching /test/rt/testbuild/go.sh. You need PC-...
by Giovanni
Thu Jan 13, 2022 8:45 am
Forum: ChibiOS/HAL
Topic: SPI problem with Chibios 21.11
Replies: 3
Views: 291

Re: SPI problem with Chibios 21.11

Please also check the SPI configuration structure, it is a bit different now, make sure to initialize fields by name not by position.

Giovanni
by Giovanni
Thu Jan 13, 2022 8:44 am
Forum: STM32 Support
Topic: CAN_BTR_LBKM flag Topic is solved
Replies: 7
Views: 303

Re: CAN_BTR_LBKM flag Topic is solved

Hi,

Dominant error can mean that the bus is kept at a fixed level. In my opinion there is some problem with GPIO settings or HW (wiring, driver).

Giovanni
by Giovanni
Wed Jan 12, 2022 10:09 pm
Forum: STM32 Support
Topic: CAN_BTR_LBKM flag Topic is solved
Replies: 7
Views: 303

Re: CAN_BTR_LBKM flag Topic is solved

Hi, you need to inspect the registers looking at the reference manual. The register should be OK unless something initialized it (the HAL does not touch it).

Giovanni
by Giovanni
Wed Jan 12, 2022 6:36 pm
Forum: ChibiOS/HAL
Topic: SPI problem with Chibios 21.11
Replies: 3
Views: 291

Re: SPI problem with Chibios 21.11

Hi,

I haven't tested the SPI_v2 driver with SD cards, it should be compatible with the old driver at API level. Is the SPI clock exactly the same? mcuconf.h probably changed.

Giovanni

Go to advanced search