From 85723ea32fedc3db9f6a2379f460c8ffd5ce59ac Mon Sep 17 00:00:00 2001 From: Erik Nyquist Date: Fri, 21 Oct 2016 16:20:37 -0700 Subject: [PATCH] README.md: remove Serial1 debug information --- README.md | 18 ------------------ libraries/CurieBLE/README.md | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 libraries/CurieBLE/README.md diff --git a/README.md b/README.md index b437314b..a710c0f3 100644 --- a/README.md +++ b/README.md @@ -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\\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 diff --git a/libraries/CurieBLE/README.md b/libraries/CurieBLE/README.md new file mode 100644 index 00000000..3642943d --- /dev/null +++ b/libraries/CurieBLE/README.md @@ -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\\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 +