stmicro-stm32 icon indicating copy to clipboard operation
stmicro-stm32 copied to clipboard

STM32F303 HAL made working; added SPI 3-way / half-duplex / bidi mode

Open marnix opened this issue 2 years ago • 1 comments

See the commit texts for details.

Things I'd like to look at in the future:

  • Splitting up the one big file into separate files.
  • Looking at the other STM32 HALs, to make things consistent and extract common code.

Please note that I've tested this only with one piece of UART/SPI/I2C code (https://github.com/marnix/zig-stm32f3discovery-play/pull/31). I've tested this with Zig 0.11.0 and currently-latest ZigEmbeddedGroup/microzig 2873e9e0 + https://github.com/ZigEmbeddedGroup/microzig/pull/153 + https://github.com/ZigEmbeddedGroup/microzig/pull/152, and I didn't find any issues...

marnix avatar Oct 26 '23 19:10 marnix

I've set this to 'draft' again, until https://github.com/ZigEmbeddedGroup/stmicro-stm32/pull/31 has been merged to main.

marnix avatar Nov 06 '23 16:11 marnix