diff --git a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/bsp.cpp b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/bsp.cpp index f873672975488eb554802553f8a97c71ab78ec9b..608341d9f0f19f5bdf5d54f5d6c70bedab23b949 100644 --- a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/bsp.cpp +++ b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/bsp.cpp @@ -301,6 +301,9 @@ namespace miosix rxEn::mode(Mode::OUTPUT); nrst::mode(Mode::OUTPUT); + cs::high(); + nrst::high(); + //TODO define default configs using namespace ui; diff --git a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/hwmapping.h b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/hwmapping.h index 09cf4ed7324e187d1adb2e5a1467ca75373fc3cd..10013e2223c1b31ea3b46d7f7c72fbd0d897796f 100644 --- a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/hwmapping.h +++ b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_rig/interfaces-impl/hwmapping.h @@ -154,7 +154,7 @@ using cs = Gpio<GPIOF_BASE, 6>; using sck = interfaces::spi1::sck; using miso = interfaces::spi1::miso; using mosi = interfaces::spi1::mosi; -using dio0 = Gpio<GPIOD_BASE, 11>; +using dio0 = Gpio<GPIOD_BASE, 5>; using dio1 = Gpio<GPIOD_BASE, 12>; using dio3 = Gpio<GPIOD_BASE, 13>; using txEn = Gpio<GPIOG_BASE, 2>;