Commit Graph

276 Commits

Author SHA1 Message Date
Luke Wren
21d447fa28 Add pico_unique_board_id_t struct and rename some functions/defines 2021-01-31 15:34:19 -06:00
Luke Wren
6cef7931f5 Correct copyright header date 2021-01-31 15:34:19 -06:00
Luke Wren
05abfcdbe2 Add pico_unique_id to inject ID access before main and provide accessor 2021-01-31 15:34:19 -06:00
Luke Wren
03345f1703 Use correct define for FLASH_RUID_CMD 2021-01-31 15:34:19 -06:00
Luke Wren
a43cf2846c Add flash_get_unique_id to hardware_flash 2021-01-31 15:34:19 -06:00
Charlie Birks
d2127cead0 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-01-30 20:04:00 -06:00
graham sanderson
143657b875 Standardise references to the Raspberry Pi Pico SDK 2021-01-30 10:32:31 -06:00
Amitesh Singh
0396bf1da9 fix compilation for non github users
ssh git cloning requires ssh key. Allow non github users to compile the
code
2021-01-30 10:31:56 -06:00
graham sanderson
eb19e49522 Mutex owned and owner were not initialized by mutex_init. Combined owned and owner as they had no separate value any more 2021-01-29 17:14:22 +00:00
Andrew Scheller
70240c2508 Typos 2021-01-28 11:00:27 -06:00
graham sanderson
f8cef7a9b5 pico_time comment changes: remove stale comment, include warning about integer overflow 2021-01-28 08:54:45 -06:00
graham sanderson
5bd926ff5e Fix regressed tinyusb link 2021-01-28 08:51:08 -06:00
Graham Sanderson
cdece2f5d6
remove debugging left in by mistake (#31) 2021-01-28 07:51:06 -06:00
Luke Wren
732b53271f
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-01-28 07:50:45 -06:00
Graham Sanderson
5e5776b9c0
N_GPIOS duplicates NUM_BANK0_GPIOS (#7) 2021-01-28 07:48:11 -06:00
majbthrd
78190a5e27
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-01-27 12:22:26 -06:00
majbthrd
27c833ae28
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-01-27 12:14:10 -06:00
Luke Wren
8c7eb868aa
Fix missing timer registers in DMA header (#26) 2021-01-27 15:00:46 +00:00
Adam Boardman
40d2b5fdd4 Add header needed for USB flashing mode on exit when needed to avoid user having to include the header themselves. 2021-01-25 11:04:27 -06:00
Tristan Miller
b40185d925 Move irq rel flag to setting bit 4 instead of bit 5 2021-01-25 11:02:26 -06:00
Tristan Miller
e8a21020cd Push/Pull disassembly no longer incorrectly concatenates operands in disassembly 2021-01-25 10:55:29 -06:00
Peter Lawrence
990fa97953 fix incorrect name of systick struct 2021-01-25 10:54:15 -06:00
Bartek Pacia
0f3b795116 Update README.md 2021-01-23 14:22:41 -06:00
Liam Fraser
ef38b746ef Explicitly add libnewlib-arm-none-eabi to dependencies. It is typically pulled in by gcc-arm-none-eabi as a recommended package. 2021-01-21 16:51:40 +00:00
graham sanderson
493ed000dd update tinyusb url to use https 2021-01-21 01:24:45 -06:00
graham sanderson
26653ea81e Initial Release 2021-01-20 10:44:27 -06:00