Преглед на файлове

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 преди 6 години
родител
ревизия
3b00522ebd
No account linked to committer's email address
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      teensy4/WProgram.h

+ 1
- 1
teensy4/WProgram.h Целия файл

#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



Loading…
Отказ
Запис