mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Added CAN to ASEAG
This commit is contained in:
parent
e8f7261030
commit
8901abdb9c
@ -14,9 +14,10 @@
|
|||||||
|
|
||||||
#include <sta/devices/stm32/mcu/common.hpp>
|
#include <sta/devices/stm32/mcu/common.hpp>
|
||||||
|
|
||||||
// uart setup
|
// uart/CAN setup
|
||||||
#ifdef STA_STM32_ASEAG
|
#ifdef STA_STM32_ASEAG
|
||||||
# define STA_STM32_USART_HANDLE huart1
|
# define STA_STM32_USART_HANDLE huart1
|
||||||
|
# define STA_STM32_CAN_HANDLE hcan1
|
||||||
#else
|
#else
|
||||||
# ifdef STA_STM32_SWD_USART_IDX
|
# ifdef STA_STM32_SWD_USART_IDX
|
||||||
# define STA_STM32_USART_HANDLE CONCAT(huart, STA_STM32_SWD_USART_IDX)
|
# define STA_STM32_USART_HANDLE CONCAT(huart, STA_STM32_SWD_USART_IDX)
|
||||||
@ -100,4 +101,4 @@
|
|||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#endif // STA_CORE_STM32_MCU_STM32F407xx_HPP
|
#endif // STA_CORE_STM32_MCU_STM32F407xx_HPP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user