Sorry guys, I have to bother again for a probably idiot question I can't understand
trying to build a brand new project with the same portable IDE structure and I got this.
Code:
> Executing task: C:/Users/Lorenzo/Desktop/Arduinos/Teensy/VisualTeensy_v0_9_9_1/make.exe all <
C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13/arduino-builder -verbose=1 -warnings=all -build-path=C:/Users/Lorenzo/Desktop/test_visualteensy/Midi Test/MIDI Matrix/.vsTeensy/build -fqbn=teensy:avr:teensy36:usb=serialmidi4,speed=180,opt=o2std,keys=en-us -hardware="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13\hardware" -tools="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13\tools-builder" -libraries="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13\portable\sketchbook\libraries" MIDI_Matrix.ino
Parameter 'hardware' is mandatory
Usage of C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13/arduino-builder:
-build-cache string
builds of 'core.a' are saved into this folder to be cached and reused
-build-options-file string
Instead of specifying --hardware, --tools etc every time, you can load all such options from a file
-build-path string
build path
-built-in-libraries value
Specify a built-in 'libraries' folder. These are low priority libraries. Can be added multiple times for specifying multiple built-in 'libraries' folders
-code-complete-at string
output code completions for sketch at a specific location. Location format is "file:line:col"
-compile
compiles the given sketch
-core-api-version string
version of core APIs (used to populate ARDUINO #define) (default "10600")
-daemon
daemonizes and serves its functions via rpc
-debug-level int
Turns on debugging messages. The higher, the chattier (default 5)
-dump-prefs
dumps build properties used when compiling
-experimental
enables experimental features
-fqbn string
fully qualified board name
-hardware value
Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders
-ide-version string
[deprecated] use 'core-api-version' instead (default "10600")
-jobs int
specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running machine
-libraries value
Specify a 'libraries' folder. Can be added multiple times for specifying multiple 'libraries' folders
-logger string
Sets type of logger. Available values are 'human', 'humantags', 'machine' (default "human")
-prefs value
Specify a custom preference. Can be added multiple times for specifying multiple custom preferences
-preprocess
preprocess the given sketch
-quiet
if 'true' doesn't print any warnings or progress or whatever
-tools value
Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders
-trace
traces the whole process lifecycle
-verbose
if 'true' prints lots of stuff
-version
prints version and exits
-vid-pid string
specify to use vid/pid specific build properties, as defined in boards.txt
-warnings string
Sets warnings level. Available values are 'none', 'default', 'more' and 'all'
make.exe: *** [makefile:46: all] Error 1
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c C:/Users/Lorenzo/Desktop/Arduinos/Teensy/VisualTeensy_v0_9_9_1/make.exe all " terminated with exit code: 2.
My Makefile:
Code:
#******************************************************************************
# Generated by VisualTeensy (https://github.com/luni64/VisualTeensy)
#
# Board Teensy 3.6
# USB Type Serial + MIDIx4
# CPU Speed 180 MHz
# Optimize Faster
# Keyboard Layout US English
#
# 07/11/2020 11:13
#******************************************************************************
SHELL := cmd.exe
export SHELL
SKETCH_NAME := MIDI_Matrix.ino
BOARD_ID := TEENSY36
MCU := mk66fx1m0
BUILDER_BASE := C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13
FLAGS := -verbose=1 -warnings=all
FQBN := teensy:avr:teensy36:usb=serialmidi4,speed=180,opt=o2std,keys=en-us
BUILD_PATH := $(abspath .vsTeensy/build)
HARDWARE := -hardware="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13/hardware"
TOOLS := -tools="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13\tools-builder"
LIBRARIES := -built-in-libraries="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13/libraries"
LIBRARIES := -libraries="C:\Users\Lorenzo\Desktop\Arduinos\Teensy\arduino-1.8.13 - TeensyDuino 1.53\arduino-1.8.13\portable\sketchbook\libraries"
UPL_PJRC_B := C:\Users\Lorenzo\Desktop\Arduinos\Teensy\ARDUIN~1.53\ARDUIN~1.13\hardware\tools
UPL_TYCMD_B := C:\Users\Lorenzo\Desktop\Arduinos\Teensy\TyTools-0.9.2-win64\TyTools-0.9.2-win64
UPL_CLICMD_B :=
TARGET_HEX := $(BUILD_PATH)/$(SKETCH_NAME).hex
#******************************************************************************
# BINARIES
#******************************************************************************
BUILDER := $(BUILDER_BASE)/arduino-builder
UPL_PJRC := "$(UPL_PJRC_B)/teensy_post_compile" -test -file=$(SKETCH_NAME) -path=$(BUILD_PATH) -tools="$(UPL_PJRC_B)" -board=$(BOARD_ID) -reboot
UPL_TYCMD := $(UPL_TYCMD_B)/tyCommanderC upload $(TARGET_HEX) --autostart --wait --multi
UPL_CLICMD := $(UPL_CLICMD_B)/teensy_loader_cli -mmcu=$(MCU) -v $(TARGET_HEX)
.PHONY: all upload uploadTy uploadCLI clean
all:
$(BUILDER) $(FLAGS) -build-path=$(BUILD_PATH) -fqbn=$(FQBN) $(HARDWARE) $(TOOLS) $(LIBRARIES) $(SKETCH_NAME)
upload: all
$(UPL_PJRC)
uploadTy: all
@$(UPL_TYCMD)
uploadCLI: all
@$(UPL_CLICMD)
clean:
@echo Cleaning user binaries...
@if exist $(BUILD_PATH)/core rd /s/q "$(BUILD_PATH)/core"
@if exist $(BUILD_PATH)/libraries rd /s/q "$(BUILD_PATH)/libraries"
@if exist $(BUILD_PATH)/pch rd /s/q "$(BUILD_PATH)/pch"
@if exist $(BUILD_PATH)/preproc rd /s/q "$(BUILD_PATH)/preproc"
@if exist $(BUILD_PATH)/sketch rd /s/q "$(BUILD_PATH)/sketch"
@if exist "$(BUILD_PATH)/*.eep" del $(subst /,\,$(BUILD_PATH)/*.eep)
@if exist "$(BUILD_PATH)/*.elf" del $(subst /,\,$(BUILD_PATH)/*.elf)
@if exist "$(BUILD_PATH)/*.lst" del $(subst /,\,$(BUILD_PATH)/*.lst)
@if exist "$(BUILD_PATH)/*.sym" del $(subst /,\,$(BUILD_PATH)/*.sym)
@if exist "$(BUILD_PATH)/*.json" del $(subst /,\,$(BUILD_PATH)/*.json)
@if exist "$(BUILD_PATH)/*.cache" del $(subst /,\,$(BUILD_PATH)/*.cache)
@echo done
"hardware" parameter is literally there, why arduino builder complains that is mandatory?