betaflight / betaflight-esc

Open source ESC firmware.
GNU General Public License v3.0
103 stars 40 forks source link

HAL Support #9

Closed xtr0d3m0n closed 6 years ago

xtr0d3m0n commented 6 years ago

Added HAL support.

Linjieqiang commented 6 years ago

Hey man...I just reviewed your WS2812 driver code.I want to add this feature in it but your code has much ASM code.Maybe you can port cleanflight or betaflight WS212 code in it because it is fully C code so we can read it easily.https://github.com/cleanflight/cleanflight/blob/master_v1.x/src/main/drivers/light_ws2811strip_stm32f10x.c and https://github.com/cleanflight/cleanflight/blob/master_v1.x/src/main/drivers/light_ws2811strip.c

xtr0d3m0n commented 6 years ago

Yeah asm arm stuff apparently not the best way.And now since the DMAs are available we could use BF code.I ll correct those.