Skip to content

Commit 4c94366

Browse files
committed
move feather exception code into own directory
1 parent 058e55f commit 4c94366

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Once you have CircuitPython running, upload the files from the ```circuit-python
8585

8686
> [!NOTE]
8787
> If you're targeting a Feather rather than a flight controller board, then
88-
> copy `feather_code.py`
88+
> copy from ```circuit-python-lora-passthrough-feather``` instead.
8989
9090
```boot.py``` enables both virtual serial ports that the device presents over USB. This allows you to use one for the console and one for data. ```code.py``` acts as a LoRa radio forwarder over USB serial: The console port is used for logging and debugging, and is the first serial port that appears when the board is connected. The data port is used for actual data transfer, and is the second serial port.
9191

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""
2+
boot.py
3+
4+
This file helps to use an RP2350 CircuitPython environment as a passthrough for
5+
interacting with the radio and F Prime GDS. The usb_cdc.enable() function creates a
6+
USB serial endpoint that the GDS can connect to to receive all the data that is
7+
streamed out. The function has to be called in boot.py before the USB device is enabled.
8+
"""
9+
10+
import usb_cdc
11+
12+
usb_cdc.enable(console=True, data=True)

0 commit comments

Comments
 (0)