Skip to content
Snippets Groups Projects
Commit 03461129 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Merge branch 'cherry-pick-59c30a4e' into 'dynamixel_manager'

Changed the pins of the non-rempad serial port for the F1 family.

See merge request !4
parents 03a13ccf 7f522d76
No related branches found
No related tags found
2 merge requests!6Dynamixel manager,!4Changed the pins of the non-rempad serial port for the F1 family.
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
#define USART_IRQn USART1_IRQn #define USART_IRQn USART1_IRQn
#define USART_IRQHandler USART1_IRQHandler #define USART_IRQHandler USART1_IRQHandler
#define USART_TX_PIN GPIO_PIN_6 #define USART_TX_PIN GPIO_PIN_9
#define USART_TX_GPIO_PORT GPIOB #define USART_TX_GPIO_PORT GPIOA
#define USART_ENABLE_TX_GPIO_CLK __HAL_RCC_GPIOB_CLK_ENABLE() #define USART_ENABLE_TX_GPIO_CLK __HAL_RCC_GPIOA_CLK_ENABLE()
#define USART_RX_PIN GPIO_PIN_7 #define USART_RX_PIN GPIO_PIN_10
#define USART_RX_GPIO_PORT GPIOB #define USART_RX_GPIO_PORT GPIOA
#define USART_ENABLE_RX_GPIO_CLK __HAL_RCC_GPIOB_CLK_ENABLE() #define USART_ENABLE_RX_GPIO_CLK __HAL_RCC_GPIOA_CLK_ENABLE()
/* DMA configuration */ /* DMA configuration */
#define USART_DMA DMA1 #define USART_DMA DMA1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment