-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathauniter.ini
123 lines (108 loc) · 4.35 KB
/
auniter.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# ----------------------------------------------------------------------------
# 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
# ----------------------------------------------------------------------------
# Board aliases
# ----------------------------------------------------------------------------
[boards]
# "Arduino/Genuino Uno"
uno = arduino:avr:uno
# "Arduino Nano ATmega328P (Old Bootloader)"
nano = arduino:avr:nano:cpu=atmega328old
# "SparkFun Pro Micro" 16MHz
promicro16 = SparkFun:avr:promicro:cpu=16MHzatmega32U4
# "Arduino/Genuino Mega or Mega2560"
mega = arduino:avr:mega:cpu=atmega2560
# "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 = STMicroelectronics: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,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: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:
#
# board = {alias} - board alias from [boards] action
# 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")
# ----------------------------------------------------------------------------
[env:uno]
board = uno
preprocessor = -D AUNITER_UNO
exclude = HelloNtpClock
[env:nano]
board = nano
preprocessor = -D AUNITER_NANO
exclude = HelloNtpClock
[env:micro]
board = promicro16
locking = false
preprocessor = -D AUNITER_MICRO
exclude = HelloNtpClock
# Mini Mega 2560 board.
[env:mega]
board = mega
preprocessor = -D AUNITER_MEGA
exclude = HelloNtpClock
# 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
exclude = HelloNtpClock
# Arduino MKR1000
[env:mkr1000]
board = mkr1000
locking = false
preprocessor = -D AUNITER_MKR1000
exclude = HelloNtpClock
# An STM32 generic blue pill with an F103C8.
[env:stm32]
board = stm32
locking = false
preprocessor = -D AUNITER_STM32
exclude = HelloNtpClock
# Disable ComparisonBenchmark on ESP8266 due to broken Arduino Time Library.
[env:nodemcu]
board = nodemcuv2
preprocessor = -D AUNITER_ESP8266 -D WIFI_SSID="" -D WIFI_PASSWORD=""
exclude = ComparisonBenchmark
# Disable ComparisonBenchmark on ESP8266 due to broken Arduino Time Library.
[env:esp32]
board = esp32
preprocessor = -D AUNITER_ESP32 -D WIFI_SSID="" -D WIFI_PASSWORD=""
exclude = ComparisonBenchmark
# Teensy 3.2
[env:teensy32]
board = teensy32
locking = false
preprocessor = -D AUNITER_TEENSY32
exclude = HelloNtpClock