Commit Graph

678 Commits

Author SHA1 Message Date
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
Andrew Scheller
e95df76a19 Typos 2021-02-01 14:46:45 -06:00
graham sanderson
8dd84ad0d8 pico_time comment changes: remove stale comment, include warning about integer overflow 2021-02-01 14:46:45 -06:00
graham sanderson
372aee1445 Fix regressed tinyusb link 2021-02-01 14:46:45 -06:00
Graham Sanderson
e0b9d0ecd8 remove debugging left in by mistake (#31) 2021-02-01 14:46:45 -06:00
Luke Wren
166cb0fef6 Move vector table to beginning of flash image (#10)
* Move vector table to beginning of flash image. Modify a boot2 to use the table.

* Move binary info header up between ELF entry and reset handler

* Extract common routines from boot2_w25q080 into helper files

* Non-default boot2s: use common routines, make callable as void(*)(void)

* BSD3 headers on boot2 files (people might want to use them elsewhere)

* Promote binary info header to its own section, + comment/readability changes

* Fix scope of asminclude path (fixes user custom boot2 definitions)

* Rename symbol, clarify comment
2021-02-01 14:46:45 -06:00
Graham Sanderson
419890cfd8 N_GPIOS duplicates NUM_BANK0_GPIOS (#7) 2021-02-01 14:46:45 -06:00
majbthrd
92bd96a3b2 fix #if in hardware/structs/dma.h (#9)
* fix #if in hardware/structs/dma.h

* move dma driver code from register definitions to dma drivers

Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
2021-02-01 14:46:45 -06:00
majbthrd
76b385bc26 elf2uf2: add the cache memory range described in Section 2.8.4.2 (#14)
* elf2uf2: add the cache memory range described in Section 2.8.4.2 of datasheet

* elf2uf2: update memory region nomenclature

* elf2uf2: update ROM size

* elf2uf2: use existing metadata to evaluate ram_style

Authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
2021-02-01 14:46:45 -06:00
Luke Wren
7125bbb535 Fix missing timer registers in DMA header (#26) 2021-02-01 14:46:45 -06:00
Adam Boardman
9ff6b24cce Add header needed for USB flashing mode on exit when needed to avoid user having to include the header themselves. 2021-02-01 14:46:45 -06:00
Tristan Miller
7b97967fe4 Move irq rel flag to setting bit 4 instead of bit 5 2021-02-01 14:46:45 -06:00
Tristan Miller
da22bf95de Push/Pull disassembly no longer incorrectly concatenates operands in disassembly 2021-02-01 14:46:45 -06:00
Peter Lawrence
93d1c9ce56 fix incorrect name of systick struct 2021-02-01 14:46:45 -06:00
graham sanderson
310a122b0a remove static order dependency 2021-02-01 10:16:41 -06:00
graham sanderson
cfefc1775b fixup bad static_assert 2021-02-01 08:46:42 -06:00
graham sanderson
2a8e0b40d1 bump version number to 1.0.1 2021-01-31 22:58:31 +00:00
Luke Wren
5e9c42a998 Doxygen for uart_set_baudrate return 2021-01-31 22:57:06 +00:00
graham sanderson
19f946f78e remove added unused error code 2021-01-31 22:57:06 +00:00
graham sanderson
16df9f8a95 uart_set_baudrate should return actual rate set even in case of out of range parameters 2021-01-31 22:57:06 +00:00
graham sanderson
5ca82a9467 fixup debug build 2021-01-31 22:48:26 +00:00
graham sanderson
33dbd11dad Fix python output of IN instruction in pioasm 2021-01-31 22:45:31 +00:00
Luke Wren
095091208a Set thumb and executable attributes on padded boot2 2021-01-31 16:44:38 -06:00
Olivier
3073cdd802 Improve spi write16/read16 documentation.
The write16/read16 only work as described after changing the amount of
data_bits using spi_set_format.
2021-01-31 22:35:39 +00:00
Luke Wren
8a45435cb8 Remove copy/pasted return from doxygen 2021-01-31 22:34:37 +00:00
graham sanderson
294f0d2e4a fix formatting 2021-01-31 22:34:37 +00:00
Joe Komlodi
c5f8527145 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-01-31 22:34:37 +00:00
andrum99
ee16a8c370
README.md: minor grammar fixes (#35)
Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-01-31 22:25:55 +00:00
graham sanderson
c622007564 bump cmake minimum version to 3.13 2021-01-31 22:17:03 +00:00
graham sanderson
4a0586225c Fix dependency on boot_stage2 so that changes actually cause update of .S and relink of main application elf 2021-01-31 22:12:31 +00:00
graham sanderson
da63ddd6ef flash_cs_force was ending up in flash on debug builds which is very bad! 2021-01-31 15:34:19 -06:00
graham sanderson
a2bcca264f fix warning/Werror in NO_FLASH build 2021-01-31 15:34:19 -06:00
Luke Wren
9f207485da Clarify static_assert message 2021-01-31 15:34:19 -06:00