diff --git a/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp b/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp index 3ef9a25339641e0730209b07bde4b37191bf2446..d43a74c15f977db042ac93d9a1965c60e7d17a86 100644 --- a/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp +++ b/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp @@ -312,7 +312,6 @@ void IRQbspInit() H3LIS331DL::cs::mode(Mode::OUTPUT); H3LIS331DL::cs::getPin().high(); - H3LIS331DL::interrupt::mode(Mode::INPUT); LIS2MDL::cs::mode(Mode::OUTPUT); LIS2MDL::cs::getPin().high(); diff --git a/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/hwmapping.h b/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/hwmapping.h index 67d6f9c3f9227a10eea7ebf79ebf6ed792e87ca8..f1059505ee6bc27a437c4b11ce26aa3ec4823b61 100644 --- a/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/hwmapping.h +++ b/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/hwmapping.h @@ -121,11 +121,10 @@ using interrupt2 = Gpio<GPIOG_BASE, 7>; namespace H3LIS331DL { -using sck = interfaces::spi3::sck; -using miso = interfaces::spi3::miso; -using mosi = interfaces::spi3::mosi; -using cs = Gpio<GPIOD_BASE, 3>; -using interrupt = Gpio<GPIOC_BASE, 3>; +using sck = interfaces::spi3::sck; +using miso = interfaces::spi3::miso; +using mosi = interfaces::spi3::mosi; +using cs = Gpio<GPIOD_BASE, 3>; } // namespace H3LIS331DL namespace LIS2MDL @@ -177,36 +176,36 @@ using cs = Gpio<GPIOG_BASE, 10>; namespace LPS28DFW_1 { -using sda = interfaces::i2c1::sda; -using scl = interfaces::i2c1::scl; +using sda = interfaces::i2c1::sda; +using scl = interfaces::i2c1::scl; } // namespace LPS28DFW_1 namespace LPS28DFW_2 { -using sda = interfaces::i2c1::sda; -using scl = interfaces::i2c1::scl; +using sda = interfaces::i2c1::sda; +using scl = interfaces::i2c1::scl; } // namespace LPS28DFW_2 } // namespace sensors namespace radio { -using sck = interfaces::spi6::sck; -using miso = interfaces::spi6::miso; -using mosi = interfaces::spi6::mosi; -using cs = Gpio<GPIOG_BASE, 11>; -using dio0 = Gpio<GPIOA_BASE, 13>; -using dio1 = Gpio<GPIOD_BASE, 4>; -using dio3 = Gpio<GPIOC_BASE, 5>; +using sck = interfaces::spi6::sck; +using miso = interfaces::spi6::miso; +using mosi = interfaces::spi6::mosi; +using cs = Gpio<GPIOG_BASE, 11>; +using dio0 = Gpio<GPIOC_BASE, 3>; +using dio1 = Gpio<GPIOD_BASE, 4>; +using dio3 = Gpio<GPIOC_BASE, 5>; using rx_enable = Gpio<GPIOB_BASE, 0>; using tx_enable = Gpio<GPIOC_BASE, 1>; } // namespace radio namespace actuators { -using airbrakes = interfaces::timers::tim3ch1; -using expulsion = interfaces::timers::tim1ch3; -using buzzer = interfaces::timers::tim1ch1; +using airbrakes = interfaces::timers::tim3ch1; +using expulsion = interfaces::timers::tim1ch3; +using buzzer = interfaces::timers::tim1ch1; using parafoil_servo1 = interfaces::timers::tim3ch1; using parafoil_servo2 = interfaces::timers::tim3ch2; } // namespace actuators