deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								fce42fc7fa 
								
							 
						 
						
							
							
								
								machine/thingplus: rename to the singular thing as that it the correct name  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2022-04-26 21:13:17 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								5d177d1328 
								
							 
						 
						
							
							
								
								runtime: be able to deal with a very small heap  
							
							... 
							
							
							
							See the comment in the source for details.
Also see the discussion in
https://github.com/tinygo-org/tinygo/pull/2755 , which originally
triggered this bug.
Somewhat surprising, this results in a slight code size decrease for ARM
targets of a few bytes. 
							
						 
						
							2022-04-26 17:47:21 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									lincolngill 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9eb4a6268a 
								
							 
						 
						
							
							
								
								Pico adc input ch support ( #2737 )  
							
							... 
							
							
							
							machine/rp2040: ADC changes, including
* Add rp2040 ADC mux channel support. Internal temp sensor reading and fix for incorrect setting of CS.AINSEL reg bits
* Reset ADC ref voltage in InitADC 
							
						 
						
							2022-04-26 11:49:38 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								9239c61edb 
								
							 
						 
						
							
							
								
								TestChdir: avoid cd .., as wasi does not really support it yet. Tiptoes around  #2799 .  
							
							
							
						 
						
							2022-04-25 17:59:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									deadprogram 
								
							 
						 
						
							
							
							
							
								
							
							
								5bb3ca2618 
								
							 
						 
						
							
							
								
								machine/circuitplay-bluefruit: move pin mappings so board can be compiled for WASM use in Playground  
							
							... 
							
							
							
							Signed-off-by: deadprogram <ron@hybridgroup.com> 
							
						 
						
							2022-04-25 11:17:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Yurii Soldak 
								
							 
						 
						
							
							
							
							
								
							
							
								a4ea85b303 
								
							 
						 
						
							
							
								
								xiao-ble: initial support  
							
							
							
						 
						
							2022-04-24 14:50:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Olaf Flebbe 
								
							 
						 
						
							
							
							
							
								
							
							
								27d38a9663 
								
							 
						 
						
							
							
								
								machine/board_thingsplus_rp2040 targets/thingsplus-rp2040: support sparkfun thingsplus rp2040 board  
							
							
							
						 
						
							2022-04-24 10:56:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								cad6a57077 
								
							 
						 
						
							
							
								
								compiler: remove support for memory references in AsmFull  
							
							... 
							
							
							
							Memory references (`*m` in LLVM IR inline assembly) need a pointer type
starting in LLVM 14. This is a bit inconvenient and requires a new API
in the go-llvm package.
Instead of doing that, I'd like to remove support for memory references
from AsmFull (and possibly AsmFull entirely if possible: it's hard to
use correctly).
This breaks tinygo.org/x/drivers/ws2812 for AVR, ARM, and RISC-V which
need to be updated. Probably using CGo. 
							
						 
						
							2022-04-21 15:18:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								52233790cc 
								
							 
						 
						
							
							
								
								mimxrt1062: simplify arm.AsmFull to arm.Asm  
							
							... 
							
							
							
							This means fewer instances of arm.AsmFull, which I'd like to remove
eventually if possible. 
							
						 
						
							2022-04-21 15:18:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								69d7ed5cda 
								
							 
						 
						
							
							
								
								os: define ErrDeadlineExceeded; fixes go 1.18 compile error in net/http,  #2782  
							
							
							
						 
						
							2022-04-19 09:22:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								3000b2d15e 
								
							 
						 
						
							
							
								
								gofmt src/machine/machine_mimxrt1062_spi.go to please 1.18  
							
							
							
						 
						
							2022-04-18 22:52:14 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								0590ccb260 
								
							 
						 
						
							
							
								
								gofmt exec_posix.go  
							
							
							
						 
						
							2022-04-18 22:52:14 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ardnew 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c5de68622e 
								
							 
						 
						
							
							
								
								board/teensy40: Add SPI support ( #1455 )  
							
							... 
							
							
							
							machine/teensy40: add SPI support 
							
						 
						
							2022-04-16 15:43:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ardnew 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2dc46a851b 
								
							 
						 
						
							
							
								
								board/teensy40: Add ADC support ( #1458 )  
							
							... 
							
							
							
							machine/teensy40: add ADC support 
							
						 
						
							2022-04-13 17:12:31 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									soypat 
								
							 
						 
						
							
							
							
							
								
							
							
								f613cb41a3 
								
							 
						 
						
							
							
								
								rp2040: fix spurious i2c STOP during write+read transaction  
							
							
							
						 
						
							2022-04-09 11:10:36 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								9cedd78d9c 
								
							 
						 
						
							
							
								
								Add a shim for internal/fuzz  
							
							... 
							
							
							
							This simply shadows the real code temporarily to see what else is
broken. It only defines a single type to fix testing/internal/testdeps. 
							
						 
						
							2022-04-09 09:16:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								c78df85015 
								
							 
						 
						
							
							
								
								os: Implement Pipe for darwin, add smoke test.  
							
							... 
							
							
							
							Evidently when you read from pipes in Go, you have to adjust your slice length to reflect the number of bytes read.
Verified upstream behaves the same way. 
							
						 
						
							2022-04-08 08:29:30 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								3dc1e403ea 
								
							 
						 
						
							
							
								
								runtime: stub {Lock,Unlock}OSThread. Makes 1.18 happier on windows.  
							
							
							
						 
						
							2022-04-07 10:27:34 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									sago35 
								
							 
						 
						
							
							
							
							
								
							
							
								1deee3ec5a 
								
							 
						 
						
							
							
								
								m5stamp-c3: add pin setting of UART  
							
							
							
						 
						
							2022-04-07 07:16:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dmitriy 
								
							 
						 
						
							
							
							
							
								
							
							
								0dd521e1d1 
								
							 
						 
						
							
							
								
								add support for esp32c3 to receive UART data  
							
							
							
						 
						
							2022-04-06 19:25:24 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								1dcdd5f2d2 
								
							 
						 
						
							
							
								
								Revert "src/runtime: first darft of map growth code"  
							
							... 
							
							
							
							This reverts commit 7e05efa274 
							
						 
						
							2022-04-05 03:34:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								dcd8ee63a8 
								
							 
						 
						
							
							
								
								Revert "src/runtime/hashmap: comments for iterator structure"  
							
							... 
							
							
							
							This reverts commit 8872229a0b 
							
						 
						
							2022-04-05 03:34:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								8872229a0b 
								
							 
						 
						
							
							
								
								src/runtime/hashmap: comments for iterator structure  
							
							
							
						 
						
							2022-04-04 13:22:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Damian Gryski 
								
							 
						 
						
							
							
							
							
								
							
							
								7e05efa274 
								
							 
						 
						
							
							
								
								src/runtime: first darft of map growth code  
							
							... 
							
							
							
							Fixes  #1553  
						
							2022-04-04 13:22:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								8823a934a3 
								
							 
						 
						
							
							
								
								syscall: stub WaitStatus  
							
							
							
						 
						
							2022-04-04 07:33:31 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								6ac02cc34c 
								
							 
						 
						
							
							
								
								syscall: wasi: more complete list of signals  
							
							... 
							
							
							
							Grepped straight out of the appropriate signal.h, with order preserved.
Makes 1.18 tests happier.
See comment on discrepancy for SIGCHLD.  Since wasi doesn't really support signals, this may not matter. 
							
						 
						
							2022-04-03 19:22:43 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								e259598b68 
								
							 
						 
						
							
							
								
								syscall: darwin: more complete list of signals  
							
							... 
							
							
							
							Grepped straight out of the appropriate signal.h, with order and comments preserved verbatim.
Makes 1.18 tests happier. 
							
						 
						
							2022-04-03 19:22:43 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								f159573975 
								
							 
						 
						
							
							
								
								Add reflect.Value.FieldByIndexErr stub  
							
							
							
						 
						
							2022-03-24 06:31:02 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dmitriy 
								
							 
						 
						
							
							
							
							
								
							
							
								3d68804702 
								
							 
						 
						
							
							
								
								Add board support for ESP32-C3-12f Kit  
							
							
							
						 
						
							2022-03-20 07:39:27 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								38efca1e2d 
								
							 
						 
						
							
							
								
								syscall: stub mmap(), munmap(), MAP_SHARED, PROT_READ, SIGBUS, etc. on nonhosted targets  
							
							... 
							
							
							
							Makes 1.18 tests a little happier.
Works around this error:
$ make test GOTESTFLAGS="-run TestTest/EmulatedCortexM3/Pass"
...
main_test.go:520: test error: could not compile: /usr/local/go/src/internal/fuzz/sys_posix.go:19:18: PROT_READ not declared by package syscall 
							
						 
						
							2022-03-19 21:06:45 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Aayush Attri 
								
							 
						 
						
							
							
							
							
								
							
							
								0a75dd82b9 
								
							 
						 
						
							
							
								
								updating the comments for stub funcs  
							
							
							
						 
						
							2022-03-19 19:09:20 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Aayush Attri 
								
							 
						 
						
							
							
							
							
								
							
							
								fbc748f152 
								
							 
						 
						
							
							
								
								removing Version stub  
							
							
							
						 
						
							2022-03-19 19:09:20 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Aayush Attri 
								
							 
						 
						
							
							
							
							
								
							
							
								881aba1785 
								
							 
						 
						
							
							
								
								add stub for runtime numcgocall, numgoroutine and version  
							
							
							
						 
						
							2022-03-19 19:09:20 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								1fb1f08233 
								
							 
						 
						
							
							
								
								syscall: define MAP_SHARED and PROT_READ on wasi  
							
							... 
							
							
							
							Makes 1.18 tests a little happier.
Not sure mmap works on wasi, so these may be somewhat stubby. 
							
						 
						
							2022-03-19 16:05:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ZauberNerd 
								
							 
						 
						
							
							
							
							
								
							
							
								2fdcabdcce 
								
							 
						 
						
							
							
								
								src/runtime: add runtime.Version()  
							
							... 
							
							
							
							This adds the `Version()` function of the `runtime` package which embeds
the go version that was used to build tinygo.
For programs that are compiled with tinygo the version can be overriden
via the:
`tinygo build -ldflags="-X 'runtime.buildVersion=abc'"` flag.
Otherwise it will continue to use the go version with which tinygo was
compiled. 
							
						 
						
							2022-03-19 15:36:44 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								836ab95192 
								
							 
						 
						
							
							
								
								Rename reflect.Ptr to reflect.Pointer  
							
							... 
							
							
							
							This was done in plain Go for 1.18:
17910ed4ff 
							
						 
						
							2022-03-18 15:27:28 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								cf8f4d65f2 
								
							 
						 
						
							
							
								
								Implement getpagesize and munmap.  For go 1.18.  
							
							
							
						 
						
							2022-03-18 13:44:30 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								42ae9a665f 
								
							 
						 
						
							
							
								
								os: Add some exec.ProcessState stubs  
							
							
							
						 
						
							2022-03-17 12:33:59 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								c55c996c5d 
								
							 
						 
						
							
							
								
								gc_leaking.go: don't inline alloc.   Fixes   #2674 .  
							
							
							
						 
						
							2022-03-17 11:26:01 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ZauberNerd 
								
							 
						 
						
							
							
							
							
								
							
							
								6fb90b6fc4 
								
							 
						 
						
							
							
								
								src/os: Add UserHomeDir() function to os package  
							
							... 
							
							
							
							This commit adds the `UserHomeDir()` function to the `os` package. 
							
						 
						
							2022-03-16 22:19:05 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ZauberNerd 
								
							 
						 
						
							
							
							
							
								
							
							
								6f31712b7d 
								
							 
						 
						
							
							
								
								test: write into a temp file and read from its fd  
							
							... 
							
							
							
							This test creates a new temp file and writes some bytes into it.
It then opens a new file for the file descriptor of the temp file and
tries to read some bytes out of it. 
							
						 
						
							2022-03-16 15:40:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ZauberNerd 
								
							 
						 
						
							
							
							
							
								
							
							
								e295770363 
								
							 
						 
						
							
							
								
								test: simple test to verify os.File.Fd() is working  
							
							
							
						 
						
							2022-03-16 15:40:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									ZauberNerd 
								
							 
						 
						
							
							
							
							
								
							
							
								486b99961d 
								
							 
						 
						
							
							
								
								src/os: implement os.File.Fd() method  
							
							... 
							
							
							
							This commits adds a OS-specific `Fd()` function for `file_anyos.go` and
`file_other.go`, which returns a uintptr to the underlying file
descriptor. 
							
						 
						
							2022-03-16 15:40:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								c534fa1b6f 
								
							 
						 
						
							
							
								
								On baremetal platforms, use simpler test matcher.   Fixes   #2666 .  
							
							... 
							
							
							
							Uses same matcher in testdata (because now we can't replace it in testdata). 
							
						 
						
							2022-03-15 05:59:00 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								5141638cbf 
								
							 
						 
						
							
							
								
								Fix type of Signal constants on WASI  
							
							
							
						 
						
							2022-03-13 12:53:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								5d4f795aec 
								
							 
						 
						
							
							
								
								Add an empty os.Process.Signal implementation  
							
							... 
							
							
							
							This fixes compile of tests in Go 1.18, due to its use in
`src/internal/testenv/testenv.go`. 
							
						 
						
							2022-03-13 12:53:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								db8603e378 
								
							 
						 
						
							
							
								
								Add os Signal aliases  
							
							... 
							
							
							
							These are used in Go 1.18's `testing/internal/testdeps`. Though the
comment says they should exist _everywhere_, there is still a build
constraint, but that seems to be fine. 
							
						 
						
							2022-03-13 12:53:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								bc098da93f 
								
							 
						 
						
							
							
								
								Implement all of os.Signal in arch-specific syscall  
							
							... 
							
							
							
							This is basically copied from `syscall_js.go` from the Go standard
library, since the existing parts were from there as well. 
							
						 
						
							2022-03-13 12:53:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									sago35 
								
							 
						 
						
							
							
							
							
								
							
							
								96c60f9692 
								
							 
						 
						
							
							
								
								atsamd51: allow faster frequency setting when using SPI  
							
							
							
						 
						
							2022-03-12 08:45:38 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									sago35 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a1b4eafa07 
								
							 
						 
						
							
							
								
								samd21,samd51: fix usbcdc initialization when -serial=uart ( #2631 )  
							
							... 
							
							
							
							machine/samd21,samd51: fix usbcdc initialization when -serial=uart by using machine.USB.Configured() 
							
						 
						
							2022-03-10 12:32:19 +01:00