Skip to content

Releases: bxparks/AUniter

1.10.0 - support more boards, especially w/ UF2 bootloaders; update sample.auniter.ini

18 Jun 22:20
2c434f7
Compare
Choose a tag to compare
  • 1.10.0 (2023-06-18)
    • Add --clean flag to auniter.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 of auniter.sh
      • Allow none value to allow an ATtiny85 to be programmed
        through USBtinyISP instead of the serial port.
      • Allow glob such as /dev/ttyACM* or just ACM*.
        • 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.
    • Add --delay N flag to auniter.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.
    • Update sample.auniter.ini
      • Update nodemcuv2 configuration 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
    • Support only a single board in a single auniter.sh command
      • 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.

1.9.1 - support -D flag for ArduinoCLI, enable compiler warnings on ArduinoCLI

21 May 17:45
a2a011c
Compare
Choose a tag to compare
  • 1.9.1 (2021-05-21)
    • Support -D MACRO=value when using --cli flag to invoke the ArduinoCLI
      using the new --build-property flag.
    • Add --warnings all flag when using ArduinoCLI to enable all compiler
      warnings.

v1.9 - expose -D flag; add 'upmon --ouput file' flag

04 Dec 07:00
005c999
Compare
Choose a tag to compare
  • 1.9 (2020-12-03)
    • Add -D MACRO=value flag which adds additional C-Preprocessor macros
      when using verify, upload, upmon and test subcommands. Multiple
      -D flags will define multiple MACROs.
    • Add --output filename flag (short form -o) to the upmon command. It
      captures the serial output of the microcontroller and saves it to the
      given filename. By default, the process ends after a 10 second timeout.
      However, if --eof string flag is given, the script looks for the given
      string and terminates just after it is detected in the serial output. The
      string itself is saved into the file. The --output flag could be
      useful in the monitor command as well, but it is not clear that it would
      be useful, so for the lack of infinite time, I have not implemented it.

1.8 - multiple locations of auniter.ini file, arduino-cli integration, initial MacOS support

04 Sep 20:31
e0316bd
Compare
Choose a tag to compare
  • 1.8 (2020-09-04)
    • Auto-detect the location of 'auniter.ini' in the following order:
      --config flag, the current directory, any parent directory,
      $HOME/auniter.ini, and finally $HOME/.auniter.ini.
    • Add config command to print the auto-detected auniter.ini file.
    • Add compile command as an alias for verify, because the Arduino-CLI
      binary uses compile instead of verify.
    • Add mon command as an alias for monitor, 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 the AUNITER_ARDUINO_CLI environment variable. The preprocessor
      directive in the auniter.ini must not contain a string due to a bug in
      arduino-cli.
    • Add better support and testing on MacOS 10.14 (Mojave).

v1.7.2 - add --preserve flag, autodetect *.ino file in current directory

22 Aug 04:44
43e46aa
Compare
Choose a tag to compare
  • 1.7.2 (2020-08-21)
    • Look for a *.ino file 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.

1.7.1 - add SparkFun boards, fix error handling, better README summary section

17 Oct 23:44
f4b7dc1
Compare
Choose a tag to compare
  • 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

17 Sep 06:08
0eed86c
Compare
Choose a tag to compare
  • 1.7 (2018-09-16)
    • Remove --board, --boards, and --ports flags to simplify the auniter.sh
      script.
    • Change name of auniter.conf to auniter.ini because 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_timeout parameters to the [auniter] section.
    • Add locking and '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 of MACRO 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 envs subcommand which lists the environments defined in the
      auniter ini file.
    • Changed name of --skip_if_no_port flag to --skip_missing_port.
    • Add documentation of the recommended structure of config.h file to
      support multiple environments using both Arduino IDE and AUniter tools.

1.6 - add 'monitor' and 'upmon' subcommands

12 Sep 02:36
13e42d5
Compare
Choose a tag to compare
  • 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.

1.5 - simplify auniter.sh interactive flags by using subcommands

04 Sep 02:17
Compare
Choose a tag to compare
  • 1.5 (2018-09-03)
    • Use subcommands instead of flags in auniter.sh to simplify the
      common interactive use cases.

1.4.1 - fix default locking, enable short port names

03 Sep 15:55
84a3ce9
Compare
Choose a tag to compare
  • 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.