Hi I'm new to Teensy and tried to learn it step by step.
The thing is, even staying strictly with the example, I can't get it to work.
Currently I'm at https://www.pjrc.com/teensy/gcc.html
Using Make to Compile Blinky
...And I'm getting errors.
Board is a Teensy++ 2.0
Code is Blinky Example Source Code
https://www.pjrc.com/teensy/blinky.zip
makefile is adjusted to Teensy++ 2.0
any suggestions???
The thing is, even staying strictly with the example, I can't get it to work.
Currently I'm at https://www.pjrc.com/teensy/gcc.html
Using Make to Compile Blinky
...And I'm getting errors.
Code:
Compiling C: blinky.c
avr-gcc -c -mmcu=at90usb1286 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./blinky.lst -std=gnu99 -MMD -MP -MF .dep/blinky.o.d blinky.c -o blinky.o
[B]blinky.c:158: fatal error: opening dependency file .dep/blinky.o.d: No such file or directory
compilation terminated.
make: *** [blinky.o] Error 1[/B]
Board is a Teensy++ 2.0
Code is Blinky Example Source Code
https://www.pjrc.com/teensy/blinky.zip
makefile is adjusted to Teensy++ 2.0
any suggestions???