Search found 14176 matches

by Giovanni
Wed Dec 07, 2022 6:18 am
Forum: STM32 Support
Topic: How to use STM32L152 COMP
Replies: 3
Views: 52

Re: How to use STM32L152 COMP

Hi, Those are differences in ST headers naming, PR1 is exactly the same PR register. Look at this "fix" in stm32_exti.h: /* Handling differences in ST headers.*/ #if !defined(STM32H7XX) && !defined(STM32L4XX) && !defined(STM32L4XXP) && \ !defined(STM32G0XX) &&am...
by Giovanni
Tue Dec 06, 2022 8:11 am
Forum: STM32 Support
Topic: How to use STM32L152 COMP
Replies: 3
Views: 52

Re: How to use STM32L152 COMP

Hi, Now there is an STM32-specific helper driver under /os/hal/ports/STM32/LLD/EXTIv1 which also defines ISRs. Unfortunately the driver is not yet enabled on the L1 because it is in "do not touch legacy thing" mode... It should be simple to enable it if you want to give it a try, relevant ...
by Giovanni
Thu Dec 01, 2022 9:04 am
Forum: ChibiOS/HAL
Topic: New MCU support?
Replies: 4
Views: 231

Re: New MCU support?

You could try to use the STM32 port, it depends on how much it is really compatible. Probably not really that compatible.

Giovanni
by Giovanni
Wed Nov 30, 2022 7:44 am
Forum: ChibiOS/HAL
Topic: New MCU support?
Replies: 4
Views: 231

Re: New MCU support?

Hi,

Support for some clones is already present in community repository, you should check if it is one of those.

Giovanni
by Giovanni
Tue Nov 29, 2022 6:22 am
Forum: ChibiOS/RT
Topic: Can chibios' RT and ST's HAL be used together?
Replies: 3
Views: 317

Re: Can chibios' RT and ST's HAL be used together?

Hi,

If you remove HAL then the OS does nothing about initializing clocks, it is entirely up to you.

See the demo in /demos/various/RT-ARMCM4-GENERIC for an example of project without HAL, you may use it as a starting point.

Giovanni
by Giovanni
Fri Nov 25, 2022 11:51 am
Forum: ChibiOS/RT
Topic: Can chibios' RT and ST's HAL be used together?
Replies: 3
Views: 317

Re: Can chibios' RT and ST's HAL be used together?

Hi, RT can be used without our HAL no problems. I have never used the ST HAL but people have already used it with RT so it should be OK. I recommend to use ChibiOS startup files and makefiles so I would include ST source code on top of a ChibiOS-like project, not all of it, just the parts you need a...
by Giovanni
Wed Nov 23, 2022 7:36 pm
Forum: Development and Feedback
Topic: armv7/8-A simulator port
Replies: 1
Views: 215

Re: armv7/8-A simulator port

Hi, I don't have ARM Linux hosts but ARMv7a should be simple, ARMv8a I have no idea frankly, never touched that. Anyway the only asm code required is the switch routine: push all function-saved registers, switch stack, pop all function-saved registers, the rest of simulator files would be exactly th...
by Giovanni
Sun Nov 20, 2022 10:39 am
Forum: Small Change Requests
Topic: STM32F401CCU6 board
Replies: 2
Views: 2295

Re: STM32F401CCU6 board

Hi,

The board files have been created manually, the XML definition is not present in your repository.

Giovanni
by Giovanni
Sun Nov 20, 2022 10:36 am
Forum: Small Change Requests
Topic: Check for and expose maximum (DMA) transfer size Topic is solved
Replies: 1
Views: 213

Re: Check for and expose maximum (DMA) transfer size Topic is solved

Hi,

STM32 DMA drivers now export an STM32_DMA_MAX_TRANSFER definition. Removed the constant from all SPI drivers.

Currently in trunk but will be ported back to 21.11.3.

Giovanni

Go to advanced search