File tree Expand file tree Collapse file tree 4 files changed +4
-20
lines changed
feather_stm32f405_express Expand file tree Collapse file tree 4 files changed +4
-20
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"
29
28
30
29
void board_init (void ) {
31
30
}
32
31
33
32
bool board_requests_safe_mode (void ) {
34
- return false;
33
+ return false;
35
34
}
36
35
37
36
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) 2019 Lucian Copeland for Adafruit Industries
6
+ * Copyright (c) 2016 Glenn Ruben Bakke
7
+ * Copyright (c) 2018 Dan Halbert for Adafruit Industries
7
8
*
8
9
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
10
* of this software and associated documentation files (the "Software"), to deal
40
41
#define SPI_FLASH_MISO_PIN &pin_PB04
41
42
#define SPI_FLASH_SCK_PIN &pin_PB03
42
43
#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)
38
-
39
-
40
- #define DEFAULT_I2C_BUS_SCL (&pin_PB06)
41
- #define DEFAULT_I2C_BUS_SDA (&pin_PB07)
37
+ #define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000)
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