Commit graph

1061 commits

Author SHA1 Message Date
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
Earle F. Philhower, III
9976d638b0 Fix EEPROM::begin missing underscore
Added size validation to the EEPROM begin, but forgot to set the class
variable with the new adjusted size.
Fixes #10
2021-03-24 03:20:18 -07:00
Earle F. Philhower, III
d51511f6c4 Add missing wiring_private.h
Forgot to `git add` a wiring file.  Fixes #11
2021-03-24 02:38:03 -07:00
Earle F. Philhower, III
75cb30ee93 Clean up release, make slightly more automated 2021-03-23 18:56:05 -07:00
Earle F. Philhower, III
c1cd0d87db
Merge pull request #9 from earlephilhower/tocdc
Use CDC class for the USB serial port
2021-03-23 18:45:37 -07:00
Earle F. Philhower, III
058e9e245f Use CDC class for the USB serial port
Fixes #8 and some other weirdness seen when going between computers.
Use the CDC and not MISC class to identify the Pico
2021-03-23 18:32:29 -07:00
Earle F. Philhower, III
f34dcac1e7
Merge pull request #7 from earlephilhower/spaced
Allow for spaces in paths of the platform/core/etc.
2021-03-23 17:38:04 -07:00
Earle F. Philhower, III
40e0144195 Allow for spaces in paths of the platform/core/etc.
Properly quote all instances of file paths and runtime paths in the
platform file to ensure thathaving a username with spaces in it won't
break the compile.

Fixes #6
2021-03-23 16:48:32 -07:00
Earle F. Philhower, III
a67f4ca226 Add micros() call 2021-03-21 13:50:19 -07:00
Earle F. Philhower, III
f588ca7a41
Update README.md 2021-03-21 12:09:22 -07:00
Earle F. Philhower, III
3c00159675
Update README.md 2021-03-21 12:07:27 -07:00
Earle F. Philhower, III
c0276bc170
Update README.md 2021-03-21 11:57:48 -07:00
Earle F. Philhower, III
057877fb5b
Update README.md 2021-03-21 11:56:31 -07:00
Earle F. Philhower, III
b30c45e596 Fix my name, d'oh! 2021-03-21 11:47:15 -07:00
Earle F. Philhower, III
cb57c0dd94 Fix upload platform.txt patch 2021-03-21 11:44:00 -07:00
Earle F. Philhower, III
6efc101302 Merge branch 'master' of https://github.com/earlephilhower/arduino-pico 2021-03-21 11:41:45 -07:00
Earle F. Philhower, III
48c6b033e5 Fix packager 2021-03-21 11:38:49 -07:00
Earle F. Philhower, III
17847a8fbc Add missing file 2021-03-21 11:38:20 -07:00
Earle F. Philhower, III
6f915a901d Remove library warning in rp2040 dir 2021-03-21 11:27:37 -07:00
Earle F. Philhower, III
e96df9febb Clean up unused platform.txt 2021-03-21 10:37:39 -07:00
Earle F. Philhower, III
0ae35a30e2
Update index.md 2021-03-21 10:27:55 -07:00
Earle F. Philhower, III
d4dd881be1 Set theme jekyll-theme-slate 2021-03-21 10:27:27 -07:00
Earle F. Philhower, III
50d68f0bec Update SN in USBN device using the device ID 2021-03-21 08:55:37 -07:00
Earle F. Philhower, III
df20f11c8c
Update README.md 2021-03-21 07:33:24 -07:00
Earle F. Philhower, III
ce7ccd467b Use NEWLIB for all fcns, add porting syscalls, make ::print work
Allow ::print() to go to a serial port instead of dropping.
Will allow for full VFS/etc. with standard FILE semantics, or at least
::putc and ::getc on STDOUT/STDERR to work.
2021-03-20 21:28:23 -07:00
Earle F. Philhower, III
25d351f404 Remove PIO global headers from UART object 2021-03-20 20:17:08 -07:00
Earle F. Philhower, III
afb0915f9f Remove redundant -Os from command lines 2021-03-20 19:40:16 -07:00
Earle F. Philhower, III
e78f833851 Use well known TwoWire class name
Allows Adafruit GFX libraries to be used
2021-03-20 15:18:38 -07:00
Earle F. Philhower, III
8354ba238c Update README since status is much more stable 2021-03-20 14:10:16 -07:00