-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rationalize Adafruit Feather infra, update docs (#145)
Use same board.txt format as other Adafruit boards. Add in quick note about the new USB stack to the docs.
- Loading branch information
1 parent
0100395
commit a0dac52
Showing
8 changed files
with
324 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,32 @@ | ||
USB Keyboard and Mouse | ||
====================== | ||
USB (Arduino and Adafruit_TinyUSB) | ||
================================== | ||
|
||
The Arduino-Pico core includes ported versions of the standard Arduino | ||
Two USB stacks are present in the core. Users can choose the simpler | ||
Pico-SDK version or the more powerful Adafruit TinyUSB library. | ||
Use the ``Tools->USB Stack`` menu to select between the two. | ||
|
||
Pico SDK USB Support | ||
-------------------- | ||
This is the default mode and automatically includes a USB-based | ||
serial port, ``Serial`` as well as supporting automatic reset-to-upload | ||
from the IDE. | ||
|
||
The Arduino-Pico core includes ported versions of the basic Arduino | ||
``Keyboard`` and ``Mouse`` libraries. These libraries allow you to | ||
emulate a keyboard or mouse with the Pico in your sketches. | ||
|
||
See the examples and Arduino Reference at | ||
https://www.arduino.cc/reference/en/language/functions/usb/keyboard/ | ||
and | ||
https://www.arduino.cc/reference/en/language/functions/usb/mouse | ||
|
||
Adafruit TinyUSB Arduino Support | ||
-------------------------------- | ||
Examples are provided in the Adafruit_TinyUSB_Arduino for the more | ||
advanced USB stack. | ||
|
||
Please note that this stack requires sketches to manually call | ||
``Serial.begin(115200)`` to enable the USB serial port and automatic | ||
sketch upload from the IDE. If a sketch is run without this command | ||
in ``setup()``, the user will need to use the standard "hold BOOTSEL | ||
and plug in USB" method to enter program upload mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
|
||
// The normal, core0 setup | ||
void setup() { | ||
Serial.begin(); | ||
Serial.begin(115200); | ||
delay(5000); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.