Commit Graph

117 Commits

Author SHA1 Message Date
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
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
graham sanderson
b8c17354e4 Fix dependency on boot_stage2 so that changes actually cause update of .S and relink of main application elf 2021-02-01 14:46:45 -06:00
graham sanderson
1243ee175f flash_cs_force was ending up in flash on debug builds which is very bad! 2021-02-01 14:46:45 -06:00
graham sanderson
9ab5e8d543 fix warning/Werror in NO_FLASH build 2021-02-01 14:46:45 -06:00
Luke Wren
0e44a8013c Clarify static_assert message 2021-02-01 14:46:45 -06:00
Luke Wren
12925bc9d7 Fix doxygen group name and add to index 2021-02-01 14:46:45 -06:00
Luke Wren
82e7d02bd2 Add message to static_assert, fix formatting 2021-02-01 14:46:45 -06:00
Luke Wren
a33e620424 Add pico_unique_board_id_t struct and rename some functions/defines 2021-02-01 14:46:45 -06:00
Luke Wren
35f193386b Correct copyright header date 2021-02-01 14:46:45 -06:00
Luke Wren
c1196e9af6 Add pico_unique_id to inject ID access before main and provide accessor 2021-02-01 14:46:45 -06:00
Luke Wren
bb3cf10a09 Use correct define for FLASH_RUID_CMD 2021-02-01 14:46:45 -06:00
Luke Wren
620c75b9b8 Add flash_get_unique_id to hardware_flash 2021-02-01 14:46:45 -06:00
Charlie Birks
dd2b7039a5 Remove a dependecy on Pioasm
This fixes the "'pioasm/pioasm.exe', needed by '...', missing and no known rule to make it" error with ninja.
2021-02-01 14:46:45 -06:00
graham sanderson
3e52e57f5f Standardise references to the Raspberry Pi Pico SDK 2021-02-01 14:46:45 -06:00
Amitesh Singh
705f1ae59f fix compilation for non github users
ssh git cloning requires ssh key. Allow non github users to compile the
code
2021-02-01 14:46:45 -06:00
graham sanderson
90ce1faa14 Mutex owned and owner were not initialized by mutex_init. Combined owned and owner as they had no separate value any more 2021-02-01 14:46:45 -06:00