HAL demo without RTOS

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: HAL demo without RTOS

Post by Giovanni »

Hi,

It depends on which driver you use. The USBv1 driver should pose no problems, the OTGv1 driver requires to execute a function as a thread, without an RTOS your main has to execute this function and your application could only use USB callbacks for other processing.

Giovanni
Exeland
Posts: 12
Joined: Sat Jun 06, 2015 4:33 pm

Re: HAL demo without RTOS

Post by Exeland »

I use STM32F401. So I need use OTGv1. I'll look it up in the source code . Thanks.
Post Reply