Scott Feldman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								59838338ba 
								
							 
						 
						
							
							
								
								Add machine.CPUReset() ( #3595 )  
							
							... 
							
							
							
							machine: Add machine.CPUReset() for cortexm 
							
						 
						
							2023-04-25 19:10:47 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								76303f9db4 
								
							 
						 
						
							
							
								
								Revert "all: better errors when multiple mcus share VID/PID"  
							
							... 
							
							
							
							This reverts commit af9f19615b 
							
						 
						
							2023-04-25 18:18:23 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								4bf8b618e5 
								
							 
						 
						
							
							
								
								Revert "all: honour port for -monitor flash flag"  
							
							... 
							
							
							
							This reverts commit 7aac1a1391 
							
						 
						
							2023-04-25 18:18:23 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								c89a684ad2 
								
							 
						 
						
							
							
								
								machine/gba: rename display and make pointer receivers  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2023-04-25 16:43:29 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								7aac1a1391 
								
							 
						 
						
							
							
								
								all: honour port for -monitor flash flag  
							
							
							
						 
						
							2023-04-25 11:21:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								af9f19615b 
								
							 
						 
						
							
							
								
								all: better errors when multiple mcus share VID/PID  
							
							
							
						 
						
							2023-04-25 11:21:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								79b63dd041 
								
							 
						 
						
							
							
								
								device/gba: additional IO mapping for sound, DMA, SIO, and sprites  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2023-04-24 18:11:29 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								06e34caa5f 
								
							 
						 
						
							
							
								
								builder: print the status of the job that just completed  
							
							
							
						 
						
							2023-04-22 10:01:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cui fliter 
								
							 
						 
						
							
							
							
							
								
							
							
								4e9f9e2773 
								
							 
						 
						
							
							
								
								fix some comments  
							
							... 
							
							
							
							Signed-off-by: cui fliter <imcusg@gmail.com> 
							
						 
						
							2023-04-18 22:51:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								64957c5254 
								
							 
						 
						
							
							
								
								samd51: fix ADC multisampling  
							
							... 
							
							
							
							Multisampling/averaging (using the Samples configuration property) was
returning incorrect values. When I investigated this, I found that the
samd51 gives erratic values when using multisampling together with fewer
than 16 bits resolution.
I fixed this by forcing 16 bit resolution when multisampling, and
adjusting the output to account for multisampling.
Found while reading the battery value on a pybadge, which gave
non-sensible values with Samples set to a value larger than 1. 
							
						 
						
							2023-04-18 19:00:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								1bba5f5d7b 
								
							 
						 
						
							
							
								
								targets: make msd-volume-name an array  
							
							
							
						 
						
							2023-04-17 18:56:32 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								48ef68dd86 
								
							 
						 
						
							
							
								
								examples: replace fmt with encoding/hex in usb-midi example  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2023-04-17 08:54:06 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								8b9bee4cad 
								
							 
						 
						
							
							
								
								main: don't print ok for a successful compile-only  
							
							
							
						 
						
							2023-04-16 03:38:33 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								b4c9b579b8 
								
							 
						 
						
							
							
								
								Switch interp tests to opaque pointers  
							
							
							
						 
						
							2023-04-16 03:34:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								2b1dc4fee5 
								
							 
						 
						
							
							
								
								testing: add -test.shuffle to order randomize test and benchmark order  
							
							
							
						 
						
							2023-04-12 20:43:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								0244bed033 
								
							 
						 
						
							
							
								
								testdata: add test for else/defer bug  
							
							
							
						 
						
							2023-04-11 18:54:05 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								60b23a7035 
								
							 
						 
						
							
							
								
								compiler: update test outputs  
							
							
							
						 
						
							2023-04-11 18:54:05 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								4326c8f10e 
								
							 
						 
						
							
							
								
								compiler: ensure all defers have been seen before creating rundefers  
							
							... 
							
							
							
							Fixes  #3643  
						
							2023-04-11 18:54:05 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								1672610749 
								
							 
						 
						
							
							
								
								testing: move runtime.GC() call to runN to match upstream  
							
							
							
						 
						
							2023-04-11 12:16:25 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								e00a2395d9 
								
							 
						 
						
							
							
								
								testing: fix benchmark logging output  
							
							
							
						 
						
							2023-04-11 12:16:25 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									sago35 
								
							 
						 
						
							
							
							
							
								
							
							
								42175496eb 
								
							 
						 
						
							
							
								
								machine/atsamd51: remove extra BK0RDY clear  
							
							
							
						 
						
							2023-04-10 09:16:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								3b4e543f4e 
								
							 
						 
						
							
							
								
								rp2040: use DMA for send-only SPI transfers  
							
							... 
							
							
							
							This improves slightly. It also is some groundwork for better DMA
support in TinyGo in the future.
I'm not entirely sure why it improves performance (in theory the old
code should already saturate the SPI bus) but it does, so 🤷  
							
						 
						
							2023-04-04 12:22:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								ad3e9e1a77 
								
							 
						 
						
							
							
								
								i2c: implement target mode for rp2040 and nrf  
							
							
							
						 
						
							2023-04-04 09:36:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								e0385e48d0 
								
							 
						 
						
							
							
								
								nrf: new peripheral type for nrf528xx chips  
							
							
							
						 
						
							2023-04-04 09:36:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								feadb9c85c 
								
							 
						 
						
							
							
								
								nrf: move nrf52 family code to correct file name  
							
							
							
						 
						
							2023-04-04 09:36:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Bell 
								
							 
						 
						
							
							
							
							
								
							
							
								4bf7308d26 
								
							 
						 
						
							
							
								
								machine: make gosched available to machine package  
							
							
							
						 
						
							2023-04-04 09:36:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								19e4db45db 
								
							 
						 
						
							
							
								
								samd51: use correct SPI frequency  
							
							... 
							
							
							
							The SPI frequency was rounded up, not rounded down. This meant that if
