Browse Source

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 5 years ago
parent
commit
3b00522ebd
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/WProgram.h

+ 1
- 1
teensy4/WProgram.h View File

#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…
Cancel
Save