Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77d615b

Browse filesBrowse files
authored
Merge pull request #33 from Air-duino/fix/Redirect
fix: 将默认的Serial串口重定向从UART2修改为UART1,更符合直觉
2 parents f36d2dc + e98aa7f commit 77d615b
Copy full SHA for 77d615b

File tree

Expand file treeCollapse file tree

4 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-5
lines changed

‎platform.txt

Copy file name to clipboardExpand all lines: platform.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Air MCU
2-
version=0.2.0
2+
version=0.4.0
33

44
## compiler variables 编译器的路径
55
compiler.path={runtime.tools.xpack-arm-none-eabi-gcc.path}/bin/

‎variants/AIR001/AIR001_DEV/variant_generic.h

Copy file name to clipboardExpand all lines: variants/AIR001/AIR001_DEV/variant_generic.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122

123123
// UART Definitions
124124
#ifndef SERIAL_UART_INSTANCE
125-
#define SERIAL_UART_INSTANCE 2
125+
#define SERIAL_UART_INSTANCE 1
126126
#endif
127127

128128
// Default pin used for generic 'Serial' instance

‎variants/AIR001/AirM2M_Air001_Board/variant_generic.h

Copy file name to clipboardExpand all lines: variants/AIR001/AirM2M_Air001_Board/variant_generic.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
// On-board LED pin number
7474
#ifndef LED_BUILTIN
75-
#define LED_BUILTIN PNUM_NOT_DEFINED
75+
#define LED_BUILTIN PB1
7676
#endif
7777

7878
// On-board user button
@@ -122,7 +122,7 @@
122122

123123
// UART Definitions
124124
#ifndef SERIAL_UART_INSTANCE
125-
#define SERIAL_UART_INSTANCE 2
125+
#define SERIAL_UART_INSTANCE 1
126126
#endif
127127

128128
// Default pin used for generic 'Serial' instance

‎variants/AIR32F103/F103CB/variant_generic.h

Copy file name to clipboardExpand all lines: variants/AIR32F103/F103CB/variant_generic.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132

133133
// UART Definitions
134134
#ifndef SERIAL_UART_INSTANCE
135-
#define SERIAL_UART_INSTANCE 2
135+
#define SERIAL_UART_INSTANCE 1
136136
#endif
137137

138138
// Default pin used for generic 'Serial' instance

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.