File tree 2 files changed +40
-0
lines changed
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1
1
menu "Arduino Configuration"
2
2
3
+ choice MONITOR_BAUD
4
+ prompt "Monitor baud rate"
5
+ default MONITOR_BAUD_115200B
6
+ help
7
+ Baud rate to use while monitoring the ESP chip.
8
+
9
+ config MONITOR_BAUD_9600B
10
+ bool "9600 bps"
11
+ config MONITOR_BAUD_57600B
12
+ bool "57600 bps"
13
+ config MONITOR_BAUD_115200B
14
+ bool "115200 bps"
15
+ config MONITOR_BAUD_230400B
16
+ bool "230400 bps"
17
+ config MONITOR_BAUD_921600B
18
+ bool "921600 bps"
19
+ config MONITOR_BAUD_2MB
20
+ bool "2 Mbps"
21
+ config MONITOR_BAUD_OTHER
22
+ bool "Custom baud rate"
23
+
24
+ endchoice
25
+
26
+ config MONITOR_BAUD_OTHER_VAL
27
+ int "Custom baud rate value" if MONITOR_BAUD_OTHER
28
+ default 115200
29
+
30
+ config MONITOR_BAUD
31
+ int
32
+ default 9600 if MONITOR_BAUD_9600B
33
+ default 57600 if MONITOR_BAUD_57600B
34
+ default 115200 if MONITOR_BAUD_115200B
35
+ default 230400 if MONITOR_BAUD_230400B
36
+ default 921600 if MONITOR_BAUD_921600B
37
+ default 2000000 if MONITOR_BAUD_2MB
38
+ default MONITOR_BAUD_OTHER_VAL if MONITOR_BAUD_OTHER
39
+
3
40
config AUTOSTART_ARDUINO
4
41
bool "Autostart Arduino setup and loop on boot"
5
42
default "n"
Original file line number Diff line number Diff line change
1
+ #build with "make flash monitor" to upload and open serial monitor
2
+ monitor:
3
+ $(Q) miniterm.py --rts 0 --dtr 0 --raw $(ESPPORT) $(CONFIG_MONITOR_BAUD)
You can’t perform that action at this time.
0 commit comments