Earle F. Philhower, III
dabc670c31
Add debug to assembly build
2021-03-20 13:38:58 -07:00
Earle F. Philhower, III
27d9ef70ab
Add library build and update via CLI
...
pico-sdk-lib/build.sh will compile a libpico.a file from scratch using
the selected pico SDK directory.
2021-03-20 12:19:38 -07:00
Earle F. Philhower, III
2a80cfaa7e
Fix build path
2021-03-20 11:33:38 -07:00
Earle F. Philhower, III
c11459afac
Add -g for debugging info to compile
2021-03-20 11:32:50 -07:00
Earle F. Philhower, III
304060cf1d
Initial scripting to auto-build libpico.a
2021-03-19 11:38:42 -07:00
Earle F. Philhower, III
76430b3d7d
Ensure Servo detach()es only on idle state
...
Avoid any short pulses which could cause servo twitches or damage by
adding a shutdown command to the PIO program and checking it's in that
safe part of the loop before detaching the servo.
2021-03-18 16:00:38 -07:00
Earle F. Philhower, III
ba0777e557
Add SPI debug dumps
2021-03-17 17:35:41 -07:00
Earle F. Philhower, III
6adb1a641c
Initial debugging framework
2021-03-17 10:54:13 -07:00
Earle F. Philhower, III
55429cedd0
Add printf() to SerialUSB/SerialUART
...
Arduino API doesn't support printf on Print objects, so bring our own.
2021-03-17 10:19:41 -07:00
Earle F. Philhower, III
c892443b5b
Adjust directories for cleaner use w/Arduino
...
/system is only downloaded tools
/tools is all scripts/submodules that are part of the main core
/lib is the linker libs
2021-03-17 08:33:51 -07:00
Earle F. Philhower, III
22d242d34a
Add interrupts/noInterrupts as a stack
2021-03-16 22:20:36 -07:00
Earle F. Philhower, III
c0a606510c
Clean up SPI library info
2021-03-16 22:11:16 -07:00
Earle F. Philhower, III
4ea383c0d7
Clean up SPI API, pin selection logic
2021-03-16 22:07:06 -07:00
Earle F. Philhower, III
ca7a219ee9
Clean up SPI library, add info
2021-03-16 21:44:17 -07:00
Earle F. Philhower, III
9f25417036
Add working default Fade example
2021-03-16 18:12:50 -07:00
Earle F. Philhower, III
ff55ce5455
Fix incorrect attribution in tone.pio
2021-03-16 18:02:53 -07:00
Earle F. Philhower, III
fc929abf19
Add note about PIO use
2021-03-16 17:56:56 -07:00
Earle F. Philhower, III
0647955a93
Use PIO to generate Tones, too
2021-03-16 17:55:57 -07:00
Earle F. Philhower, III
62508fa98c
Use one program per PIO, not per SM. Add RP2040 utils
2021-03-16 16:57:22 -07:00
Earle F. Philhower, III
65c81958f2
Windows upload fix, workaround pyserial quirk
2021-03-16 09:49:24 -07:00
Earle F. Philhower, III
ca99a6fa03
Merge branch 'master' of https://github.com/earlephilhower/arduino-pico
2021-03-16 09:30:14 -07:00
Earle F. Philhower, III
456e771501
Package pyserial up in toolchain
2021-03-16 09:29:39 -07:00
Earle F. Philhower, III
5ac0a175e1
Stop PIO PM on Servo detach
2021-03-16 09:26:45 -07:00
Earle F. Philhower, III
660fe19fec
Fix Windows compile/elf2uf2 errors
...
Windows is case-insensitive, causing "String.h" to override "string.h" in
includes. Adjust the platform.txt appropriately.
Rebuild elf2uf2 as static to avoid startup errors on Windows boxes w/o MinGW.
2021-03-16 08:53:50 -07:00
Earle F. Philhower, III
d4427f87ce
Add Servo library support, driven by the PIO SMs
2021-03-15 20:11:10 -07:00
Earle F. Philhower, III
912e010d3e
Add tone and noTone support
2021-03-15 13:20:34 -07:00
Earle F. Philhower, III
68b656a55e
Update USB serial to be a HW Serial
2021-03-13 12:22:41 -08:00
Earle F. Philhower, III
d47e5f52be
Update working list
2021-03-13 12:14:09 -08:00
Earle F. Philhower, III
f6fcfd147b
Add hardware Serial UARTs
2021-03-13 10:24:18 -08:00
Earle F. Philhower, III
afce691957
Add pulseIn/pulseInLong support
2021-03-13 09:09:48 -08:00
Earle F. Philhower, III
77e54882a6
Use package4s python3 interpreter across OSes
2021-03-12 21:50:49 -08:00
Earle F. Philhower, III
c319b79328
Remove hardcoded path
2021-03-12 21:34:35 -08:00
Earle F. Philhower, III
1caca1ec61
Add full OS support toolchain (ARM, MAC, WIN, LINUX)
2021-03-12 21:30:33 -08:00
Earle F. Philhower, III
129e59ab3c
Add EEPROM library, using last flash sector
2021-03-12 19:38:14 -08:00
Earle F. Philhower, III
f785f360a9
Fix and test I2C/Wire, works now
2021-03-12 17:39:57 -08:00
Earle F. Philhower, III
42347d6bdc
Update README with working stuff
2021-03-12 17:17:41 -08:00
Earle F. Philhower, III
76390705a5
Fix C++ type conflicts
2021-03-12 17:03:29 -08:00
Earle F. Philhower, III
ceef9c22f0
Add shiftIn and shiftOut
2021-03-12 16:14:58 -08:00
Earle F. Philhower, III
c30cb6d2f5
Add millis, micros, yield,SPI pin macros
...
Allows SdFat to compile cleanly, probably other SPI libraries.
2021-03-12 14:02:43 -08:00
Earle F. Philhower, III
4924cd9d35
Add I2C master support library
2021-03-12 13:23:27 -08:00
Earle F. Philhower, III
b3dad2ba62
Cleanup, add licenses to all files
2021-03-05 22:09:05 -08:00
Earle F. Philhower, III
0d8a475b6c
Merge branch 'master' of https://github.com/earlephilhower/arduino-pico
2021-03-05 21:45:31 -08:00
Earle F. Philhower, III
93d194b0ac
Add hardware SPI support
...
SPI = spi0, SPI1 = spi1
2021-03-05 21:44:40 -08:00
Earle F. Philhower, III
9496854291
Merge pull request #1 from earlephilhower/add-license-1
...
Create LICENSE
2021-03-02 17:56:45 -08:00
Earle F. Philhower, III
f9d0cb14ee
Create LICENSE
2021-03-02 17:56:36 -08:00
Earle F. Philhower, III
e4fa157077
Add USB PID/VID so IDE can auto-identify RPI Pico
...
Add in the USB ID to allow the Raspberry Pi Pico to be identified thru
the emulated serial (CDC ACM) port.
2021-03-01 15:28:35 -08:00
Earle F. Philhower, III
4ac271af72
Automatic script upload working, no buttons or fiddling
...
Add smarts to the UF2 uploader to potentially trigger a reboot if the
device passed in is /dev/tty* or COM*. Will cause reboot to USB
bootloader and standard UF2 upload will happen w/o any user
intervention.
2021-02-26 19:16:03 -08:00
Earle F. Philhower, III
77d7a26428
Reboot directly into USB bootloader on Serial reset
2021-02-26 18:47:39 -08:00
Earle F. Philhower, III
e0e0d9e115
Reboot using Arduino standard 1200bps/DTR=0
...
Allow the IDE to cause the chip to reboot when the Serial port is active
and the baud is set to 1200 followed by a DTR toggle. The user still
needs to hold the BOOTSEL button to enable the UF2 boot, for now.
2021-02-26 18:31:15 -08:00
Earle F. Philhower, III
ded383ed42
Use variants/generic to define pins
2021-02-26 13:05:29 -08:00