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 
								
							 
						 
						
							
							
							
							
								
							
							
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								9182664845 
								
							 
						 
						
							
							
								
								testing: make test output unbuffered when verbose  
							
							... 
							
							
							
							Fixes  #3579  
						
							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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								b044d4ff3d 
								
							 
						 
						
							
							
								
								reflect: add more RO checks  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								0cd93a3a9e 
								
							 
						 
						
							
							
								
								reflect: add valueFlagRO  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								5faff2e13a 
								
							 
						 
						
							
							
								
								reflect: add sipmlified strconv.Quote() implementation for struct tags  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								195de23d3b 
								
							 
						 
						
							
							
								
								reflect: Fix Kind(-1).String() and enable test  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								d4bdd836bc 
								
							 
						 
						
							
							
								
								reflect: implement and test Value.Comparable  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								a11f2436e3 
								
							 
						 
						
							
							
								
								reflect: TestAliasNames passes  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								017ab4c352 
								
							 
						 
						
							
							
								
								reflect: fix TestCanSetField  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								181d2ad2b4 
								
							 
						 
						
							
							
								
								reflect: add CanInt() and friends and uncomments tests that pass  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								53b95cad08 
								
							 
						 
						
							
							
								
								reflect: uncomment Type.String() tests that pass  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								e7bd22edf2 
								
							 
						 
						
							
							
								
								reflect: print struct tags in Type.String() (with a caveat)  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								1a60a1f526 
								
							 
						 
						
							
							
								
								reflect: stub channel select routines/types  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								3fbd3c4d93 
								
							 
						 
						
							
							
								
								compiler,reflect: support channel directions  
							
							
							
						 
						
							2023-03-30 21:10:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								4e4e4eee04 
								
							 
						 
						
							
							
								
								runtime: use unsafe.Add() in hashmap code  
							
							
							
						 
						
							2023-03-30 00:08:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								bf20c652e2 
								
							 
						 
						
							
							
								
								runtime: take max hash size into account when preallocating with size hint  
							
							
							
						 
						
							2023-03-30 00:08:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								a3afd4e8ac 
								
							 
						 
						
							
							
								
								runtime: factor duplicate hashmap snippts to functions  
							
							
							
						 
						
							2023-03-30 00:08:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								cb9c6f0074 
								
							 
						 
						
							
							
								
								runtime: zero map key/value on deletion to so GC doesn't see them  
							
							
							
						 
						
							2023-03-30 00:08:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								5fee3428bc 
								
							 
						 
						
							
							
								
								runtime: preallocate maps to size hint actually works  
							
							
							
						 
						
							2023-03-30 00:08:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								568c2a4363 
								
							 
						 
						
							
							
								
								rp2040: remove SPI DataBits property  
							
							... 
							
							
							
							As discussed on Slack, I believe this property does more harm than good:
  * I don't think it's used anywhere. None of the drivers use it.
  * It is not fully implemented. While values <= 8 might work fine,
    values larger than 8 result in extra zero bits (instead of anything
    sensible).
  * Worse, it doesn't return an error when it's out of range. This is
    not an optional property: if the SPI peripheral doesn't support a
    particular number of bits, it should return an error instead of
    silently limiting the number of bits. This will be confusing to
    users.
Therefore, I propose we drop it. Maybe there are good uses for it
(perhaps for displays that use big endian 16-bit values?), but without a
good use case like a driver in tinygo.org/x/drivers, I think it's more
trouble than it's worth. 
							
						 
						
							2023-03-29 09:30:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								dfb8c996a1 
								
							 
						 
						
							
							
								
								machine/lorae5: correct mapping for I2C bus, add pin mapping to enable power  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2023-03-28 15:28:14 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Achille Roussel 
								
							 
						 
						
							
							
							
							
								
							
							
								85da9a0aac 
								
							 
						 
						
							
							
								
								fix resource leak in os.(*File).Close  
							
							... 
							
							
							
							Signed-off-by: Achille Roussel <achille.roussel@gmail.com> 
							
						 
						
							2023-03-28 13:12:21 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								31043628d8 
								
							 
						 
						
							
							
								
								reflect: use direct calls to runtime string functions  
							
							... 
							
							
							
							The runtime.stringFromBytesTyped and runtime.stringToBytesTyped
functions aren't really necessary, because they have the same LLVM IR
signature. Therefore, remove them and link directly to the functions
that the compiler uses internally. 
							
						 
						
							2023-03-27 22:24:20 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								2c0f61cad1 
								
							 
						 
						
							
							
								
								reflect: fix bug found by Convert() tests on wasi  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								97ece754f6 
								
							 
						 
						
							
							
								
								reflect: add missing Uintptr type and some numerical tests  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								39f76f43fc 
								
							 
						 
						
							
							
								
								reflect: fix indirect issues with makeInt/makeUint/makeFloat  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								f239e8e2d9 
								
							 
						 
						
							
							
								
								reflect: typo in uint test  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								6b73b5e486 
								
							 
						 
						
							
							
								
								reflect: document which Convert() cases are still unimplemented  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								855e12df51 
								
							 
						 
						
							
							
								
								reflect: Convert(): add Float() conversions  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								0b6bb12e9e 
								
							 
						 
						
							
							
								
								reflect: add Convert() for string -> []byte and []byte -> string  
							
							
							
						 
						
							2023-03-27 18:53:37 +02:00