Releases: bxparks/AUniter
Releases · bxparks/AUniter
1.10.0 - support more boards, especially w/ UF2 bootloaders; update sample.auniter.ini
- 1.10.0 (2023-06-18)
- Add
--cleanflag toauniter.sh- tells the Arduino-CLI tool to clean its build cache.
- Sometimes it caches too aggressively and does not detect changes to
third party Core files.
- Update
--port {value}flag ofauniter.sh- Allow
nonevalue to allow an ATtiny85 to be programmed
through USBtinyISP instead of the serial port. - Allow glob such as
/dev/ttyACM*or justACM*.- Tells the script to select the first
/dev/ttyACM*port that
matches the glob. - Added to support the Adafruit ItsyBitsy M4 which seems to have a
flaky UF2 bootloader such that new firmware is flashed at
/dev/ttyACM0, but upon reboot, the device appears at
/dev/ttyACM1, which causes lots of confusion.
- Tells the script to select the first
- Allow
- Add
--delay Nflag toauniter.sh- Some boards, especially those using UF2 bootloaders, take too much
time to reboot, causing the serial monitor to fail with an error
because there is no serial port ready yet. - This flag allows a short delay before the serial monitor is fired up.
- Some boards, especially those using UF2 bootloaders, take too much
- Update
sample.auniter.ini- Update
nodemcuv2configuration to be compatible with latest
ESP8266 core software. - Add additional boards, e.g. SparkFun Pro Micro, Arduino Pro Mini,
Seeeduino XIAO M0, Adafruit ItsyBitsy M0 and M4, Teensy 3.2
- Update
- Support only a single board in a single
auniter.shcommand- Previously allows a comma-separate list of
{board}:{port}arguments
e.g.auniter.sh test nano:USB0,esp8266:USB1,esp32:USB2 SampleTest.ino. - This feature was never reliable because the USB port of a
microcontroller would be randomly changed by the host operating
system. - And the workflow of compiling the firmware, flashing it, and running
the unit tests was far too slow, and would sometimes fail for no
apparent reason.
- Previously allows a comma-separate list of
- Add
1.9.1 - support -D flag for ArduinoCLI, enable compiler warnings on ArduinoCLI
- 1.9.1 (2021-05-21)
- Support
-D MACRO=valuewhen using--cliflag to invoke the ArduinoCLI
using the new--build-propertyflag. - Add
--warnings allflag when usingArduinoCLIto enable all compiler
warnings.
- Support
v1.9 - expose -D flag; add 'upmon --ouput file' flag
- 1.9 (2020-12-03)
- Add
-D MACRO=valueflag which adds additional C-Preprocessor macros
when usingverify,upload,upmonandtestsubcommands. Multiple
-Dflags will define multiple MACROs. - Add
--output filenameflag (short form-o) to theupmoncommand. It
captures the serial output of the microcontroller and saves it to the
givenfilename. By default, the process ends after a 10 second timeout.
However, if--eof stringflag is given, the script looks for the given
string and terminates just after it is detected in the serial output. The
stringitself is saved into the file. The--outputflag could be
useful in themonitorcommand as well, but it is not clear that it would
be useful, so for the lack of infinite time, I have not implemented it.
- Add
1.8 - multiple locations of auniter.ini file, arduino-cli integration, initial MacOS support
- 1.8 (2020-09-04)
- Auto-detect the location of 'auniter.ini' in the following order:
--configflag, the current directory, any parent directory,
$HOME/auniter.ini, and finally$HOME/.auniter.ini. - Add
configcommand to print the auto-detectedauniter.inifile. - Add
compilecommand as an alias forverify, because the Arduino-CLI
binary usescompileinstead ofverify. - Add
moncommand as an alias formonitor, because we often want
to run the 'monitor' command after an 'upmon', and this makes it
easier to retrieve the previous 'upmon' command from the bash history and
just remove the 'up'. - Add support for arduino-cli
using theAUNITER_ARDUINO_CLIenvironment variable. Thepreprocessor
directive in theauniter.inimust not contain a string due to a bug in
arduino-cli. - Add better support and testing on MacOS 10.14 (Mojave).
- Auto-detect the location of 'auniter.ini' in the following order:
v1.7.2 - add --preserve flag, autodetect *.ino file in current directory
- 1.7.2 (2020-08-21)
- Look for a
*.inofile in the current directory if no sketch file is
specified for auniter.sh. - Add --preserve flag to auniter.sh to preserve compiler files, to allow
dissembly by avr-objdump.
- Look for a
1.7.1 - add SparkFun boards, fix error handling, better README summary section
- 1.7.1 (2018-10-17)
- Add SparkFun boards.
- Fix incorrect handling of run-arduino.sh errors, now stops after an error.
- Update instructions for installing 3rd party boards into the IDE used
by Jenkins. - Write better summary section of README.md.
1.7 - use environments as built targets instead of board aliases
- 1.7 (2018-09-16)
- Remove --board, --boards, and --ports flags to simplify the auniter.sh
script. - Change name of
auniter.conftoauniter.inibecause tools (e.g. vim)
are able to recoginize INI file format and handle them better
(e.g. syntax highlighting). - Change the compile target from "board aliases" to "environments", where
the "environment" is defined by a section of auniter.ini file whose name
has the form[env:NAME]. - Add
port_timeoutparameters to the[auniter]section. - Add
lockingand 'board' parameters to the[env:NAME]section. - Add support for 'preprocessor' parameter in '[env:NAME]' section
which defines a space-separated list of C-preprocessor macros in the
form ofMACRO MACRO=value MACRO="string value". - Remove overly flexible --pref flag, replace with semantically specific
flags (e.g. --sketchbook, --preprocessor). - Remove --monitor flag from
run_arduino.sh. Was already replaced with
shell exec to a user-definable terminal program. Add example
configurations for 'picocomandmicrocom` terminal programs. - Add
auniter envssubcommand which lists the environments defined in the
auniter ini file. - Changed name of
--skip_if_no_portflag to--skip_missing_port. - Add documentation of the recommended structure of
config.hfile to
support multiple environments using both Arduino IDE and AUniter tools.
- Remove --board, --boards, and --ports flags to simplify the auniter.sh
1.6 - add 'monitor' and 'upmon' subcommands
- 1.6 (2018-09-11)
- Support 'monitor' subcommand using an external serial port terminal
(e.g. picocom). - Add 'upmon' subcommand, a combination of 'upload' and 'monitor'.
- Add '[auniter] baud' parameter to control default baud rate of port.
- Support 'monitor' subcommand using an external serial port terminal
1.5 - simplify auniter.sh interactive flags by using subcommands
- 1.5 (2018-09-03)
- Use subcommands instead of flags in auniter.sh to simplify the
common interactive use cases.
- Use subcommands instead of flags in auniter.sh to simplify the
1.4.1 - fix default locking, enable short port names
- 1.4.1 (2018-09-03)
- Fix bug which disabled --locking by default.
- Allow serial port specifier in --boards flag to omit "/dev/tty" prefix.