5 Commits

Author SHA1 Message Date
cecio
7cfedce646 bump to release 0.18.2 2024-07-07 12:23:07 +02:00
cecio
f6de47e149 bump to release 0.18.1 2024-05-19 22:23:59 +02:00
cecio
4d730aecdb Update README.md 2024-05-05 22:25:51 +02:00
cecio
44e98ad924 Update README.md 2024-05-05 22:18:23 +02:00
cecio
7d218c974d commented PIWATCH define for default compilation 2024-05-05 11:54:09 +02:00
6 changed files with 20 additions and 8 deletions

View File

@@ -24,11 +24,11 @@ RUN cd /app \
&& export PATH=$PATH:/app/arduino-cli/bin \
&& arduino-cli --additional-urls https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json core search 2040 \
&& arduino-cli --additional-urls https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json core install rp2040:rp2040 \
&& arduino-cli lib install "Adafruit TinyUSB Library" \
&& arduino-cli lib install "Adafruit SSD1306" \
&& arduino-cli lib install "Pico PIO USB" \
&& arduino-cli lib install "XxHash_arduino" \
&& arduino-cli lib install "GFX Library for Arduino"
&& arduino-cli lib install "Adafruit TinyUSB Library@3.3.1" \
&& arduino-cli lib install "Adafruit SSD1306@2.5.10" \
&& arduino-cli lib install "Pico PIO USB@0.5.3" \
&& arduino-cli lib install "XxHash_arduino@2.1.0" \
&& arduino-cli lib install "GFX Library for Arduino@1.4.7"
# Compilation setup
RUN echo "#!/bin/bash" > /app/entrypoint.sh \

View File

@@ -190,7 +190,7 @@ I grouped most of the variables you may want to modify in this section ([see Doc
Obviously you can also build your own firmware. To build the *standard* one I used:
- Arduino IDE `2.3.2`
- `Adafruit TinyUSB Library` version `3.1.4`, `Pico-PIO-USB` version `0.5.2`, Board `Raspberry Pi RP2040 (3.8.0)` setting Tools=>CPU Speed at `120MHz` and Tools=>USB Stack to `Adafruit TinyUSB`
- `Adafruit TinyUSB Library` version `3.1.4`, `Pico-PIO-USB` version `0.5.2`, Board `Raspberry Pi RP2040 (3.8.1)` setting Tools=>CPU Speed at `120MHz` and Tools=>USB Stack to `Adafruit TinyUSB`
- `Adafruit_SSD1306` OLED library version `2.5.10`
If you want to re-create a new fake filesystem, you may want to have a look to the `utils` folder, where I placed some utilities to build a new one.
@@ -214,6 +214,12 @@ If you have ideas or improvements in your mind, I encourage you to open an issue
If you have question or need support you can open an `Issue` here or reach me out on Twitter/X [@red5heep](https://twitter.com/red5heep)
### Community versions
The Community created some forks implementing support for other boards, or other modifications. **Thank you to everyone** who contributed to the development of **USBvalve**.
Here below an unofficial/incomplete/unsupported list:
- [USBvalve-tbfa-Mod](https://github.com/TryBreakFixAgain/USBvalve-tbfa-Mod)
## SAFETY WARNING
> [!WARNING]

View File

@@ -21,7 +21,7 @@
// Uncomment the following to compile for the RP2040 based TFT round display
// https://www.raspberrypi.com/news/how-to-build-your-own-raspberry-pi-watch/
#define PIWATCH
//#define PIWATCH
#include <pio_usb.h>
#include "Adafruit_TinyUSB.h"
@@ -116,7 +116,7 @@ bool activeState = false;
//
// USBvalve globals
//
#define VERSION "USBvalve - 0.18.0"
#define VERSION "USBvalve - 0.18.2"
boolean readme = false;
boolean autorun = false;
boolean written = false;
@@ -423,6 +423,9 @@ void printout(const char *str)
} else {
gfx->print(str);
}
// Output on serial device
SerialTinyUSB.println(str);
}
#else
@@ -457,6 +460,9 @@ void printout(const char *str)
checkAndScroll();
display.print(str);
display.display();
// Output on serial device
SerialTinyUSB.println(str);
}
#endif