Skip to content

README.md: remove Serial1 debug information #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,3 @@ them to the [support forum](https://forum.arduino.cc/index.php?board=103).
> "How do I use this library?"

> "I can't get this example sketch to work. What am I doing wrong?"

# Enable debug interface on Serail1

* Default disable the debug interface.

If you want to enable debug trace on Serial1 to debug corelib, follow these instructions.

1. Shut down the IDE
2. Go to Arduino15 directory
* Windows: `C:\Users\<user>\AppData\Roaming\Arduino15`
* OS X: `~/Library/Arduino15`
* Linux: `~/.arduino15`
3. Modify the platform.txt
* Find `compiler.c.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
* Find `compiler.cpp.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
4. Initial Serial1 in your sketch
* Add `Serial1.begin(115200);` in your `setup()`
5. Adjust the output level at log_init function in log.c
18 changes: 18 additions & 0 deletions libraries/CurieBLE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Enable debug interface on Serail1

* Default disable the debug interface.

If you want to enable debug trace on Serial1 to debug corelib, follow these instructions.

1. Shut down the IDE
2. Go to Arduino15 directory
* Windows: `C:\Users\<user>\AppData\Roaming\Arduino15`
* OS X: `~/Library/Arduino15`
* Linux: `~/.arduino15`
3. Modify the platform.txt
* Find `compiler.c.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
* Find `compiler.cpp.flags` and add `-DCONFIGURE_DEBUG_CORELIB_ENABLED` at the end of this line
4. Initial Serial1 in your sketch
* Add `Serial1.begin(115200);` in your `setup()`
5. Adjust the output level at log_init function in log.c