Cosmic Pi variant of the STM32/Arduino core
Put this in and restart arduino /home/$user/.arduino15/packages/STM32/hardware/stm32/1.5.0/variants/COSMICPI
Pinout list: /*
- PA0 - Pin 14 - Shaped Signal 1
- PA1 - Pin 15 - Shaped Signal 2
- PA2 - Pin 16 - TX0
- PA3 - Pin 16 - RX0
- PA4 - Pin 20 - LED1 - Power/GPS
- PA5 - Pin 21 - LED2 - Event
- PA6 - Pin 22 - Injection leds
- PA7 - Pin 23 - Bias FB1
- PA8 - Pin 41 - SCL_Slave
- PA9 - Pin 42 - USB_OTG_VBUS
- PA10 - Pin 43 - GPSTX
- PA11 - Pin 44 - USBOTG DM
- PA12 - Pin 45 - USBOTG DP
- PA13 - Pin 46 - SWDIO
- PA14 - Pin 49 - SWCLK
- PA15 - Pin 50 - GPSPPS Input
- PB0 - Pin 26 - Bias FB2
- PB1 - Pin 27 - Flag to RPi
- PB2 Pin 28 - NC
- PB 3 - Pin 55 - NC
- PB4 - Pin 56 - SDA_Slave
- PB5 - Pin 57 - NC
- PB6 - Pin 58 - GPSRX
- PB7 - Pin 59 - SDA0
- PB8 - Pin 61 - SCL0
- PB9 - Pin 62 - NC
- PB10 - Pin 29 - Trigout (input to STM)
- PB12 - Pin 33 - NC
- PB13 - Pin 34 0 HVPSU SCLK (Clock to MAX1932)
- PB14, PB15 - NC
- PC0 - Pin 8 - NC
- PC1 - Pin 9 - HVPSU CL1
- PC2 - Pin 10 - HVPSU CL2
- PC3 - Pin 11 - HV PSU DIN
- PC4, PC5, PC6- NC
- PC7 - Pin 38 - HVPSU CS2
- PC8 - Pin 39 - HVPSU CS1
- PC9 - Pin 40 - Mag Interrupt
- PC10 - Pin 51 - NC
- PC11 - Pin 52 - STRIGOUT B
- PC12 - Pin 53 - STRIGOUT A
- PC13 - Pin 2 - Baro Int
- PC14 - Pin 3 - Accelint 1
- PC15 - Pin 4 - Accelint 2.
*/