Commit graph

889 commits

Author SHA1 Message Date
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
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