From d36536e3743f5868f39908762bdab728802232b3 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 25 Jun 2019 15:26:46 +0200 Subject: Use 'arduino-mk' as build system. It feels simpler than `arduino-builder` and we can rely on more OS-shipped components. Also for some reason with `arduino-builder` weak symbols don't always seem to be overriden properly. --- README | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'README') diff --git a/README b/README index eaa54fd..25e0ee7 100644 --- a/README +++ b/README @@ -8,10 +8,20 @@ https://git.madhouse-project.org/algernon/Model01-Sketch#base-layer Build ===== -Arduino 1.6.7 or newer is required. Unfortunately, as of 2019-06-25 the -version found in Debian sid is too old (cf. #780706, #925578, #927329). -Dowload a recent version at https://www.arduino.cc and it unpack to -/usr/local/arduino. +On Debian systems, the following packages are required: + + - avr-libc + - avrdude + - binutils-avr + - gcc-avr + - arduino-mk + +Running `apt install arduino-mk` should pull in all required +dependencies. Moreover Arduino 1.6.7 or newer is required. +Unfortunately, as of 2019-06-25 the version found in Debian sid is too +Unfortunately, as of 2019-06-25 the version found in Debian sid is too +old (cf. #780706, #925578, #927329). Dowload a recent version at +https://www.arduino.cc and it unpack to /usr/local/arduino. Initialize (or update) submodules: @@ -22,8 +32,7 @@ Initialize (or update) submodules: "avr/bootloaders/*" \ "avr/libraries/Kaleidoscope" \ "avr/libraries/Kaleidoscope-HIDAdaptor-KeyboardioHID" \ - "avr/libraries/Keyboardio*" \ - "build-tools" + "avr/libraries/Keyboardio*" ~$ make @@ -31,7 +40,7 @@ Initialize (or update) submodules: Flash firmware ============== - ~$ make flash + ~$ make upload Press down the 'prog' key while the board is rebooting. You can release it once it glows red. -- cgit v1.2.3