Skip to content

Commit

Permalink
tests/auniter.ini: Update to the same version ad AceCommon/tests/auni…
Browse files Browse the repository at this point in the history
…ter.ini for consistency
  • Loading branch information
bxparks committed Apr 2, 2021
1 parent 1dc1bfb commit a648173
Showing 1 changed file with 52 additions and 22 deletions.
74 changes: 52 additions & 22 deletions tests/auniter.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# ----------------------------------------------------------------------------
# AUniter top level configs.
# Configuration file for https://github.com/bxparks/AUniter which provides a
# convenient command line wrapper around the Arduino IDE or Arduino CLI.
#
# These are the hardware platforms which have been validated for this library.
# ----------------------------------------------------------------------------

# ----------------------------------------------------------------------------
# AUniter top level configs.
#
# Recognized parameters:
# * monitor
# * port_timeout (default 120)
# * baud (default 115200)
# ----------------------------------------------------------------------------

[auniter]
monitor = picocom -b $baud --omap crlf --imap lfcrlf --echo $port
# monitor = microcom -s $baud -p $port
Expand All @@ -14,7 +22,6 @@
# Board aliases
# ----------------------------------------------------------------------------

# Board aliases
[boards]
# "Arduino/Genuino Uno"
uno = arduino:avr:uno
Expand All @@ -24,16 +31,21 @@
promicro16 = SparkFun:avr:promicro:cpu=16MHzatmega32U4
# "Arduino/Genuino Mega or Mega2560"
mega = arduino:avr:mega:cpu=atmega2560
# "Arduino/Genuino Zero (Native USB Port)", identifies as ARDUINO_SAMD_ZERO
zero = arduino:samd:arduino_zero_native
# "SparkFun SAMD21 Mini Breakout", also identifies as ARDUINO_SAMD_ZERO
# "SparkFun SAMD21 Mini Breakout"
samd = SparkFun:samd:samd21_mini
# "Arduino MKR1000"
mkr1000 = arduino:samd:mkr1000
# STM32 generic blue pill F103C8, using HID bootloader. As noted on many
# websites, many Blue Pill boards comes with 128kB of flash instead of
# 64kB, and it seems like my boards support 128kB. So let's define the board to
# be an F103CB not F103C8 ('b' not 'eight') to get access to that 128kB.
stm32 = STM32:stm32:GenF1:pnum=BLUEPILL_F103CB,upload_method=hidMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=osstd,rtlib=nano
# "NodeMCU 1.0 (ESP-12E)" for generic ESP8266 module
nodemcuv2 = esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,eesz=4M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600
nodemcuv2 = esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,ssl=all,eesz=4M2M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600
# "ESP32 Dev Module" for EzSBC ESP32 board
esp32 = esp32:esp32:esp32:PartitionScheme=default,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none
# STM32 generic blue pill F103C8, using HID bootloader
stm32 = STM32:stm32:GenF1:pnum=BLUEPILL_F103C8,upload_method=hidMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=osstd,rtlib=nano
esp32 = esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none
# Teensy 3.2
teensy32 = teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=en-us

# ----------------------------------------------------------------------------
# Environments. Valid parameters of the [env:{environment}] section:
Expand All @@ -42,41 +54,59 @@
# locking = (true | false) - whether to use flock to lock the /dev/tty port
# exclude = egrep regular expression of files to exclude. Multiple files can be
# specified using the '(a|b)' pattern supported by egrep.
# preprocessor = Space-separated list of preprocessor symbols
# (MACRO MACRO=value MACRO="string value")
# preprocessor = flags for the C-preprocessor, e.g. '-D {macro=value}' flags
# ----------------------------------------------------------------------------

[env:uno]
board = uno
preprocessor = -D AUNITER_UNO

[env:nano]
board = nano
preprocessor = -D AUNITER_NANO

[env:micro]
board = promicro16
locking = false
preprocessor = -D AUNITER_MICRO

# Mini Mega 2560 board
# Mini Mega 2560 board.
[env:mega]
board = mega
preprocessor = -D AUNITER_MEGA

# Arduino Zero
[env:zero]
board = zero
locking = false

# SAMD M0 Mini chinese clone
# SAMD M0 Mini pretending to be a SparkFun Mini breakout board.
# SERIAL_PORT_MONITOR is correctly defined but the USB port keeps flaking out
# when running multiple tests.
[env:samd]
board = samd
locking = false
preprocessor = -D AUNITER_SAMD

# Arduino MKR1000
[env:mkr1000]
board = mkr1000
locking = false
preprocessor = -D AUNITER_MKR1000

[env:esp8266]
# An STM32 generic blue pill with an F103C8.
[env:stm32]
board = stm32
locking = false
preprocessor = -D AUNITER_STM32

# Node MCU v2
[env:nodemcu]
board = nodemcuv2
preprocessor = -D AUNITER_ESP8266 -D WIFI_SSID="" -D WIFI_PASSWORD=""

# ESP32
[env:esp32]
board = esp32
preprocessor = -D AUNITER_ESP32 -D WIFI_SSID="" -D WIFI_PASSWORD=""

[env:stm32]
board = stm32
# Teensy 3.2
[env:teensy32]
board = teensy32
locking = false
preprocessor = -D AUNITER_STM32 -D WIFI_SSID="" -D WIFI_PASSWORD=""
preprocessor = -D AUNITER_TEENSY32

0 comments on commit a648173

Please sign in to comment.