Просмотр исходного кода

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
main
Frank 6 лет назад
Родитель
Сommit
3b00522ebd
Аккаунт пользователя с таким Email не найден
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



Загрузка…
Отмена
Сохранить