ChibiOS-Contrib/os/hal/ports/SN32
dexter93 dd16d2583d sn32: usb hal cleanup (#42)
* import helper header

* seperate usb buf init

* move usb init in chibios driver
handle the address set in a more elegant way

* clean up some code
move through sn32_usb
use macros for ep dir

* handle the setup interrupt

* report back the frame no
wake up directly

* further deviate from usbhw.c
call registers directly
use chibios for reset
interrupt party time

* flag update

* switch n/ack to simple macros

* even more native

* bye sonix mess

* bring functions up to the docs

* usb stop, setup error handling

* further cleanup

remove dead code
cleanup headers
add missing connect/dc functionality
bring ep0 init to platform correct

* usb restart is now working

* attempt to fix wakeup

* no more delay on init

* fix the usb wakeup

* improve the wakeup

* make sure the direction is not set before init

* only mess with one ep

* need to enable the bus override too in order to control it

* driver block checks

* allow wakeup time override

* dynamic sram allocation

* remove useless ep naming

* testing: remove packet limits

* guard all i/o ops

* better wakeup/suspend handling

* remove dead code

* code cleanup

* make sure all ep's are handled
2022-03-03 13:23:14 +02:00
..
LLD sn32: usb hal cleanup (#42) 2022-03-03 13:23:14 +02:00
SN32F240 Centralize clocks handling for sn32f2xx (#38) 2022-02-12 13:54:53 +02:00
SN32F240B sn32: add watchdog driver (#41) 2022-03-03 13:09:56 +02:00
SN32F260 sn32: add watchdog driver (#41) 2022-03-03 13:09:56 +02:00