tmp/arduino-cli-pre-rebase
parent
47d738c95b
commit
6fb1171362
@ -1,24 +0,0 @@
|
||||
flash_over_usb() {
|
||||
sleep 1s
|
||||
|
||||
echo "Please reset your keyboard!"
|
||||
teensy_loader_cli --mcu "${MCU}" -w "${HEX_FILE_PATH}"
|
||||
}
|
||||
|
||||
flash () {
|
||||
prepare_to_flash
|
||||
|
||||
# This is defined in the (optional) user config.
|
||||
# shellcheck disable=SC2154
|
||||
${preFlash_HOOKS}
|
||||
|
||||
flash_over_usb || flash_over_usb
|
||||
|
||||
# This is defined in the (optional) user config.
|
||||
# shellcheck disable=SC2154
|
||||
${postFlash_HOOKS}
|
||||
}
|
||||
|
||||
NO_RESET=1
|
||||
DEFAULT_SKETCH="ErgoDox"
|
||||
BOARD="ergodox"
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cpu": {
|
||||
"fqbn": "keyboardio:avr:ergodox",
|
||||
"port": ""
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
flash_over_usb() {
|
||||
sleep 1s
|
||||
|
||||
dfu-programmer ${MCU} erase
|
||||
dfu-programmer ${MCU} flash "${HEX_FILE_PATH}"
|
||||
dfu-programmer ${MCU} start
|
||||
}
|
||||
|
||||
flash () {
|
||||
prepare_to_flash
|
||||
|
||||
# This is defined in the (optional) user config.
|
||||
# shellcheck disable=SC2154
|
||||
${preFlash_HOOKS}
|
||||
|
||||
flash_over_usb || flash_over_usb
|
||||
|
||||
# This is defined in the (optional) user config.
|
||||
# shellcheck disable=SC2154
|
||||
${postFlash_HOOKS}
|
||||
}
|
||||
|
||||
NO_RESET=1
|
||||
|
||||
DEFAULT_SKETCH="KBD4x"
|
||||
BOARD="kbd4x"
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cpu": {
|
||||
"fqbn": "keyboardio:avr:kbd4x",
|
||||
"port": ""
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DEFAULT_SKETCH="Planck"
|
||||
BOARD="planck"
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cpu": {
|
||||
"fqbn": "keyboardio:avr:planck",
|
||||
"port": ""
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
flash_over_usb() {
|
||||
sleep 1s
|
||||
|
||||
dfu-programmer ${MCU} erase
|
||||
dfu-programmer ${MCU} flash "${HEX_FILE_PATH}"
|
||||
dfu-programmer ${MCU} start
|
||||
}
|
||||
|
||||
flash () {
|
||||
prepare_to_flash
|
||||
|
||||
# This is defined in the (optional) user config.
|
||||
# shellcheck disable=SC2154
|
||||
${preFlash_HOOKS}
|
||||
|
||||
flash_over_usb || flash_over_usb
|
||||
|
||||
# This is defined in the (optional) user config.
|
||||
# shellcheck disable=SC2154
|
||||
${postFlash_HOOKS}
|
||||
}
|
||||
|
||||
NO_RESET=1
|
||||
DEFAULT_SKETCH="Splitography"
|
||||
BOARD="splitography"
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cpu": {
|
||||
"fqbn": "keyboardio:avr:splitography",
|
||||
"port": ""
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DEFAULT_SKETCH="ButterStick"
|
||||
BOARD="gheavy_butterstick"
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cpu": {
|
||||
"fqbn": "keyboardio:avr:gheavy_butterstick",
|
||||
"port": ""
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DEFAULT_SKETCH="FaunchPad"
|
||||
BOARD="gheavy_faunchpad"
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cpu": {
|
||||
"fqbn": "keyboardio:avr:gheavy_faunchpad",
|
||||
"port": ""
|
||||
}
|
||||
}
|
Loading…
Reference in new issue