Browse Source

uavcan_stm32h7:Support is by Family Not Chip/pacakge

sbg
David Sidrane 5 years ago committed by Daniel Agar
parent
commit
768ed297f2
  1. 4
      src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan.hpp
  2. 0
      src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h7x3xx.h

4
src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan.hpp

@ -23,8 +23,8 @@ namespace uavcan_stm32h7 @@ -23,8 +23,8 @@ namespace uavcan_stm32h7
{
namespace fdcan
{
#ifdef CONFIG_ARCH_CHIP_STM32H743ZI
#include "fdcan_h743xx.h"
#ifdef CONFIG_STM32H7_STM32H7X3XX
#include "fdcan_h7x3xx.h"
#else
# error "Unsupported STM32H7 MCU"
#endif

0
src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h743xx.h → src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h7x3xx.h

Loading…
Cancel
Save