summaryrefslogtreecommitdiff
path: root/flash/bootloader/bootloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash/bootloader/bootloader.c')
-rw-r--r--flash/bootloader/bootloader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/flash/bootloader/bootloader.c b/flash/bootloader/bootloader.c
index 543a950129..a6fe91d283 100644
--- a/flash/bootloader/bootloader.c
+++ b/flash/bootloader/bootloader.c
@@ -143,6 +143,10 @@ void PlatformInit(void)
143 PACR2 &= 0xFBFF; // GPIO for PA5 143 PACR2 &= 0xFBFF; // GPIO for PA5
144 PAIOR |= 0x20; // make PA5 an output (low by default) 144 PAIOR |= 0x20; // make PA5 an output (low by default)
145 } 145 }
146#elif defined PLATFORM_ONDIO
147 BRR1 = 0x0019; // 14400 Baud for monitor
148 PBDR |= 0x20; // set PB5 to keep power (fixes the ON-holding problem)
149 PBIOR |= 0x20; // make PB5 an output
146#endif 150#endif
147 151
148 // platform-independent inits 152 // platform-independent inits