- 24 Jun, 2022 4 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
* Update to Adafruit_TinyUSB_Arduino 1.12.0 * DualRole requires add'l libraries, skip in CI
-
Earle F. Philhower, III authored
Fixes #651
-
Earle F. Philhower, III authored
Need to manually list the secrets to export to the environment.
-
- 23 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
-
- 21 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
-
- 20 Jun, 2022 5 commits
-
-
Earle F. Philhower, III authored
Minor change to keep the core all CPP. Patch just made it into pico-sdk develop branch allowing recursive mutexes to be auto_init in C++. Update and rebuild libpico.a.
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
There was a race condition in making mutexes that were only init in an __attribute((constructor)) code block. For example, a global object might do a `malloc` in its constructor which would depend on the malloc mutex...which may not yet have been initted. Make them initted in the .data section, instead, which is guaranteed good before any global constructors are called.
-
Earle F. Philhower, III authored
Fixes #643
-
Earle F. Philhower, III authored
Instead of wrapping the memory functions in the link stage, rebuild Newlib and enable retargetable locks. Override the weak definitions in the libc.a with our own, SDK based ones. The wrapping utilized before catches app-level memory allocations but misses allocations inside Newlib libc (like printf/etc.). Each core needs its own _impure_ptr or else crashes like the one seen in parallel printf_floats can happen. Enable it in the toolchain build and implement a simple swapper here. FreeRTOS SMP doesn't support Newlib's dynamic reent which is needed to allow save MT support. Minor patch to FreeRTOS and update the FreeRTOS variant.cpp and setup to support it.
-
- 19 Jun, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Fixes #582
-
- 17 Jun, 2022 4 commits
-
-
Earle F. Philhower, III authored
The realloc() wrapper was included in the develop branch of pico-sdk, so use it instead of a local, unreproducible version of the SDK. Should have no effect on code.
-
Maximilian Gerhardt authored
* Fix link display in PlatformIO Docs, Remove JLink warning * Remove unfinished sentence
-
Maximilian Gerhardt authored
* Shift arduino attribute higher in JSON file * Try out PlatformIO CI * Trigger CI * Clone recursively, actually use own repo * Fix YAML * Build Verbose * Revert to checkout@v2 version, add TinyUSB to examples * Try fix TInyUSB example * Pull repo recursively * Use v3 after all, correct path to example * Only do CI on PR
-
Maximilian Gerhardt authored
* Update board generation, use renamed function * Update documentation with new platform integration state * Remove accidentally pushed file * Use correct update command * Use correct highlighting * Use correct language * Add section on debugging * Add docs on filesystem, minor corrections * Use -iprefix in compilation, but still expose all include paths to IDE * Add exception and RTTI support, document them * Fix typo
-
- 16 Jun, 2022 1 commit
-
-
mnltake authored
-
- 15 Jun, 2022 2 commits
-
-
Pontus Oldberg authored
-
Ha Thach authored
-
- 14 Jun, 2022 4 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
The makever script sets up the repo properly, so no need to patch things in the package stage.
-
Earle F. Philhower, III authored
-
- 13 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
Remove MIDI support from the core's main TinyUSB. MIDI is still supported using the Adafruit TinyUSB library, just like before (the core never did use it). Compile the Pico-SDK using `-Os` Remove unneeded warning in UF2 upload Blink.ino shows a savings of 3.5KB flash and 400 bytes of RAM. For comparison, with this PR blink.ino reports: ```` Sketch uses 49908 bytes (3%) of program storage space. Maximum is 1568768 bytes. Global variables use 7024 bytes (2%) of dynamic memory, leaving 255120 bytes for local variables. Maximum is 262144 bytes. ```` As comparison, using the MBED core blink.ino reports: ```` Sketch uses 78882 bytes (0%) of program storage space. Maximum is 16777216 bytes. Global variables use 42780 bytes (15%) of dynamic memory, leaving 227556 bytes for local variables. Maximum is 270336 bytes. ```` So, with this PR we use **37% less flash** and and **87% less RAM** for simple sketches.
-
- 12 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
This PR includes a pico-sdk built using the fix in https://github.com/raspberrypi/pico-sdk/pull/864 To properly fix it requires a new pico-sdk release. but until then I am building against my own fork of pico-sdk and including the binary. When 1.3.2 is out (and assuming my PR is approved) I'll update the pico-sdk link. Fixes #614
-
- 11 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
Fixes a hang found while debugging #614. Do all memory allocations and USB descriptor setup in main code prior to `tusb_init()`. Avoids potential deadlock in cases where the app is allocating while the USB port is being set up.
-
- 10 Jun, 2022 3 commits
-
-
Earle F. Philhower, III authored
Fixes #620
-
Maximilian Gerhardt authored
-
Earle F. Philhower, III authored
When get.py is run in a script the percent-update printouts shown while downloading the toolchain end up as 100s to 1000s of lines in log files. When stdout is not a terminal, avoid printing these percentages and shrink logfiles significantly. Errors/etc. are still reported as normal.
-
- 09 Jun, 2022 2 commits
-
-
Earle F. Philhower, III authored
As noted in #615
-
Maximilian Gerhardt authored
-
- 07 Jun, 2022 3 commits
-
-
Earle F. Philhower, III authored
Free up 4K of RAM and 6K of flash when no exceptions are enables (default). The original toolchain was including exception code in libstdc++ by default. Reduce installation by ~50MB and download by ~25M by removing unused LTO gcc support.
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Fixes #609 and a niggling slowness in uploads. Try to find the drive in a loop for 10 seconds, instead of only checking once after 10 seconds. Avoid 100% CPU usage while waiting for Pico drive
-
- 06 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
Depends on new toolchain from https://github.com/earlephilhower/pico-quick-toolchain/pull/11 Fixes #251
-
- 05 Jun, 2022 4 commits
-
-
FeuerSturm authored
Slight difference to generic RP2040 PIN_SERIAL2_TX + PIN_SERIAL2_RX are switched with PIN_WIRE0_SDA + PIN_WIRE0_SCL
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Add plumbing to allow `Wire`, `Serial1`, `SPI1` to map to the 2nd hardware unit for devices where the PCB layout only brings out the 2nd port. Fix the Seeedstudio XAIO pins Fixes #594
-