Commit Graph

661 Commits

Author SHA1 Message Date
graham sanderson
f16af45f9e b0 sincos shim was incorrect, causing crash 2021-03-04 21:22:48 -06:00
Peter Lawrence
173d63ef8d elf2uf2: fix address range bug 2021-03-04 21:22:48 -06:00
graham sanderson
1822d113d9 elf2uf2: fix breakage for no_flash builds; removep 0xFFFFFFFF constantds and error messsage 2021-03-04 21:22:48 -06:00
Peter Lawrence
cfff23c5a3 elf2uf2: determine entry address selected by Boot ROM (Plan B) 2021-03-04 21:22:48 -06:00
Peter Lawrence
ef030701c9 elf2uf2: determine entry address selected by Boot ROM 2021-03-04 21:22:48 -06:00
Graham Sanderson
b53b0bac70 Bunch of small fixes (#154)
* use valid_params_if macro for lock assertion

* fixup param checking in pwm.h

* Fix range of fractional divider parameter check in pwm.h

Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-03-04 21:22:48 -06:00
Graham Sanderson
0732d0c2a3 Add more memory barriers to avoid code re-ordering issues with DMA (#155)
* Add more memory barriers to avoid code re-ordering issues with DMA

* Comment typos

* Fix Wstrict-prototype on __compiler_memory_barrier

* Remove now-redundant __compiler_barrier macro from hardware_flash

Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-03-04 21:22:48 -06:00
graham sanderson
4b7ffd71f0 add boot2 info to binary info 2021-03-04 21:22:48 -06:00
Jeremy Grosser
4639e75d0d pioasm: Ada output format 2021-03-04 21:22:48 -06:00
Andrew Scheller
7fea95386c REAMDE.md improvements
Fix the order of the steps (fixes #133) and make it clearer that step 2 is choose-just-one-option
2021-03-04 21:22:48 -06:00
Luke Wren
df3e9c9536 Missing comma in pioasm python wait output 2021-03-04 21:22:48 -06:00
Luke Wren
d492b72c29 Add pico_bootsel_via_double_reset library, fix #87 (#137)
* Add pico_bootsel_via_double_reset library, fix #87

* pico_bootsel_via_double_reset: remove unnecessary library guard, fix subdirectory ordering

* Fix C type used as PICO_CONFIG type
2021-03-04 21:22:48 -06:00
Graham Sanderson
0828178561 fixup not/reverse for pioasm python output (#146) 2021-03-04 21:22:48 -06:00
graham sanderson
dee8bd992c remove always true assertions (fix #83) 2021-03-04 21:22:48 -06:00
graham sanderson
18dbb5985c move two hardware_timer methods to the right doxygen group (fix #131) 2021-03-04 21:22:48 -06:00
graham sanderson
8b6d27d0e5 missing pico/malloc.h fixes #136 2021-03-04 21:22:48 -06:00
Graham Sanderson
6f94f6a3d7 Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
Luke Wren
a59fd524d5 Reword some confusing terms in pio.h doxygen 2021-03-04 21:22:48 -06:00
Luke Wren
2844e7ac2d Update info strings in PIO register header for clarity (matching changes in datasheet) 2021-03-04 21:22:48 -06:00
Luke Wren
6f7c539062 oops 2021-03-04 21:22:47 -06:00
Luke Wren
24e036bde0 Fix bad range check on sideset count in pio.h 2021-03-04 21:22:47 -06:00
Luke Wren
d4c9dced40 Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
Luke Wren
0f4a5f8e60 Document PWM double buffering behaviour in pwm.h doxygen 2021-03-04 21:22:47 -06:00
Luke Wren
eb4023e263 pwm.h typo: int16_t -> uint16_t (closes #109) 2021-03-04 21:22:47 -06:00
Luke Wren
539270feca pio.h doxygen fixes and clarifications (closes #114) 2021-03-04 21:22:47 -06:00
Luke Wren
2a243a33e2 Fix -Wsign-compare warnings 2021-03-04 21:22:47 -06:00
Liam Fraser
6d272c056a Mark usb buffer status registers as write clear instead of read only. 2021-03-04 21:22:47 -06:00
James Hughes
d2a13d0366 Added version number of SDK to Doxygen navigation pane 2021-03-04 21:22:47 -06:00
Brian Swetland
a362925eda 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-03-04 21:22:47 -06:00
Luke Wren
93c600736e Add enumvals to busctrl PERFSEL registers 2021-03-04 21:22:47 -06:00
graham sanderson
dd09c4ea4a add pico_unique_id to kitchen_sink app 2021-03-04 21:22:47 -06:00
Luke Wren
c7cf7cd728 Fix incorrect type in systick struct header vs machine-generated register header 2021-03-04 21:22:47 -06:00
Liam Fraser
5514401bf4 Restore GPIO15 state after modifying it for USB enumeration fix (#80)
Restore GPIO15 state after usb enumeration fix
Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-03-04 21:22:47 -06:00
Luke Wren
c44d5026db Add PICO_NO_FPGA_CHECK define to remove FPGA check and save some bytes 2021-03-04 21:22:47 -06:00
Luke Wren
4bad452517 Document clock SELECTED registers in headers and SVD 2021-03-04 21:22:47 -06:00
Andrew Scheller
5e5a1e1b26 Fix typo ;-) 2021-03-04 21:22:47 -06:00
Graham Sanderson
3c9a4168fe
tinyusb: restore correct version (#233) 2021-03-04 21:20:48 -06:00
Graham Sanderson
9c5d2963f6
change revision to 1.1.0 (#231) 2021-03-04 20:30:57 -06:00
Graham Sanderson
7f17a45f0b
Remove PICO_FLASH_SIZE_BYTES warning from header as it breaks any build with -Werror; actual uses that care should warn instead (#229) 2021-03-04 20:20:56 -06:00
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
0f119727c1
Add some extra defines to platform_defs.h (#227) 2021-03-04 12:52:42 -06:00
Andrew Scheller
c6a09bd495
Add PICO_DEFAULT_SPI pins to pico.h (#225)
(and define min and max values for some of the PICO_DEFAULT_* configs)
2021-03-04 08:46:14 -06:00
Andrew Scheller
a1856a91e4
Fix SDK to build cleanly if PICO_DEFAULT_UART isn't defined (#223) 2021-03-04 08:45:30 -06:00
James Hughes
ae2f040e86
Doxygen Updates (#117)
Fixed font for examples
Removed extraneous tag in DoxygenLayout.xml
More spacing on Doxygen version number, associated position change for seach boxes.
2021-03-04 08:43:26 -06:00
Andrew Scheller
1a471f13bd
Modify extract_configs.py to deal with _u(X) macros (#222) 2021-03-04 08:42:03 -06:00
graham sanderson
6390fe56ae use _u(0x800) insteand of 0x800u in platform_defs which is included by assembler 2021-03-03 15:43:46 +00:00
Andrew Scheller
14b5ea39cd Previous change didn't allow CI checks to run when an external fork PRs to raspberrypi 2021-03-03 14:58:38 +00:00
Andrew Scheller
2592c59e74
Add SPI enums to Doxygen output, fixes #213 (#216)
Also fix a few typos
2021-03-03 08:51:17 -06:00
Andrew Scheller
50acbb499d Attempt to prevent workflows being triggered on forks 2021-03-03 14:43:11 +00: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