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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e4d6ff9ecd 
					 
					
						
						
							
							Small PICO_PLATFORM=host fixes ( #639 )  
						
						
						
						
					 
					
						2021-10-28 15:16:36 -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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05418b4e71 
					 
					
						
						
							
							fix minor bug in add_repeating_timer_us, and add some comments ( #621 )  
						
						
						
						
					 
					
						2021-10-25 09:32:02 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c72e753b6 
					 
					
						
						
							
							Split recursive mutex into their own functions (was Reduce performance hit of recursive mutex) ( #495 )  
						
						... 
						
						
						
						mutex_t and mutex_ are reverted to non recursive versions (pre SDK1.2.0) and new recursive_mutex_t and recursive_mutex_ functions have been added
PICO_MUTEX_ENABLE_SDK120_COMPATIBILITY flag has been added to allow old SDK1.2.0 compatibility (i.e. mutex_t can be used recursively or not) but this is slower (and is will be removed in a future version) 
						
						
					 
					
						2021-10-20 18:27:59 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9320d192c3 
					 
					
						
						
							
							add watchdog_enable_caused_reboot (minor compatibility issue) ( #594 )  
						
						... 
						
						
						
						add watchdog_enable_caused_reboot. Note there is a small backwards incompatibility in so far as watchdog_enable sets scratch[4] to a magic value not 0 now, however this behavior was not documented before. 
						
						
					 
					
						2021-10-20 17:30:24 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a0450d0133 
					 
					
						
						
							
							Updated reg_headers and SVD ( #612 )  
						
						
						
						
					 
					
						2021-10-14 12:21:14 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c94bc8137 
					 
					
						
						
							
							Change _watchdog_enable to trigger immediate reboot when no delay set ( #561 )  
						
						
						
						
					 
					
						2021-10-14 11:30:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f808b5f2dc 
					 
					
						
						
							
							Add DREQ methods for PWM/SPI/UART/I2C ( #603 )  
						
						
						
						
					 
					
						2021-10-12 16:04:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f2e62968d 
					 
					
						
						
							
							Use auto-generated hardware/structs/ headers (based off SVD) SVD errors fixed.  
						
						
						
						
					 
					
						2021-10-12 09:15:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ec4036181f 
					 
					
						
						
							
							tweak info message for TinyUSB support ( #590 )  
						
						
						
						
					 
					
						2021-10-12 09:09:09 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						db47fba48d 
					 
					
						
						
							
							respect OUTPUT_NAME target property when generating supplemental files ( #592 )  
						
						
						
						
					 
					
						2021-10-12 09:08:44 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a0d4bdf731 
					 
					
						
						
							
							fix pico_set_printf_implementation(TARGET compiler) ( #593 )  
						
						
						
						
					 
					
						2021-10-12 09:08:15 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d50e743e0e 
					 
					
						
						
							
							make type punning of floating point/int in float_math and double_math use union to avoid warnings ( #600 )  
						
						
						
						
					 
					
						2021-10-12 09:07:36 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						30673fb6d0 
					 
					
						
						
							
							move inline assembly constant out into C code so it doesn't get out of range in a large function ( #602 )  
						
						
						
						
					 
					
						2021-10-12 09:07:06 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e76d5a9008 
					 
					
						
						
							
							add dma_timer related methods ( #604 )  
						
						
						
						
					 
					
						2021-10-12 09:04:59 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f1c37318b 
					 
					
						
						
							
							add irq_get_priority method - improve efficiency of irq_init_priorities ( #609 )  
						
						
						
						
					 
					
						2021-10-12 09:04:04 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c9ba3e8ad 
					 
					
						
						
							
							USB: Fix description of Length 0 in dpram_regs.  Fixes   #541  ( #608 )  
						
						
						
						
					 
					
						2021-10-11 13:21:31 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0fa58ed219 
					 
					
						
						
							
							Adding/propage macros/signature typedefs for ROM functions. Make rom_func_lookup non-flash safe for flash functions ( #586 )  
						
						... 
						
						
						
						* add typedef signatures and ROM code defines for bootrom functions. Propogate uses thru SDK code. Add _inline version of rom_func_lookup 
						
						
					 
					
						2021-10-08 09:02:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13be546dc3 
					 
					
						
						
							
							pico_stdio improvements ( #598 )  
						
						... 
						
						
						
						* add stdio_usb_connected() method
* add PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS to allow waiting for CDC connection during init(* 
* add puts_raw and putchar_raw to skip any CR/LF translation 
						
						
					 
					
						2021-10-08 09:01:30 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						12017a07ab 
					 
					
						
						
							
							SPINLOCK regs are RW. ( #599 )  
						
						
						
						
					 
					
						2021-10-07 18:51:28 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9319ab11d9 
					 
					
						
						
							
							Add xip window alias macros ( #566 ) ( #585 )  
						
						
						
						
					 
					
						2021-10-07 08:18:02 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						62854f5eff 
					 
					
						
						
							
							shrink max-page-size for linker to more sensible 4096 by default ( #587 )  
						
						
						
						
					 
					
						2021-10-07 08:17:32 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13ed99df0d 
					 
					
						
						
							
							split out usb_reset_interface header into its own library for consumption by picotool or others ( #589 )  
						
						
						
						
					 
					
						2021-10-07 08:17:13 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0fdf543126 
					 
					
						
						
							
							Missing extern C in datetime.h  #581  ( #584 )  
						
						
						
						
					 
					
						2021-10-04 15:17:00 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c53029c24 
					 
					
						
						
							
							Fix some typos ( #517 )  
						
						
						
						
					 
					
						2021-10-04 13:29:22 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ce0db40223 
					 
					
						
						
							
							adafruit_feather_rp2040: Fix default I2C instance ( #526 )  
						
						... 
						
						
						
						Use i2c1 as default, because the default pins can't be muxed to i2c0. 
						
						
					 
					
						2021-10-04 13:28:21 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a119b5bd9f 
					 
					
						
						
							
							Fix semihosting_putc ( #530 )  
						
						... 
						
						
						
						Per the Arm semihosting protocol documentation[1], the SYS_WRITEC command
expects *a pointer to* the character to be printed in r1, not the
character itself.
[1] https://developer.arm.com/documentation/dui0471/g/Semihosting/SYS-WRITEC--0x03-?lang=en  
						
						
					 
					
						2021-10-04 13:24:50 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb42ecfaa5 
					 
					
						
						
							
							Added definitions for some upcoming Pimoroni LED driver boards ( #535 )  
						
						... 
						
						
						
						* Added definitions for Plasma and Interstate boards
* Tweak to interstate pinout 
						
						
					 
					
						2021-10-04 13:24:31 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cd4e53a202 
					 
					
						
						
							
							Use W25Q080 second stage loader for Nano RP2040 Connect ( #537 )  
						
						... 
						
						
						
						Due to the well known electronic market situation, we were forced to mount an alternative part number in a batch of Arduino Nano RP2040 Connect.
These flash chips, from ISSI, need yet another way to configure the QE sticky bit :|
At the moment, the safest way to handle the dual sourcing is to fallback using W25Q080 loader, and requiring that the sticky bit has already been programmed during production. 
						
						
					 
					
						2021-10-04 13:23:18 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f63a14e9ee 
					 
					
						
						
							
							Change PWM_CH1_DIV_INT_LSB to PWM_CH0_DIV_INT_LSB ( #560 )  
						
						... 
						
						
						
						For consistency with all the other PWM_...._LSB constants 
						
						
					 
					
						2021-10-04 13:21:55 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2214468b51 
					 
					
						
						
							
							Add Adafruit Trinkey QT2040 board ( #525 )  
						
						
						
						
					 
					
						2021-10-04 13:11:45 -05:00