Do I need to install this separately as described here? : http://gnuarmeclipse.livius.net/blog/build-tools-windows/
Just to be safe, you want two leading underscores before/after each word just in case somebody decides to #define noinline, etc.:Paul, i would suggest
#define FASTRUN __attribute__ ((section(".fastrun"), noinline, noclone ))
#define FASTRUN __attribute__ ((__section__(".fastrun"), __noinline__, __noclone__))
Just to be safe, you want two leading underscores before/after each word that is not within quotes just in case somebody decides to do some like #define noinline, etc.:Paul, i would suggest
#define FASTRUN __attribute__ ((section(".fastrun"), noinline, noclone ))
#define FASTRUN __attribute__ ((__section__(".fastrun"), __noinline__, __noclone__))
C:\Arduino\libraries\SD\utility\Sd2Card.cpp: In member function 'uint8_t Sd2Card::readData(uint32_t, uint16_t, uint16_t, uint8_t*)':
C:\Arduino\libraries\SD\utility\Sd2Card.cpp:478:12: warning: unused variable 'n' [-Wunused-variable]
uint16_t n;
^
C:\Arduino\libraries\SD\utility\Sd2Card.cpp: At global scope:
C:\Arduino\libraries\SD\utility\Sd2Card.cpp:145:13: warning: 'void spiSend(const uint8_t*, size_t)' defined but not used [-Wunused-function]
static void spiSend(const uint8_t* output, size_t len) {
^
c:/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/armv7e-m\libc_s.a(lib_a-mtrim.o): In function `malloc_trim':
mtrim.c:(.text.malloc_trim+0x6): undefined reference to `_malloc_trim_r'
collect2.exe: error: ld returned 1 exit status
The external pullups shown are required by the SD protocol, and must be present even for the unused data pins.
A short example or two?Experiencing too many compiler bugs with gcc version 4.8.4 20140725