Earle F. Philhower, III
ec6c8dcda1
Always enable USB serial port for reset
...
To allow for uploads when sketches don't manually start the Serial port,
start the USB port always in main().
2021-03-28 17:49:59 -07:00
Earle F. Philhower, III
24bfb00571
Add LittleFS Filesystem and File:: interface
...
Pull in the ESP8266 File/Dir/etc. filesystem and port LittleFS to the
RP2040.
2021-03-28 15:58:17 -07:00
Earle F. Philhower, III
01743c86a0
Merge pull request #47 from earlephilhower/except
...
Fix Pyton on RPI, EEPROM start address in LD file
2021-03-28 15:44:00 -07:00
Earle F. Philhower, III
9d9d9ebcd4
Fix Pyton on RPI, EEPROM start address in LD file
2021-03-28 15:42:35 -07:00
Earle F. Philhower, III
4cf6d90acc
Merge pull request #45 from earlephilhower/rpi
...
Add Raspberry Pi binaries, OpenOCD, and new boards
2021-03-28 13:06:46 -07:00
Earle F. Philhower, III
e17b0f6a29
Add Raspberry Pi binaries, OpenOCD, and new boards
2021-03-28 13:05:31 -07:00
Earle F. Philhower, III
24b990cc0d
Update README.md
2021-03-28 11:34:16 -07:00
Earle F. Philhower, III
95e9a3d420
Update README.md
2021-03-28 11:03:55 -07:00
Earle F. Philhower, III
6a77b2d148
Merge pull request #44 from earlephilhower/feather
...
Adafruit Feather, overclocking, flash FS shims
2021-03-28 10:59:35 -07:00
Earle F. Philhower, III
b2cef8d8d6
Adafruit Feather, overclocking, flash FS shims
...
Add support for Adafruit Feather RP2040 (8MB). Identified with a unique
USB PID so it displays properly once programmed one time. Moved LED to
pin 13 (per the website docs), but have no board to test.
Add over/underclocking menus, applied at boot. Use at your own risk, as
usual.
Add shims to allocate flash space for a filesystem (but not implemented
yet).
Add a "generic" RP2040 board
2021-03-28 10:56:53 -07:00
Earle F. Philhower, III
33dc16d033
Merge pull request #40 from earlephilhower/i2c0
...
Fix INPUT_PULLUP/DOWN, I2C 0-len probes, timeout
2021-03-27 21:31:33 -07:00
Earle F. Philhower, III
4076bf85ab
Fix INPUT_PULLUP/DOWN, I2C 0-len probes, timeout
...
Fix the drive logic for pullup and pulldown inputs.
Add a bitbanged I2C ACK checker for 0-byte I2C transfers (since the HW
doesn't support it).
Add a timeout on I2C reads and writes so they don't hang forever if a
device is not present.
Fixes #38
2021-03-27 19:50:31 -07:00
Earle F. Philhower, III
b90a2c3b57
Merge pull request #39 from earlephilhower/slave
...
Add I2C slave support and include a simple example
2021-03-27 15:09:33 -07:00
Earle F. Philhower, III
73336ddda3
Add I2C slave support and include a simple example
...
Also fix the initial pins for the 2nd I2C interface onboard.
2021-03-27 15:07:10 -07:00
Earle F. Philhower, III
09ec5e0d22
Refactor USB/UART mutexes, code cleanup, CoreMutex addition
...
Add a CoreMutex class which implements a deadlock-safe mutex and reqork
the SerialUSB and SerialUART classes to use it to synchronize output
when in a multicore sketch.
2021-03-27 09:41:23 -07:00
Earle F. Philhower, III
2464d60400
Merge pull request #36 from earlephilhower/libp1
...
Remove stdio hacks from libpico.a
2021-03-27 08:15:20 -07:00
Earle F. Philhower, III
90ba9424d2
Remove stdio hacks from libpico.a
...
Fixes #35
2021-03-27 08:14:07 -07:00
Earle F. Philhower, III
a28d6dadf0
Merge branch 'master' of https://github.com/earlephilhower/arduino-pico
2021-03-27 06:59:26 -07:00
Earle F. Philhower, III
647ec7e221
Add WMath random functions
...
Fixes #34
2021-03-27 06:57:57 -07:00
Earle F. Philhower, III
35bf05bbd5
Update README.md
2021-03-26 17:57:40 -07:00
Earle F. Philhower, III
ddb11ccf6f
Merge pull request #33 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2021-03-26 17:56:51 -07:00
The Gitter Badger
246388cec0
Add Gitter badge
2021-03-27 00:54:14 +00:00
Earle F. Philhower, III
c50f1ded35
Fix printf/scanf of float and doubles
...
Needed to fix link stage to pull in `%f` formatting support.
Fixes #32
2021-03-26 16:55:13 -07:00
Earle F. Philhower, III
7cde0a3fc1
Merge pull request #31 from earlephilhower/addinfo
...
Add project size to compile output. Thanks to @vslinuxdotnet for the work!
2021-03-26 16:06:31 -07:00
Earle F. Philhower, III
6062ba901e
Add project size to compile output
...
Thanks to @vslinuxdotnet for digging into this! Adds the compiled
sketch RAM and flash usage to the output.
Fixes #17
2021-03-26 16:03:57 -07:00
Earle F. Philhower, III
c71973e421
Merge pull request #30 from earlephilhower/fcpu
...
Set F_CPU macro, remove linker align warnings
2021-03-26 15:10:05 -07:00
Earle F. Philhower, III
1314aeb760
Ser F_CPU macro, remove linker align warnings
2021-03-26 14:07:25 -07:00
Earle F. Philhower, III
b2da83a24e
Merge pull request #26 from earlephilhower/pergpio
...
Fix attachInterrupt to handle single GPIO callback
2021-03-26 09:43:47 -07:00
Earle F. Philhower, III
d68bd8c803
Add Windows install notes
2021-03-26 08:11:50 -07:00
Earle F. Philhower, III
1926473f5b
Avoid compile error when debug port unspecified
...
Fixes #23
2021-03-26 08:04:32 -07:00
Earle F. Philhower, III
b96c37164e
Fix attachInterrupt to handle single GPIO callback
...
The Pico SDK only supports a single callback pointer for all GPIO
interrupt pins. So we need to track the individual pin-to-CB map
ourselves and dispatch from our own internal callback routine.
Fixes #25
2021-03-26 07:56:44 -07:00
Earle F. Philhower, III
ac867d7159
Merge pull request #22 from earlephilhower/attache
...
Add attach/detachInterrupt support
2021-03-26 00:48:50 -07:00
Earle F. Philhower, III
09b5693f32
Add attach/detachInterrupt support
...
Fixes #21
2021-03-25 20:01:48 -07:00
Earle F. Philhower, III
784217b025
Add reference to cool Tom's Hardware guide
2021-03-25 18:05:28 -07:00
Earle F. Philhower, III
b463825374
Rationalize pin selection using readable template
...
Use a constexpr template to calculate the valid pins for different IO
hardware. This lets us have an easily readable list of pin numbers that
we can adjust/check.
2021-03-25 17:54:46 -07:00
Earle F. Philhower, III
4c76137f24
Merge pull request #19 from earlephilhower/serialevt
...
Add serialEvent support for USB, UART0, UART1
2021-03-25 12:47:42 -07:00
Earle F. Philhower, III
c4bbccdead
Add serialEvent support for USB, UART0, UART1
2021-03-25 12:42:05 -07:00
Earle F. Philhower, III
1f081150ba
Merge pull request #12 from me-no-dev/picoprobe-support
...
Clean up gitignore, debug port configuation. PicoProbe support began.
2021-03-25 07:02:34 -07:00
Earle F. Philhower, III
ac19051a83
Move picoprobe changes to #12
2021-03-25 07:00:25 -07:00
Earle F. Philhower, III
d0b16206ef
Move picoprobe board to pr #12
2021-03-25 06:58:27 -07:00
Earle F. Philhower, III
7be7cda28a
Update README.md
2021-03-24 19:37:34 -07:00
Earle F. Philhower, III
8e937aefd2
Update README.md
2021-03-24 19:35:04 -07:00
Earle F. Philhower, III
fa1a954767
Merge pull request #14 from earlephilhower/noniso
...
Add non-standard library calls used by String
2021-03-24 12:50:14 -07:00
Earle F. Philhower, III
1a5d044e25
Add non-standard library calls used by String
...
Borrowed from https://github.com/esp8266/Arduino , include dtostrf() and
others.
Fixes #13
2021-03-24 12:49:14 -07:00
me-no-dev
d3c2e3b98a
Actually start the default debug port instead of USB CDC
...
for the cases where one of the UARTs is used.
2021-03-24 18:53:15 +02:00
Earle F. Philhower, III
aa110a6e4f
Fix Arduino Serial monitor output
...
Thanks to @me-no-dev, the serial monitor issue was traced down to
DTR/RTS settings in boards.txt. Clean those up and the monitor seems to
work perfectly now.
2021-03-24 09:53:15 -07:00
me-no-dev
bbf3fde9c5
Add support for loading with PicoProbe
...
OpenOCD still needs to be added for this to work :)
2021-03-24 18:50:43 +02:00
Earle F. Philhower, III
1138d822bf
Increase SerialUSB maximum transfer speed
...
Use chunks not bytes to transfer data to host, like in the serial_usb
SDK.
2021-03-24 08:32:34 -07:00
Earle F. Philhower, III
0eba6f09cd
Update to pico-sdk v1.1.0
2021-03-24 08:00:08 -07:00
Earle F. Philhower, III
ca20390747
Add API symlink for git users
...
Add a symlink to the repo to point to the ArduinoAPI submodule instead
of requiring manual addition after athe first `git clone`.
2021-03-24 07:46:46 -07:00