diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-19 22:12:31 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-19 22:12:31 +0200 |
commit | ed1c1efa7aee67d36a37212c13998318f02c4350 (patch) | |
tree | 7cb644f5764620b2fa79320c027f5eea88d8b41f /stm32f091/setup.h | |
parent | aab4ed17b94f54813368201d3a0cba3f3d432589 (diff) |
moved constants around
Diffstat (limited to 'stm32f091/setup.h')
-rw-r--r-- | stm32f091/setup.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/stm32f091/setup.h b/stm32f091/setup.h index 8ca3720..04fa177 100644 --- a/stm32f091/setup.h +++ b/stm32f091/setup.h @@ -4,20 +4,7 @@ #include <stm32f0xx_hal_i2c.h> #include <stm32f0xx_hal_uart.h> -#define WS_PINOUT_I2C_SDA_PIN GPIO_PIN_9 -#define WS_PINOUT_I2C_SDA_PORT GPIOB -#define WS_PINOUT_I2C_SCL_PIN GPIO_PIN_8 -#define WS_PINOUT_I2C_SCL_PORT GPIOB - -#define WS_PINOUT_USART1_RX_PIN GPIO_PIN_10 -#define WS_PINOUT_USART1_RX_PORT GPIOA -#define WS_PINOUT_USART1_TX_PIN GPIO_PIN_9 -#define WS_PINOUT_USART1_TX_PORT GPIOA - -#define WS_PINOUT_USART2_RX_PIN GPIO_PIN_3 -#define WS_PINOUT_USART2_RX_PORT GPIOA -#define WS_PINOUT_USART2_TX_PIN GPIO_PIN_2 -#define WS_PINOUT_USART2_TX_PORT GPIOA +#include "consts.h" extern I2C_HandleTypeDef hi2c1; extern UART_HandleTypeDef huart1; |