https://github.com/knielsen/Arduino_Cor ... leo-f302r8
It is partly based on NUCLEO-F303RE, which is quite similar. The NUCLEO-F302R8 devboard PCB is identical, just with a few solder bridges remapping pins D11-D13. The STM32F302x8 seems also quite similar to STM32F3xE, just with less ram/flash/peripherals.
One thing I was not sure about is the SS1/SS2/SS3 #defines in variant.h:
Code: Select all
#define SS1 4 #define SS2 7 #define SS3 8
Are they supposed to be hardware slave-select pins for SPI1/SPI2/SPI3? The STM32F302R8 has no SPI1 (only SPI2/SPI3), so should SS1 be left undefined?
(If someone wants to test this on a NUCLEO-F302R8 I will be happy to help with / fix any issues; just be warned that I have not tested much myself yet.)