Skip to content

Commit 2bb7d4b

Browse files
committed
README.md: remove Serial1 debug information
1 parent 205c1e4 commit 2bb7d4b

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

README.md

-18
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,3 @@ them to the [support forum](https://forum.arduino.cc/index.php?board=103).
5757
> "How do I use this library?"
5858
5959
> "I can't get this example sketch to work. What am I doing wrong?"
60-
61-
# Enable debug interface on Serail1
62-
63-
* Default disable the debug interface.
64-
65-
If you want to enable debug trace on Serial1 to debug corelib, follow these instructions.
66-
67-
1. Shut down the IDE
68-
2. Go to Arduino15 directory
69-
* Windows: `C:\Users\<user>\AppData\Roaming\Arduino15`
70-
* OS X: `~/Library/Arduino15`
71-
* Linux: `~/.arduino15`
72-
3. Modify the platform.txt
73-
* Find `compiler.c.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
74-
* Find `compiler.cpp.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
75-
4. Initial Serial1 in your sketch
76-
* Add `Serial1.begin(115200);` in your `setup()`
77-
5. Adjust the output level at log_init function in log.c

libraries/CurieBLE/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Enable debug interface on Serail1
2+
3+
* Default disable the debug interface.
4+
5+
If you want to enable debug trace on Serial1 to debug corelib, follow these instructions.
6+
7+
1. Shut down the IDE
8+
2. Go to Arduino15 directory
9+
* Windows: `C:\Users\<user>\AppData\Roaming\Arduino15`
10+
* OS X: `~/Library/Arduino15`
11+
* Linux: `~/.arduino15`
12+
3. Modify the platform.txt
13+
* Find `compiler.c.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
14+
* Find `compiler.cpp.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
15+
4. Initial Serial1 in your sketch
16+
* Add `Serial1.begin(115200);` in your `setup()`
17+
5. Adjust the output level at log_init function in log.c
18+

0 commit comments

Comments
 (0)