forked from Archive/PX4-Autopilot
fmu-v5: Move stage 0 dcache disable to later in boot (#11791)
This commit is contained in:
parent
6f5c97f184
commit
46c4a68b62
|
@ -191,8 +191,6 @@ stm32_boardinitialize(void)
|
|||
{
|
||||
board_on_reset(-1); /* Reset PWM first thing */
|
||||
|
||||
board_configure_dcache(0);
|
||||
|
||||
/* configure LEDs */
|
||||
board_autoled_initialize();
|
||||
|
||||
|
@ -232,6 +230,9 @@ stm32_boardinitialize(void)
|
|||
|
||||
__EXPORT int board_app_initialize(uintptr_t arg)
|
||||
{
|
||||
|
||||
board_configure_dcache(0);
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* configure the DMA allocator */
|
||||
|
|
|
@ -230,8 +230,6 @@ stm32_boardinitialize(void)
|
|||
{
|
||||
board_on_reset(-1); /* Reset PWM first thing */
|
||||
|
||||
board_configure_dcache(0);
|
||||
|
||||
/* configure LEDs */
|
||||
|
||||
board_autoled_initialize();
|
||||
|
@ -281,6 +279,8 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||
{
|
||||
/* Power on Interfaces */
|
||||
|
||||
board_configure_dcache(0);
|
||||
|
||||
VDD_3V3_SD_CARD_EN(true);
|
||||
VDD_5V_PERIPH_EN(true);
|
||||
VDD_5V_HIPOWER_EN(true);
|
||||
|
|
Loading…
Reference in New Issue