Ver código fonte

Opps, use startup_early_hook() in startup code

main
PaulStoffregen 11 anos atrás
pai
commit
262c04b029
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      teensy3/mk20dx128.c

+ 2
- 2
teensy3/mk20dx128.c Ver arquivo

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__)

Carregando…
Cancelar
Salvar