diff --git a/avr/boards.txt b/avr/boards.txt index 275f904..462349c 100644 --- a/avr/boards.txt +++ b/avr/boards.txt @@ -173,6 +173,9 @@ atreus2.build.core=arduino:arduino atreus2.build.variant=atreus2 +model01.bootloader.pid=0x0036 +model01.bootloader.vid=0x2341 + atreus2.upload.tool=avrdude atreus2.upload.protocol=avr109 atreus2.upload.maximum_size=28672 diff --git a/avr/libraries/Kaleidoscope b/avr/libraries/Kaleidoscope index 0094832..b79f2ea 160000 --- a/avr/libraries/Kaleidoscope +++ b/avr/libraries/Kaleidoscope @@ -1 +1 @@ -Subproject commit 0094832b123d99a91c42b694557a08e27c471269 +Subproject commit b79f2ea0eb8adc43cb5cb4397f349c1b7ec80a55 diff --git a/avr/platform.txt b/avr/platform.txt index c9fa9d2..c97013a 100644 --- a/avr/platform.txt +++ b/avr/platform.txt @@ -19,6 +19,7 @@ compiler.warning_flags.all=-Wall -Wextra # Default "compiler.path" is correct, change only if you want to override the initial value compiler.path={runtime.tools.avr-gcc.path}/bin/ +#compiler.path=/usr/bin/ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections @@ -177,3 +178,13 @@ tools.rm_end.cmd.windows= ; exit 0 # - from numeric vendor ID, set to Unknown otherwise build.usb_manufacturer="Unknown" build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}' + + +# ctags configuration +# Remove from the Arduino core in 1.8.10. +# Jesse isn't sure why arduino removed it, but adding it here for now to unbreak builds +# ------------------------------ +tools.ctags.path={runtime.tools.ctags.path} +tools.ctags.cmd.path={path}/ctags +tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}" +