File tree 4 files changed +20
-4
lines changed
feather_stm32f405_express 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 25
25
*/
26
26
27
27
#include "boards/board.h"
28
+ #include "mpconfigboard.h"
28
29
29
30
void board_init (void ) {
30
31
}
31
32
32
33
bool board_requests_safe_mode (void ) {
33
- return false;
34
+ return false;
34
35
}
35
36
36
37
void reset_board (void ) {
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Glenn Ruben Bakke
7
- * Copyright (c) 2018 Dan Halbert for Adafruit Industries
6
+ * Copyright (c) 2019 Lucian Copeland for Adafruit Industries
8
7
*
9
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
10
9
* of this software and associated documentation files (the "Software"), to deal
41
40
#define SPI_FLASH_MISO_PIN &pin_PB04
42
41
#define SPI_FLASH_SCK_PIN &pin_PB03
43
42
#define SPI_FLASH_CS_PIN &pin_PA15
43
+
44
+ #define DEFAULT_I2C_BUS_SCL (&pin_PB06)
45
+ #define DEFAULT_I2C_BUS_SDA (&pin_PB07)
46
+
47
+ #define DEFAULT_SPI_BUS_SCK (&pin_PB13)
48
+ #define DEFAULT_SPI_BUS_MOSI (&pin_PB15)
49
+ #define DEFAULT_SPI_BUS_MISO (&pin_PB14)
50
+
51
+ #define DEFAULT_UART_BUS_RX (&pin_PB11)
52
+ #define DEFAULT_UART_BUS_TX (&pin_PB10)
Original file line number Diff line number Diff line change 34
34
#define FLASH_PAGE_SIZE (0x4000)
35
35
36
36
#define AUTORESET_DELAY_MS 500
37
- #define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000)
37
+ #define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000)
38
+
39
+
40
+ #define DEFAULT_I2C_BUS_SCL (&pin_PB06)
41
+ #define DEFAULT_I2C_BUS_SDA (&pin_PB07)
Original file line number Diff line number Diff line change 36
36
#define AUTORESET_DELAY_MS 500
37
37
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000)
38
38
39
+ #define DEFAULT_I2C_BUS_SCL (&pin_PB10)
40
+ #define DEFAULT_I2C_BUS_SDA (&pin_PB09)
You can’t perform that action at this time.
0 commit comments