c573775f86Change the quick-start instructions to include installation of the (#92)
ewpa
2021-05-31 18:17:00 +01:00
1996a21e3adma_channel_transfer_[from/to]_buffer_now: added const volatile to read_addr and volatile to write_addr (#449)
geurtv
2021-05-27 19:12:39 +02:00
5ad072af5bAdd function to get the currently selected channel (#451)
Jonathan Reichelt Gjertsen
2021-05-27 14:25:40 +02:00
a531123080Prevent the literal string DEBUG from being appended to some messages in CMake < 3.15 (#433)
Jonathan Reichelt Gjertsen
2021-05-26 00:10:55 +02:00
b8dc054ebaqueue: make data pointers const in queue_try_add and queue_add_blocking (#423)
Jonathan Reichelt Gjertsen
2021-05-24 23:52:49 +02:00
cc8b2156fbDefine void operator delete[](void *p, std::size_t n) in new_delete.cpp (#430)
Jonathan Reichelt Gjertsen
2021-05-24 23:47:29 +02:00
048fcdefd6Prevent warnings about some unused parameters in pico_stdio_usb when building with -Wextra (#431)
Jonathan Reichelt Gjertsen
2021-05-24 23:42:28 +02:00
80356a4f02Define __STRING for other compilers than MSVC in the host platform.h file (#434)
Jonathan Reichelt Gjertsen
2021-05-24 23:40:29 +02:00
d79dd219ceImplement uart_write_blocking and uart_read_blocking for host (#438)
Jonathan Reichelt Gjertsen
2021-05-24 23:37:31 +02:00
94b83315d9Update host multicore.h to match multicore.h in rp2_common (#439)
Jonathan Reichelt Gjertsen
2021-05-24 23:35:11 +02:00
777ccb8e56Fix function-name misspelling (#443)
Andrew Scheller
2021-05-24 22:34:23 +01:00
17ee1a877dAdd support for Arduino Nano RP2040 Connect (#425)
Martino Facchin
2021-05-24 23:32:56 +02:00
b2832b3acbFix wrong format string in alarm_pool_dump_key (#437)
Jonathan Reichelt Gjertsen
2021-05-24 23:32:31 +02:00
060123dc8dOptional feature to get the max level that has ever been held by a queue (#444)
Jonathan Reichelt Gjertsen
2021-05-24 23:31:30 +02:00
596d08ea62Add missing cast to uint32_t in hw_divider_u32_quotient for host (#436)
Jonathan Reichelt Gjertsen
2021-05-23 15:21:09 +02:00
a32d614b43pioasm: prevent double inclusion for C SDK generated headers (#417)
Rafael G. Martins
2021-05-19 01:05:35 +02:00
5384b6b4d3add comment about using clk_gpout0 enable bit (Fixes#413)
Joni Kähärä
2021-05-16 18:11:35 +03:00
607b42006afix pico_promote_common_scope_vars (#397)
Graham Sanderson
2021-05-13 07:39:04 -05:00
574fdee37bFixup divider save_restore for floating point too; improve tests (#405)
Graham Sanderson
2021-05-13 07:38:42 -05:00
c6c4eeb122add timeout_us/until to mutex/sem blocking methods (#402)
Graham Sanderson
2021-05-12 16:32:45 -05:00
54c78bf985Fix the PICO_CONFIG default value for PICO_CMSIS_RENAME_EXCEPTIONS (#399)
Andrew Scheller
2021-05-12 01:21:44 +01:00
6182a2a078make host pico_platform.h and binary_info.h CMakeLists.txt safe for inclusion in non SDK build (#388)
Graham Sanderson
2021-05-11 10:37:49 -05:00
508828f8eaallow setting exception handler to the same value, as this might happen if exceptions are set dynamically on both cores, but VTOR is the same... this should indeed cause an error if the values differ, but not otherwise (#385)
Graham Sanderson
2021-05-11 10:34:41 -05:00
36dda1c5c4Fix some hardware_library dependencies (#383)
Graham Sanderson
2021-05-11 10:34:11 -05:00
e57b99a652Rework 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)
Graham Sanderson
2021-05-11 10:33:34 -05:00
9396b9c7e1Fix a bunch of doxygen typos (#391)
Andrew Scheller
2021-05-10 14:48:09 +01:00
ecf66bf514Correct doxygen for mutex_try_enter (#392)
Andrew Scheller
2021-05-10 14:47:23 +01:00
114dc5a80dFixup IRQ_PRIORITY #define values (#393)
Andrew Scheller
2021-05-10 14:46:53 +01:00
8d4f4e148dremove spurious sys/select.h include (#377)
Graham Sanderson
2021-05-05 11:51:18 -05:00
6d87da4c59Rework lock_core / timers (#378)
Graham Sanderson
2021-05-05 11:46:25 -05:00
ec0dc7a88badd __always_inline to trivial super low level inline functions (#379)
Graham Sanderson
2021-05-05 11:46:07 -05:00
53f1915a6bAdd hardware_exception for setting exception handlers at runtime (#380)
Graham Sanderson
2021-05-05 11:45:39 -05:00
7fc75d8c90Definitions for IC_TX_BUFFER_DEPTH inconsistent (fixes#335) (#381)
Luke Wren
2021-05-05 17:45:12 +01:00
8f3c3ff12ai2c: improve communication with i2c devices in i2c_write_blocking
fivdi
2021-04-11 16:11:47 +02:00
18c39856bdSome cmake build improvements (#376)
Graham Sanderson
2021-05-04 08:40:11 -05:00
929ede7482add small delay to stdio_get_until to prevent starvation of USB IRQ handler due to in use mutex. build was non deterministic due to missing link wrapping of getchar (#364)
Graham Sanderson
2021-05-04 08:01:34 -05:00
b6f812f647Change various (confusing to user) message to be DEBUG only (#365)
Graham Sanderson
2021-05-04 08:01:11 -05:00
b7da70a53bmake all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374)
Graham Sanderson
2021-05-04 08:00:17 -05:00
6796faf0d5add PICO_DIVIDER_DISABLE_INTERRUPTS flag which makes PICO_DIVIDER disable interrupts around division rather than using co-operative guards to protect nested use (i.e. within IRQ/exception). Use of this flag can simplify porting of RTOSes but with a different performance profile (#372)
Graham Sanderson
2021-05-04 07:48:07 -05:00
c979ca591fdisable core 0 SIO FIFO IRQ handler during core 1 launch in case someone has already installed one (#375)
Graham Sanderson
2021-05-04 07:43:25 -05:00
9c3538e8b0Remove MASTER_ON_HOLD bit from I2C status registers. Fix typos. (#326)
Andrew Scheller
2021-04-12 11:15:50 +01:00
ec16d3ff28Fix param-validation for PIO sideset encoding (#311)
Andrew Scheller
2021-04-12 11:13:22 +01:00
5fdc663ff8Fix implementation config listing in structs/i2c.h (#325)
Luke Wren
2021-04-09 14:42:06 +01:00
962da33ea7Clarify that cache is flushed, but that function is intended for low-level metadata access during startup (#322)
Luke Wren
2021-04-09 14:05:29 +01:00
344b961ebfFix implementation config listing in structs/i2c.h (#324)
Luke Wren
2021-04-09 14:03:19 +01:00
814d2bd855Make flash_do_cmd public (#269)
Scott Shawcroft
2021-04-09 03:47:16 -07:00
f69f513a29i2c: set high and low times to values that conform to the i2c specification (#314)
Brian Cooke
2021-04-09 12:00:33 +02:00
4fe995d0ecUpdate NULL GPIO function to 0x1f (#320)
Andrew Scheller
2021-04-08 21:25:01 +01:00
aabae62caaMerge branch 'master' into develop
graham sanderson
2021-04-07 08:29:59 -05:00
afc10f35991.1.2 release
graham sanderson
2021-04-07 08:17:18 -05:00
92f948c123Make kitchen_sink check param assertions, and include all headers - fix sign-compare warnings (#316)
Graham Sanderson
2021-04-06 20:50:26 -05:00
0911393fe2Changed the parameter check to avoid tripping -Werror on spin locks (#307)
Lyle Cheatham
2021-04-06 17:41:57 -04:00
d974a3b0e9boot_stage2: cleanup and correctness fixes
graham sanderson
2021-04-06 11:48:42 -05:00
c6f87c7d62set version to 1.1.2
graham sanderson
2021-04-06 11:09:32 -05:00
2e777d47d3i2c: set hold time of SDA during transmit to an appropriate value (#273)
Brian Cooke
2021-04-06 11:57:25 +02:00
162098678bmove PLL reset code from clocks driver to pll driver (#110)
majbthrd
2021-04-06 04:42:18 -05:00
fd16563f8fMerge pull request #299 from raspberrypi/back-merge-1.1.1
Graham Sanderson
2021-04-01 17:32:02 -05:00
1089c1b83aremove whitespace
graham sanderson
2021-04-01 17:31:01 -05:00
707555f5bcrevert version number to correct develop settings
graham sanderson
2021-04-01 17:27:33 -05:00
1769968c42Merge pull request #298 from raspberrypi/fix-version
Graham Sanderson
2021-04-01 17:25:45 -05:00
63d1baf263fix version to non develop
graham sanderson
2021-04-01 17:25:19 -05:00
02b98e5476Merge pull request #297 from raspberrypi/develop-1.1.1
Graham Sanderson
2021-04-01 17:22:06 -05:00
1b25cf0ed1set version for release
graham sanderson
2021-04-01 16:43:50 -05:00
7f2f186bccbuild: allow board config header to specify bootstage 2 without using custom per board cmake (#293)
Graham Sanderson
2021-04-01 16:42:53 -05:00
260128a725fixup elf2uf2 to allow blocked_ram (flash) binaries (#294)
Graham Sanderson
2021-04-01 15:03:04 -05:00
3c0309c10eAdd pico_get_unique_board_id_string API (#281)
Earle F. Philhower, III
2021-03-30 07:04:58 -07:00
859d1d27b8Don't advertise REMOTE_WAKEUP for USB stdio as it is is not currently implemented. Longer term need to implement REMOTE_WAKUP properly in TinyUSB. Similar fix needed in MicroPython to fix MicroPython issue #6866. The symptom is that USB serial will stop working if there is a delay of > 2 seconds ish between messages. We have seen this issue on Linux laptops with USB autosuspend enabled. (#289)
Liam Fraser
2021-03-30 15:03:28 +01:00
85ac3d7cf8I2C doxygen typos (#287)
Andrew Scheller
2021-03-29 17:37:50 +01:00
c1f164b9fdcorrected clk_gpout3 to gpio pin 25 as per the rp2040 datasheet (#250)
Tom Wasiluk
2021-03-24 15:35:02 +01:00
0c941d9767Tweaks to PIO clkdiv-setting code (#254)
Andrew Scheller
2021-03-24 14:32:38 +00:00
a47d6d6e14Allow heap end to be equal to stack limit (#266)
Mike Bell
2021-03-24 14:26:54 +00:00
1d4588a565Board-header typos (#270)
Andrew Scheller
2021-03-24 14:15:36 +00:00
98574564b8Add gpio_get_out_level() accessor, and correct SIO GPIO_OUT struct ty… (#247)
Luke Wren
2021-03-22 17:54:33 +00:00
e9a521a9b1rtc_get_datetime: read the rtc registers just once each
Jeff Epler
2021-03-21 13:23:24 -05:00
f76567eb7fMerge pico_sdk_version.cmake changes from develop branch into develop-1.1.1 branch
Andrew Scheller
2021-03-19 14:11:42 +00:00