6619a2d329
Typo ( #799 )
...
Remove superfluous apostrophes in Doxygen comments
2022-05-03 11:34:46 -05:00
5a427fbf1f
irq_add_shared_handler assertion fix #724 ( #747 )
2022-04-29 14:34:20 -05:00
bb5a2a3906
Added definition for Badger RP2040 board ( #735 )
2022-04-04 16:10:32 -05:00
8291f1013a
add #ifdef guards to vgaboard.h to allow user overrides ( #746 )
2022-04-04 16:08:53 -05:00
e90f831756
add board definition of eetree gamekit rp2040 ( #732 )
2022-04-04 16:08:30 -05:00
541f93541c
improve comment ( #658 )
2022-04-04 16:08:12 -05:00
17d53af105
Allow 252-byte binaries to be checksummed ( #764 )
...
Fixes #740
2022-04-04 15:46:34 -05:00
1896b1491b
fix __ctzdi2 for values with non-zero low 32 bits ( fixes #765 ) ( #766 )
2022-04-04 15:45:01 -05:00
3d45276423
Added board definition for upcoming Pimoroni servo driver ( #769 )
2022-04-04 15:31:52 -05:00
d35083b3f7
Fix typo in SIO register description ( #770 )
2022-04-04 15:30:13 -05:00
38b26b5d65
pico_sdk_import: don't recurse git submodules ( #772 )
...
When cloning the pico-sdk repo manually, one normally would do `git
submodule update --init`, which is non-recursive. However, when cloning
automatically, CMake will recursively update submodules by default.
Updating all of tiny-usb's submodules takes an extremely long time.
Luckily, CMake 3.17 added an option we can specify for FetchContent to
tell it not to recursively update submodules. On older CMake versions,
the flag is not used. For those with a new enough version of CMake, this
will significantly speed up SDK cloning.
Fixes #771 .
2022-04-04 15:29:33 -05:00
d54104a1e5
fix when PICO_NO_BINARY_INFO is set ( #693 )
...
Co-authored-by: Brian Murphy <brm@robotize.com >
2022-03-22 17:53:32 -05:00
bc3484e793
Mark __aeabi_lmul section as allocatable and executable ( #722 )
...
When using a linker script which does not provide a .time_critical.
section that is marked "ax" and wrongly define
PICO_INT64_OPS_IN_RAM=1 this would generate a malformed
executable with strange runtime bugs in the worst case.
2022-03-22 17:51:24 -05:00
b7e82b638a
Fix function-names reported by hardware_pwm_test ( #736 )
2022-03-22 17:49:17 -05:00
bf9848eaf9
Updated DMA CTRL_TRIG.CHAIN_TO reset values ( #743 )
2022-03-04 16:47:41 -06:00
ae7ef546a6
Fix typo in Doxygen comment ( #731 )
2022-02-14 12:03:47 -06:00
b3cf3e8f6f
Correct comment in time.h ( #715 )
...
There was `microseconds` written where there should have been `milliseconds`.
Co-authored-by: Stephen <stephen@drsudo.com >
2022-01-22 19:57:47 -06:00
25a3b36793
Fix assert in adc_set_round_robin() ( #698 )
...
The mask passed in shouldn't already be shifted by ADC_CS_RROBIN_LSB
(16) otherwise the shift in the call to hw_write_masked() would shift
all of the bits off the end of the mask, hence we should be asserting
not against ADC_CS_RROBIN_BITS (0x1f0000) but against the number of ADC
channels available.
2022-01-19 09:34:18 -06:00
96afce8ece
Add board definition for Adafruit Macropad ( #684 )
...
* added board header for adafruit macropad rp2040
Co-authored-by: Daniel Kenyon-Jones <mail@dlkj.co.uk >
2022-01-19 09:32:17 -06:00
5bcf4ed83a
Clarify header-comments about pico_enable_stdio_ CMake-functions ( #705 )
2022-01-19 09:30:21 -06:00
e379f6764b
Add board definition for RP2040 Stamp and Carrier ( #696 )
2022-01-19 09:26:54 -06:00
91462e430a
Add __attribute__((noreturn))
to _exit
( #707 )
...
Fixes the following compiler warning
```
.../vendor/pico-sdk/src/rp2_common/pico_runtime/runtime.c: In function 'panic':
.../pico-sdk/src/rp2_common/pico_runtime/runtime.c:284:1: warning: 'noreturn' function does return
284 | }
| ^
```
2022-01-19 09:25:40 -06:00
d831eff5a2
fix pioasm python output ( #694 ) ( #695 )
...
Issue:
irq wait 0
irq 0
are translated as:
irq(wait, 0) # 0
irq(nowait, 0) # 1
wait/nowait are incorrect, should be block or ommited (alt: noblock).
After change:
irq(block, 0) # 0
irq(0) # 1
2022-01-08 13:55:23 -06:00
215f77b836
Moves the #if guards to before the comments ( #690 )
...
Fixes #683
2022-01-08 13:53:21 -06:00
0f67a6c00c
Add board definition for Adafruit KB2040 ( #676 )
2021-12-13 09:45:29 -06:00
add120e4f6
add missing change to dma.h from __force_inline fix ( #680 )
2021-12-08 12:32:09 -06:00
386e2a7bc6
Added Tiny2040 2MB ( #672 )
2021-12-08 12:06:53 -06:00
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
269332dc21
rename pybstick26_rp2040.h to garatronic_pybstick26_rp2040.h ( #675 )
2021-12-06 11:37:24 -06:00
a8fa19a74d
pio_set_irqn_source_mask_enabled() sets wrong irq ( #655 )
...
if irq_index == 0, irq_index evaluates to false; which uses pio_set_irq1_source_mask_enabled() ; and vice versa
2021-11-12 07:51:29 -06:00
699838d153
Start SDK 1.3.1 development ( #648 )
2021-11-01 21:46:36 -05:00
2062372d20
SDK 1.3.0 release
...
See release notes for details
Co-authored-by: Brian Cooke <bdscooke@gmail.com >
Co-authored-by: Luke Wren <wren6991@gmail.com >
Co-authored-by: Uri Shaked <uri@urishaked.com >
Co-authored-by: Zapta <zapta@users.noreply.github.com >
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com >
Co-authored-by: Liam Fraser <liam@raspberrypi.com >
Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com >
Co-authored-by: Matias Silva <matita.martins@gmail.com >
Co-authored-by: dp111 <19616418+dp111@users.noreply.github.com >
Co-authored-by: Leonardo La Rocca <46094699+leoli51@users.noreply.github.com >
Co-authored-by: Mahyar Koshkouei <mk@deltabeard.com >
Co-authored-by: Brian Starkey <stark3y@gmail.com >
Co-authored-by: Philip Howard <github@gadgetoid.com >
Co-authored-by: Mike Causer <mcauser@gmail.com >
Co-authored-by: Martino Facchin <m.facchin@arduino.cc >
Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com >
Co-authored-by: Manuel Wick <manuel@matronix.de >
Co-authored-by: Matias Silva <git@matiasilva.com >
Co-authored-by: Robert Pafford <19439938+rjp5th@users.noreply.github.com >
Co-authored-by: Alasdair Allan <alasdair@raspberrypi.com >
Co-authored-by: Engineer_Will <646689853@qq.com >
Co-authored-by: Garatronic <31109090+garatronic@users.noreply.github.com >
2021-11-01 14:20:54 -05:00
60c5a929cc
Remove <b> from mutex doxygen due to PDF generation bug
2021-11-01 14:16:20 -05:00
d0af70bd77
fix __packed attribute for MSVC ( #646 )
2021-11-01 13:29:02 -05:00
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
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
ccccff8450
Add pybstick26_rp2040 support ( #636 )
2021-10-31 09:31:51 -05:00
d0c7642369
Update ADC ENOB comment to match (measured) value in RP2040 datasheet ( #643 )
2021-10-30 08:29:58 -05:00
cc1e2e8758
Small typo in kitchen_sink ( #642 )
2021-10-30 08:29:26 -05:00
e4d6ff9ecd
Small PICO_PLATFORM=host fixes ( #639 )
2021-10-28 15:16:36 -05:00
97eec951b1
Another .org -> .com fix ( #638 )
2021-10-27 22:26:27 -05:00
fba9c8ce4d
change SDK version to 1.3.0 ( #628 )
2021-10-26 16:09:32 -05:00
da7c39bc23
Fix some of the (simpler) errors reported by the doxygen command ( #617 )
2021-10-26 16:09:06 -05:00
b04a09110f
revert additional assertion check which breaks used of hw_alias macro outside of functions ( #635 )
...
* revert additional assertion check which breaks used of hw_alias macros outside of functions
2021-10-26 16:07:21 -05:00
5641cd0a4a
__aeabi_memset* were switching the wrong arguments ( #634 )
2021-10-26 13:47:46 -05:00
68555c9751
Added some waveshare boards definition ( #619 )
2021-10-26 13:47:01 -05:00
e5110dfce1
add docs for pio_instructions.h ( #624 )
...
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com >
2021-10-26 13:45:32 -05:00
3604a6fa13
add CONTRIBUTING.md ( #626 )
...
Co-authored-by: Alasdair Allan <alasdair@raspberrypi.com >
2021-10-26 13:44:03 -05:00
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
723dfd04ff
add more/better documentation to pico/multicore ( #620 )
2021-10-25 12:23:41 -05:00