Procházet zdrojové kódy

update FASTRUN

"noinline, noclone" has the opposite effect of beeing faster now on T4
Maye it would be best to use an empty define ? Then we can remove the section in the linker-file, too.

#define FASTRUN
teensy4-core
Frank před 6 roky
rodič
revize
3b00522ebd
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      teensy4/WProgram.h

+ 1
- 1
teensy4/WProgram.h Zobrazit soubor

#include "HardwareSerial.h" #include "HardwareSerial.h"


#define DMAMEM __attribute__ ((section(".dmabuffers"), used)) #define DMAMEM __attribute__ ((section(".dmabuffers"), used))
#define FASTRUN __attribute__ ((section(".fastrun"), noinline, noclone ))
#define FASTRUN __attribute__ ((section(".fastrun") ))


#ifdef __cplusplus #ifdef __cplusplus



Načítá se…
Zrušit
Uložit