Skip to content

New board definition - Adafruit Feather STM32F405 #701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 18, 2019
Prev Previous commit
Next Next commit
add internal SPI for Flash memory
  • Loading branch information
ladyada committed Oct 15, 2019
commit 281a954f2afa697f3e960ac69effb84b39bf5fa7
7 changes: 6 additions & 1 deletion variants/FEATHER_F405/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ extern "C" {
#define PIN_SPI_SCK PB13
#define PIN_SPI_SS PA15

#define PIN_SPI1_MOSI PB5
#define PIN_SPI1_MISO PB4
#define PIN_SPI1_SCK PB3
#define PIN_SPI1_SS PA15

// I2C Definitions
#define PIN_WIRE_SDA PB7
#define PIN_WIRE_SCL PB6
Expand All @@ -133,7 +138,7 @@ extern "C" {

// UART Definitions
// Define here Serial instance number to map on Serial generic name
#define SERIAL_UART_INSTANCE 1 //ex: 2 for Serial2 (USART2)
#define SERIAL_UART_INSTANCE 3 //ex: 2 for Serial2 (USART2)
// DEBUG_UART could be redefined to print on another instance than 'Serial'
//#define DEBUG_UART ((USART_TypeDef *) U(S)ARTX) // ex: USART3
// DEBUG_UART baudrate, default: 9600 if not defined
Expand Down