Commit Graph

625 Commits

Author SHA1 Message Date
Peter Lawrence
63ff3483d5 elf2uf2: fix address range bug 2021-02-22 18:52:43 -06:00
graham sanderson
e3925f5864 elf2uf2: fix breakage for no_flash builds; removep 0xFFFFFFFF constantds and error messsage 2021-02-19 14:23:24 -06:00
Peter Lawrence
eae2006f79 elf2uf2: determine entry address selected by Boot ROM (Plan B) 2021-02-19 14:05:11 -06:00
Peter Lawrence
07e3387458 elf2uf2: determine entry address selected by Boot ROM 2021-02-19 14:05:11 -06:00
Graham Sanderson
1478c6b89f
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-02-19 14:15:29 +00:00
Graham Sanderson
3f0529a25c
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-02-19 13:11:56 +00:00
graham sanderson
e349dbbf4f add boot2 info to binary info 2021-02-19 12:32:38 +00:00
Jeremy Grosser
a498b888b2 pioasm: Ada output format 2021-02-18 18:42:19 -06:00
Andrew Scheller
9fbfa1fcbc REAMDE.md improvements
Fix the order of the steps (fixes #133) and make it clearer that step 2 is choose-just-one-option
2021-02-18 11:39:11 -06:00
Luke Wren
2fa84c7743 Missing comma in pioasm python wait output 2021-02-18 11:38:21 -06:00
Luke Wren
4c1fac58d3
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-02-18 16:12:22 +00:00
Graham Sanderson
6b0f736d3b
fixup not/reverse for pioasm python output (#146) 2021-02-18 16:04:06 +00:00
graham sanderson
01c8e2a8dc remove always true assertions (fix #83) 2021-02-18 15:47:07 +00:00
graham sanderson
ffc7f19f46 move two hardware_timer methods to the right doxygen group (fix #131) 2021-02-18 15:47:07 +00:00
graham sanderson
a28217be4b missing pico/malloc.h fixes #136 2021-02-18 15:47:07 +00:00
Graham Sanderson
8b9907e7f2
Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-02-15 16:06:12 +00:00
Luke Wren
81c3d3fae6 Reword some confusing terms in pio.h doxygen 2021-02-12 13:57:54 +00:00
Luke Wren
07aadbb658 Update info strings in PIO register header for clarity (matching changes in datasheet) 2021-02-12 13:57:54 +00:00
Luke Wren
a2d82431e6 oops 2021-02-11 12:16:07 -06:00
Luke Wren
f22adc5081 Fix bad range check on sideset count in pio.h 2021-02-11 12:16:07 -06:00
Luke Wren
b34995a549 Add missing extern "C" to header files (closes #104) 2021-02-11 11:25:55 -06:00
Luke Wren
32ada8a2de Document PWM double buffering behaviour in pwm.h doxygen 2021-02-11 11:23:08 -06:00
Luke Wren
2dc030ba70 pwm.h typo: int16_t -> uint16_t (closes #109) 2021-02-11 11:22:27 -06:00
Luke Wren
0fbaaabe6f pio.h doxygen fixes and clarifications (closes #114) 2021-02-11 11:20:20 -06:00
Luke Wren
a33a7c0b2c Fix -Wsign-compare warnings 2021-02-11 11:17:15 -06:00
Liam Fraser
d3ecf3ef2e Mark usb buffer status registers as write clear instead of read only. 2021-02-10 08:43:16 -06:00
James Hughes
0688d9140e Added version number of SDK to Doxygen navigation pane 2021-02-10 08:39:09 -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
Luke Wren
9546c1ce32 Add enumvals to busctrl PERFSEL registers 2021-02-08 14:43:33 +00:00
graham sanderson
af9dedd081 add pico_unique_id to kitchen_sink app 2021-02-07 18:34:23 -06:00
Luke Wren
14f4a54837 Fix incorrect type in systick struct header vs machine-generated register header 2021-02-07 18:34:00 -06:00
Liam Fraser
55346c9530
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-02-05 15:22:23 +00:00
Luke Wren
b63e54c14d Add PICO_NO_FPGA_CHECK define to remove FPGA check and save some bytes 2021-02-04 11:16:55 +00:00
Luke Wren
b9c75803e6 Document clock SELECTED registers in headers and SVD 2021-02-03 20:34:04 +00:00
Andrew Scheller
2b47e47053 Fix typo ;-) 2021-02-02 16:56:24 -06:00
graham sanderson
2d5789eca8 remove static order dependency 2021-02-01 14:46:45 -06:00
graham sanderson
8a4e21bd8e fixup bad static_assert 2021-02-01 14:46:45 -06:00
graham sanderson
983a0299a5 bump version number to 1.0.1 2021-02-01 14:46:45 -06:00
Luke Wren
fdcee47b70 Doxygen for uart_set_baudrate return 2021-02-01 14:46:45 -06:00
graham sanderson
f73611c322 remove added unused error code 2021-02-01 14:46:45 -06:00
graham sanderson
a98136628c uart_set_baudrate should return actual rate set even in case of out of range parameters 2021-02-01 14:46:45 -06:00
graham sanderson
4cc1efa01a fixup debug build 2021-02-01 14:46:45 -06:00
graham sanderson
d131919a09 Fix python output of IN instruction in pioasm 2021-02-01 14:46:45 -06:00
Luke Wren
0d666eaf29 Set thumb and executable attributes on padded boot2 2021-02-01 14:46:45 -06:00
Olivier
de449d1314 Improve spi write16/read16 documentation.
The write16/read16 only work as described after changing the amount of
data_bits using spi_set_format.
2021-02-01 14:46:45 -06:00
Luke Wren
7872969915 Remove copy/pasted return from doxygen 2021-02-01 14:46:45 -06:00
graham sanderson
73ce5d2b4e fix formatting 2021-02-01 14:46:45 -06:00
Joe Komlodi
b2a44a8074 rp2_common/hardware_pio/pio: Add 'pio_add_program_at_offset' implementation
pio_add_program_at_offset() had a prototype in the header, but was
missing an implementation in the C file.
2021-02-01 14:46:45 -06:00
andrum99
9111614e98 README.md: minor grammar fixes (#35)
Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-02-01 14:46:45 -06:00
graham sanderson
f58c6d9cc9 bump cmake minimum version to 3.13 2021-02-01 14:46:45 -06:00