Hello, I was just trying to build for teensy41 board, but it wasn't working as teensy3 core was still selected. I made a change in a var and it worked as a workaround, but I lack the knowledge about Makefiles to set it up as a good and permanent solution. teensy40 may have the same problem.
Teensy41 seems to be partially supported, as it is listed, but it can't build for it as it is (or maybe I'm doing something wrong):
As soon as I spotted this, I modified in the file Teensy.mk the line:
ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/teensy/avr/cores/teensy3
to:
ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/teensy/avr/cores/teensy4
and it built succesfully.
I hope somebody with better Makefile skills could change the scripts to select the proper teensy core given BOARD_TAG variable.
Hello, I was just trying to build for teensy41 board, but it wasn't working as teensy3 core was still selected. I made a change in a var and it worked as a workaround, but I lack the knowledge about Makefiles to set it up as a good and permanent solution. teensy40 may have the same problem.
Teensy41 seems to be partially supported, as it is listed, but it can't build for it as it is (or maybe I'm doing something wrong):
My Makefile has this vars:
If I try to build a project, you may notice that it is using teensy3 as ARDUINO_CORE_PATH:
As soon as I spotted this, I modified in the file Teensy.mk the line:
ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/teensy/avr/cores/teensy3
to:ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/teensy/avr/cores/teensy4
and it built succesfully.I hope somebody with better Makefile skills could change the scripts to select the proper teensy core given BOARD_TAG variable.
Thanks mcastillof