Commit Graph

8 Commits

Author SHA1 Message Date
Andrew Scheller
0a940b8915
Add some extra defines to customise behaviour of STDIO_USB_RESET modes (#226)
* Add some extra defines to customise behaviour of STDIO_USB_RESET modes

* Tweaks to STDIO_USB_RESET defines
2021-03-04 19:01:30 -06:00
Andrew Scheller
967cbc5c3d
Fixup PICO_CONFIG entries (#208)
* remove default=undefined
 * fix a couple of typos / syntax "errors"
 * perform even better default-value-checking in extract_configs.py
2021-03-02 15:37:46 -06:00
Andrew Scheller
d55d3a79bc Typo
Set correct name in PICO_CONFIG line for PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE
2021-03-01 09:25:09 -06:00
graham sanderson
73751b89d1 Add support for resetting RP2040 via the USB connection when using pico_stdio_usb
- setting baud rate to magic value (default=1200) will cause a reset to BOOTSEL mode
	- a VENDOR interface along side the CDC interface can be used to reset via refular flash boot, or into
	  BOOTSEL mode with control for the reset_usb_boot parameters for the latter
either method can be configured/enabled/disabled via #define
2021-03-01 08:36:29 -06:00
Luke Wren
b34995a549 Add missing extern "C" to header files (closes #104) 2021-02-11 11:25:55 -06:00
Brian Swetland
ebb228bfea Clean up various C source and headers to appease -Wstrict-prototypes
In C, func() is a function taking an unspecified number of arguments,
vs func(void) a function taking no arguments. In C++ both forms indicate
"no arguments."

Update these headers to use the (void) form, which is correct in both
languages and avoids complaints when -Wstrict-prototypes is specified.
2021-02-08 12:46:05 -06:00
graham sanderson
143657b875 Standardise references to the Raspberry Pi Pico SDK 2021-01-30 10:32:31 -06:00
graham sanderson
26653ea81e Initial Release 2021-01-20 10:44:27 -06:00