Skip to content

Commit 9d4c95d

Browse files
committed
Revert "Add default defines"
This reverts commit 15d8d88.
1 parent 15d8d88 commit 9d4c95d

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

ports/stm32f4/boards/feather_stm32f405_express/board.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@
2525
*/
2626

2727
#include "boards/board.h"
28-
#include "mpconfigboard.h"
2928

3029
void board_init(void) {
3130
}
3231

3332
bool board_requests_safe_mode(void) {
34-
return false;
33+
return false;
3534
}
3635

3736
void reset_board(void) {

ports/stm32f4/boards/feather_stm32f405_express/mpconfigboard.h

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
*
44
* The MIT License (MIT)
55
*
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
78
*
89
* Permission is hereby granted, free of charge, to any person obtaining a copy
910
* of this software and associated documentation files (the "Software"), to deal
@@ -40,13 +41,3 @@
4041
#define SPI_FLASH_MISO_PIN &pin_PB04
4142
#define SPI_FLASH_SCK_PIN &pin_PB03
4243
#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)

ports/stm32f4/boards/pyboard_v11/mpconfigboard.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,4 @@
3434
#define FLASH_PAGE_SIZE (0x4000)
3535

3636
#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)

ports/stm32f4/boards/stm32f412zg_discovery/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,3 @@
3636
#define AUTORESET_DELAY_MS 500
3737
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000)
3838

39-
#define DEFAULT_I2C_BUS_SCL (&pin_PB10)
40-
#define DEFAULT_I2C_BUS_SDA (&pin_PB09)

0 commit comments

Comments
 (0)