you wanted to configure 15MHz for example, it would pick the next
available frequency (24MHz). That's unsafe, the safe option is to round
down and the SPI support for most other chips also rounds down for this
reason.
In addition, I've improved SPI clock selection so that it will pick the
best clock of the two, widening the available frequencies. See the
comments in the patch for details. 
							
						 
						
							2023-04-03 19:40:20 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									sago35 
								
							 
						 
						
							
							
							
							
								
							
							
								71b44e79b3 
								
							 
						 
						
							
							
								
								machine/usb/hid/joystick: allow joystick settings override  
							
							
							
						 
						
							2023-04-03 00:50:30 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								9e97566b5f 
								
							 
						 
						
							
							
								
								machine/usb/hid/joystick: move joystick under HID as it belongs and also remove duplicate code  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2023-04-03 00:50:30 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								7d83e76833 
								
							 
						 
						
							
							
								
								rp2040: use 4MHz as default frequency for SPI  
							
							... 
							
							
							
							This matches other SPI implementations. I think the original value of
115200 was from a confusion with UART. 
							
						 
						
							2023-04-02 01:04:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								9e7882b1b7 
								
							 
						 
						
							
							
								
								reflect: uncomment a another test the fails and doc some that don't  
							
							
							
						 
						
							2023-04-01 22:46:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								0c4f9d1f19 
								
							 
						 
						
							
							
								
								reflect; uncomment SetZero (but comment out the parts that fail)  
							
							
							
						 
						
							2023-04-01 22:46:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								a85cb22193 
								
							 
						 
						
							
							
								
								reflect: uncomment TestAppend and fix a bug it found  
							
							
							
						 
						
							2023-04-01 22:46:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								60bb832c89 
								
							 
						 
						
							
							
								
								reflect: handle Convert'ing between identical underlying types  
							
							... 
							
							
							
							Needed for go-jose/v3 
							
						 
						
							2023-04-01 22:46:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								6eda52a289 
								
							 
						 
						
							
							
								
								rp2040: remove SPI deadline  
							
							... 
							
							
							
							Removing it improves SPI performance by about 20% for me (updating the
display of a Gopher Badge). 
							
						 
						
							2023-04-01 11:18:51 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								8badf79af9 
								
							 
						 
						
							
							
								
								testing: remove unused variable left over from count prototyping  
							
							
							
						 
						
							2023-03-31 19:17:02 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								66d3c4edb8 
								
							 
						 
						
							
							
								
								main: fix typos in flag usage messages  
							
							
							
						 
						
							2023-03-31 19:17:02 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								63aaa43072 
								
							 
						 
						
							
							
								
								testing: add test.skip  
							
							... 
							
							
							
							Fixes  #3056  
						
							2023-03-31 19:17:02 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								ee81c31884 
								
							 
						 
						
							
							
								
								testing: import new version of match.go  
							
							
							
						 
						
							2023-03-31 19:17:02 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								50d681359d 
								
							 
						 
						
							
							
								
								main: set WASMTIME_BACKTRACE_DETAILS when running in wasmtime.  
							
							... 
							
							
							
							I find myself consistently running tests, seeing them panic, and then
immediately running them again with this environment variable set.  It's
easier to just have tinygo do this for me. 
							
						 
						
							2023-03-31 13:06:23 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								d50c54fce0 
								
							 
						 
						
							
							
								
								Makefile: compress/lzw seems to work on wasi now.  
							
							
							
						 
						
							2023-03-31 20:41:51 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								4a81cac53b 
								
							 
						 
						
							
							
								
								main: make sure all testing output goes to the same place  
							
							
							
						 
						
							2023-03-31 09:07:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								84a3273131 
								
							 
						 
						
							
							
								
								main: fix tests with default TestConfig.Count=0 doesn't skip all tests  
							
							
							
						 
						
							2023-03-31 09:07:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								9182664845 
								
							 
						 
						
							
							
								
								testing: make test output unbuffered when verbose  
							
							... 
							
							
							
							Fixes  #3579  
						
							2023-03-31 09:07:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								a2f95d6b87 
								
							 
						 
						
							
							
								
								main: stuff test runner options into their own struct  
							
							... 
							
							
							
							Fixes  #2406  
						
							2023-03-31 09:07:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								698b1f19c6 
								
							 
						 
						
							
							
								
								testing: support -test.count  
							
							... 
							
							
							
							This makes running benchmarks repeatedly easier. 
							
						 
						
							2023-03-31 09:07:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								e6ccdd9d1a 
								
							 
						 
						
							
							
								
								reflect: another obscure RO bug  
							
							
							
						 
						
							2023-03-31 01:08:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								b39a982067 
								
							 
						 
						
							
							
								
								reflect: uncomment another test and fix RO logic issues it uncovered  
							
							
							
						 
						
							2023-03-31 01:08:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								e0bf376068 
								
							 
						 
						
							
							
								
								rp2040: unify all linker scripts using LDFLAGS  
							
							... 
							
							
							
							The only thing that's different between all these chips is the flash
size, which can easily be passed as a linker flag instead. This removes
a bunch of duplicate code in an uncommon language (linker script).
I've also fixed a few boards with incorrect flash sizes:
  * nano-rp2040 has 16MB instead of 2MB
  * macropad-rp2040 has 8MB instead of 2MB
  * gopher-badge has 8MB instead of 1MB 
							
						 
						
							2023-03-30 23:49:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								b044d4ff3d 
								
							 
						 
						
							
							
								
								reflect: add more RO checks  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00