fixup! fix(legacy): make RDI work on T1

pull/1681/head
Ondřej Vejpustek 3 years ago
parent daa94ac941
commit 24200e7424

@ -53,6 +53,8 @@
extern void shutdown_privileged(void);
int main(void) {
random_delays_init();
#ifdef RDI
rdi_start();
#endif

@ -44,10 +44,6 @@ reset_handler:
ldr r1, = __stack_chk_guard
str r0, [r1]
#ifdef RDI
bl random_delays_init
#endif
// re-enable exceptions
// according to "ARM Cortex-M Programming Guide to Memory Barrier Instructions" Application Note 321, section 4.7:
// "If it is not necessary to ensure that a pended interrupt is recognized immediately before

Loading…
Cancel
Save