Andrew Scheller
d35083b3f7
Fix typo in SIO register description ( #770 )
2022-04-04 15:30:13 -05:00
Andrew Scheller
bf9848eaf9
Updated DMA CTRL_TRIG.CHAIN_TO reset values ( #743 )
2022-03-04 16:47:41 -06:00
Graham Sanderson
add120e4f6
add missing change to dma.h from __force_inline fix ( #680 )
2021-12-08 12:32:09 -06:00
Graham Sanderson
0562089fab
fixup __forceinline for cpp code and add kitchen_sink cpp test ( #670 )
...
* fix __force_inline for different GCC versions in cpp mode (the affected versions are different from c mode), and build kitchsink.c as a cpp file too for testing
* silly bug in host platform.h
2021-12-08 12:05:49 -06:00
Graham Sanderson
da476610e2
allow override of XOSC_MHZ ( #644 )
...
* And increased assertion limit to 50 as 15 was the limit for the oscillator but not for XIN
2021-11-01 08:11:21 -05:00
Graham Sanderson
d7358e4ed8
update generated struct headers to fix collision ( #641 )
...
* update generated struct headers to fix collision and include all headers in kitchen_sink test
2021-11-01 08:06:34 -05:00
Graham Sanderson
e850214938
Platform updates ( #611 )
...
* Platform updates
- Add PICO_RP2040=1 to rp2040 builds
- Add new PICO_RP2040_B0/1/2_SUPPORTED macros and retailer chip specific code to use
- Add doxygen to platform.h
- Make pico.h includable from assembly (because header order is important and tricky) - split out platform_asm.h
- Switch to using PICO_RP2040_B0_SUPPORTED in board headers
2021-10-25 12:26:06 -05:00
Graham Sanderson
0ccd0db163
Update to TinyUSB 0.12.0 ( #622 )
...
Update kitchent_sink compilation test to include TinyUSB to catch warnings
Fix warnings in stdio_usb and stdio_semihosting caught by above
2021-10-25 08:33:42 -05:00
Graham Sanderson
68571ad33e
Hardware struct regeneration ( #613 )
...
* Use reg[0] description for hardware structs register arrays
* Update struct headers to match SVD and latest svd2struct
2021-10-14 15:35:28 -05:00
Andrew Scheller
a0450d0133
Updated reg_headers and SVD ( #612 )
2021-10-14 12:21:14 -05:00
Graham Sanderson
2f2e62968d
Use auto-generated hardware/structs/ headers (based off SVD) SVD errors fixed.
2021-10-12 09:15:19 -05:00
Graham Sanderson
e76d5a9008
add dma_timer related methods ( #604 )
2021-10-12 09:04:59 -05:00
Liam Fraser
4c9ba3e8ad
USB: Fix description of Length 0 in dpram_regs. Fixes #541 ( #608 )
2021-10-11 13:21:31 -05:00
Andrew Scheller
ace97f3387
More accurate register access-types and reset-values ( #601 )
...
* More accurate register access-types and reset-values
* I2C configuration constants are now included in the autogenerated header
2021-10-08 15:19:41 -05:00
Andrew Scheller
12017a07ab
SPINLOCK regs are RW. ( #599 )
2021-10-07 18:51:28 -05:00
Andrew Scheller
e6b8c7b64e
bugfix: "WO" registers should be listed in the SVD as write-only, not read-write ( #544 )
2021-10-04 13:10:42 -05:00
Liam Fraser
dc4342f0f6
Update usb regs to fix https://github.com/raspberrypi/pico-feedback/issues/172
2021-07-06 17:02:33 +01:00
Luke Wren
1f1c6162cd
Header info string updates for PIO DBG_PADx and XOSC STARTUP ( #478 )
2021-06-04 10:39:00 -05:00
Ha Thach
eeb6b501ff
fix qtpy rp2040 uart rx rev B ( #466 )
...
also add static check for USB DPRAM
2021-06-02 14:00:29 -05:00
Liam Fraser
b3e1d2d8b8
Add usb device dpram to svd file. Fixes #351 ( #465 )
2021-06-02 13:04:27 -05:00
Graham Sanderson
e57b99a652
Rework ordering of cmake, so that libraries in subdirectories can add to internal lists as PICO_SDK_POST_LIST_FILES, PICO_CONFIG_HEADER_FILES etc. ( #382 )
...
Move generation of config header later, so it gets to include all values for PICO_CONFIG_HEADER_FILES
2021-05-11 10:33:34 -05:00
Andrew Scheller
9c3538e8b0
Remove MASTER_ON_HOLD bit from I2C status registers. Fix typos. ( #326 )
2021-04-12 11:15:50 +01:00
Luke Wren
5fdc663ff8
Fix implementation config listing in structs/i2c.h ( #325 )
2021-04-09 14:42:06 +01:00
Luke Wren
344b961ebf
Fix implementation config listing in structs/i2c.h ( #324 )
2021-04-09 08:03:19 -05:00
Luke Wren
98574564b8
Add gpio_get_out_level() accessor, and correct SIO GPIO_OUT struct ty… ( #247 )
...
* Add gpio_get_out_level() accessor, and correct SIO GPIO_OUT struct type from WO to RW
* Clean up ambiguous-looking parentheses
2021-03-22 12:54:33 -05:00
Andrew Scheller
336aae518e
Fix ROSC typo ( #259 )
...
* Fix ROSC typo
* Additional ROSC typos
2021-03-15 13:57:37 -05:00
Andrew Scheller
dff0633c20
Add some extra defines to platform_defs.h ( #227 )
2021-03-04 21:22:48 -06:00
graham sanderson
6770bd2a46
use _u(0x800) insteand of 0x800u in platform_defs which is included by assembler
2021-03-04 21:22:48 -06:00
Graham Sanderson
743dbabdec
Pico flash size bytes ( #159 )
...
* Move PICO_FLASH_SIZE_BYTES out of platform_defs.h since it precedes board config; also default to -1 for unknown
* make default for PICO_FLASH_SIZE_BYTES undefined - i.e. no value
2021-03-04 21:22:48 -06:00
graham sanderson
debef7471e
Change _U to _u as _U exists in ctype.h
2021-03-04 21:22:48 -06:00
graham sanderson
503bc8b385
Fixup another level of compiler warnings, add _U() definition
2021-03-04 21:22:48 -06:00
Andrew Scheller
7ded9df488
Explicitly mark constants in autogenerated headers as unsigned values
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
Liam Fraser
6d272c056a
Mark usb buffer status registers as write clear instead of read only.
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
Luke Wren
c7cf7cd728
Fix incorrect type in systick struct header vs machine-generated register header
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
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
Luke Wren
7125bbb535
Fix missing timer registers in DMA header ( #26 )
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
26653ea81e
Initial Release
2021-01-20 10:44:27 -06:00