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
1314aeb760
Ser F_CPU macro, remove linker align warnings
2021-03-26 14:07:25 -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
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
e96df9febb
Clean up unused platform.txt
2021-03-21 10:37:39 -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
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
afb0915f9f
Remove redundant -Os from command lines
2021-03-20 19:40: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
c11459afac
Add -g for debugging info to compile
2021-03-20 11:32:50 -07:00
Earle F. Philhower, III
6adb1a641c
Initial debugging framework
2021-03-17 10:54:13 -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
65c81958f2
Windows upload fix, workaround pyserial quirk
2021-03-16 09:49:24 -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
77e54882a6
Use package4s python3 interpreter across OSes
2021-03-12 21:50:49 -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
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
93d194b0ac
Add hardware SPI support
...
SPI = spi0, SPI1 = spi1
2021-03-05 21:44:40 -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
1c9e565833
Add API dir to include path
...
Things like Print.h and String.h live in cores/XXX/api now, make sure
GCC includes that path by default.
2021-02-25 18:57:40 -08:00
Earle F. Philhower, III
369dea88ba
Add Serial(USB) support
...
Serial via USB /dev/ttyACM0 now works using standalone minicom terminal
app but not via the IDE's serial monitor.
2021-02-25 17:07:42 -08:00
Earle F. Philhower, III
87bd64cf2a
Add package.json and tools listing
2021-02-24 21:34:29 -08:00
Earle F. Philhower, III
44c586795b
Initial commit, basic sanity
...
Some paths hardcoded to my custom toolchain build dir, will be updated
to a package.json tools setup soon.
https://github.com/earlephilhower/pico-quick-toolchain
Blink and Fade examples work (i.e. digitalWrite/analogWrite/delay).
Includes a discovery script which will detect RPI Picos in UF2 bootmode.
2021-02-24 20:31:13 -08:00