Sfoglia il codice sorgente

Opps, use startup_early_hook() in startup code

main
PaulStoffregen 12 anni fa
parent
commit
262c04b029
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      teensy3/mk20dx128.c

+ 2
- 2
teensy3/mk20dx128.c Vedi File

asm volatile ("nop"); asm volatile ("nop");
asm volatile ("nop"); asm volatile ("nop");
// programs using the watchdog timer or needing to initialize hardware as // programs using the watchdog timer or needing to initialize hardware as
// early as possible can implement startup_default_early_hook()
startup_default_early_hook();
// early as possible can implement startup_early_hook()
startup_early_hook();


// enable clocks to always-used peripherals // enable clocks to always-used peripherals
#if defined(__MK20DX128__) #if defined(__MK20DX128__)

Loading…
Annulla
Salva