Open thjwong opened 4 years ago
@thjwong I've added teensy_loader_cli as an MSYS2 package :) https://packages.msys2.org/base/mingw-w64-teensy-loader-cli
@fauxpark, please update a package for Teensy 4.0
# teensy_loader_cli --mcu=imxrt1062 -w blink_slow_Teensy40.hex
Supported MCUs are:
- at90usb162
- atmega32u4
- at90usb646
- at90usb1286
- mkl26z64
- mk20dx128
- mk20dx256
- mk66fx1m0
- mk64fx512
Unknown MCU type "imxrt1062"
@ser0ja - Download the latest code. You must have an old copy. It was updated for Teensy 4.0 over 1 year ago! https://github.com/PaulStoffregen/teensy_loader_cli/commit/900a2bf56ed8f0627127dadfde8742e9810eff63
@PaulStoffregen can we get a new release so packagers can update?
I believe I tried to address a similar issue in: https://github.com/PaulStoffregen/teensy_loader_cli/pull/59
You can check if the patch works for you.
I tried to compile the package in Windows 10 (64-bits) under MSYS2 and encountered the following errors:
printenv
gave me "Windows_NT" instead of "WINDOWS", so I had to change that.According to https://packages.msys2.org/package/mingw-w64-x86_64-headers hidsdi.h is not under ddk for MSYS2, so I went to line 373 and changed that too.
Please give me a pointer to compile it under msys2 if it is possible. Thanks!