matheusbrat
Member
Hello Guys,
I got MIRF Library working on Teensy 3.0 (http://forum.pjrc.com/threads/16001-Does-anybody-get-Teensy-3-working-with-NRF24L01) I looked into http://forum.pjrc.com/threads/433-nordic-radio-tlc5940-t2-t3-possible?highlight=nrf24l01 and Paul said that there is a lot of AVR specific stuff. But I want to get it working since it is much better.
So I started trying to compile it directly which give me a lot of errors. First of all I needed to comment this line on pingpair example: fdevopen(&serial_putc, 0);
It started going further, but still gives me errors. So I noticed that there is a lot of PRINTS that use some kind of printf definition. So I commented all PRINTF lines. Then I started getting PROGMEN erros and tried to remove all of then, and that lead me to this error:
/home/x-warrior/arduino-1.0.3-teensy/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-fstatr.o): In function `_fstat_r':
fstatr.c.text+0x14): undefined reference to `_fstat'
/home/x-warrior/arduino-1.0.3-teensy/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-isattyr.o): In function `_isatty_r':
isattyr.c.text+0x12): undefined reference to `_isatty'
collect2: error: ld returned 1 exit status
Any ideas how to pass throught this?
PS: As attachment I'm sending my RF24 Library in the current state.
View attachment RF24_teensy.zip
PS2: Maybe I removed something wrong... but lets keep dig
I got MIRF Library working on Teensy 3.0 (http://forum.pjrc.com/threads/16001-Does-anybody-get-Teensy-3-working-with-NRF24L01) I looked into http://forum.pjrc.com/threads/433-nordic-radio-tlc5940-t2-t3-possible?highlight=nrf24l01 and Paul said that there is a lot of AVR specific stuff. But I want to get it working since it is much better.
So I started trying to compile it directly which give me a lot of errors. First of all I needed to comment this line on pingpair example: fdevopen(&serial_putc, 0);
It started going further, but still gives me errors. So I noticed that there is a lot of PRINTS that use some kind of printf definition. So I commented all PRINTF lines. Then I started getting PROGMEN erros and tried to remove all of then, and that lead me to this error:
/home/x-warrior/arduino-1.0.3-teensy/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-fstatr.o): In function `_fstat_r':
fstatr.c.text+0x14): undefined reference to `_fstat'
/home/x-warrior/arduino-1.0.3-teensy/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-isattyr.o): In function `_isatty_r':
isattyr.c.text+0x12): undefined reference to `_isatty'
collect2: error: ld returned 1 exit status
Any ideas how to pass throught this?
PS: As attachment I'm sending my RF24 Library in the current state.
View attachment RF24_teensy.zip
PS2: Maybe I removed something wrong... but lets keep dig