Skip to content

Commit

Permalink
ports/nano-every: Include in build-snek script
Browse files Browse the repository at this point in the history
The nano-every board uses a processor that current debian avr-gcc
doesn't support, so it isn't built by default. Add conditional rules
to allow it to be built form the build-snek script.

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Sep 27, 2021
1 parent ceb66bb commit ec14aad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions build-snek
Expand Up @@ -2,6 +2,7 @@
export SNEKMAC=imac.keithp.com:build/snek
export SNEK_RISCV_TEST=1
export SNEK_ESP32=1
export SNEK_NANO_EVERY=1
export SNEK_OTHEROS=1
export ESP_IDF=$HOME/src/esp/esp-idf
wakeonlan 58:40:4e:ee:39:1a
Expand Down
7 changes: 6 additions & 1 deletion snek-install.defs
Expand Up @@ -20,6 +20,10 @@ SNEK_ESP32 ?= 0
ifneq "$(SNEK_ESP32)" "0"
SNEK_PORTS_ESP32=$(SNEK_PORTS)/esp32/snek-esp32-$(SNEK_VERSION).bin
endif
SNEK_NANO_EVERY ?= 0
ifneq "$(SNEK_NANO_EVERY)" "0"
SNEK_PORTS_NANO_EVERY=$(SNEK_PORTS)/nano-every/snek-nano-every-$(SNEK_VERSION).hex
endif
#SNEKMAC ?= imac-remote:build/snek
FIRMWARE ?= \
$(SNEK_PORTS)/crickit/snek-crickit-$(SNEK_VERSION).uf2 \
Expand All @@ -41,7 +45,8 @@ FIRMWARE ?= \
$(SNEK_PORTS)/uduino/snek-uduino-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/uno/snek-uno-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/xiao/snek-xiao-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS_HIFIVE1REVB) $(SNEK_PORTS_ESP32)
$(SNEK_PORTS_HIFIVE1REVB) $(SNEK_PORTS_ESP32) \
$(SNEK_PORTS_NANO_EVERY)

USBFIRMWARE ?= \
$(SNEK_PORTS)/nano33iot/update-bootloader-nano33iot.ino \
Expand Down

0 comments on commit ec14aad

Please sign in to comment.