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 d43a74c15f977db042ac93d9a1965c60e7d17a86..d3eabf94474f2d336173f437172d2b419d0ff906 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 @@ -301,8 +301,8 @@ void IRQbspInit() tim3ch2::alternateFunction(2); tim1ch1::mode(Mode::ALTERNATE); tim1ch1::alternateFunction(1); - tim1ch3::mode(Mode::ALTERNATE); - tim1ch3::alternateFunction(1); + tim12ch2::mode(Mode::ALTERNATE); + tim12ch2::alternateFunction(9); using namespace sensors; LSM6DSRX::cs::mode(Mode::OUTPUT); 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 f1059505ee6bc27a437c4b11ce26aa3ec4823b61..43f4722555949ba3a957718ceb76cd3247b5170a 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 @@ -99,10 +99,10 @@ using rx = Gpio<GPIOA_BASE, 1>; namespace timers { -using tim3ch1 = Gpio<GPIOC_BASE, 6>; // Airbrakes servo - Servo1 Payload -using tim3ch2 = Gpio<GPIOC_BASE, 7>; // Auxiliary - Servo2 Payload -using tim1ch1 = Gpio<GPIOA_BASE, 8>; // Buzzer -using tim1ch3 = Gpio<GPIOB_BASE, 15>; // Expulsion +using tim3ch1 = Gpio<GPIOC_BASE, 6>; // Airbrakes servo - Servo1 Payload +using tim3ch2 = Gpio<GPIOC_BASE, 7>; // Auxiliary - Servo2 Payload +using tim1ch1 = Gpio<GPIOA_BASE, 8>; // Buzzer +using tim12ch2 = Gpio<GPIOB_BASE, 15>; // Expulsion } // namespace timers } // namespace interfaces @@ -204,7 +204,7 @@ using tx_enable = Gpio<GPIOC_BASE, 1>; namespace actuators { using airbrakes = interfaces::timers::tim3ch1; -using expulsion = interfaces::timers::tim1ch3; +using expulsion = interfaces::timers::tim12ch2; using buzzer = interfaces::timers::tim1ch1; using parafoil_servo1 = interfaces::timers::tim3ch1; using parafoil_servo2 = interfaces::timers::tim3ch2;