Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8a468786df 
								
							 
						 
						
							
							
								
								compiler: use config struct for options  
							
							
							
						 
						
							2018-09-24 15:46:05 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ddd4a39cb8 
								
							 
						 
						
							
							
								
								avr: fix default handler in interrupt vector  
							
							... 
							
							
							
							Apparently the target of a weak symbol must be defined in the same file
as where it is used as a weak symbol.
https://www.avrfreaks.net/forum/using-weak-custom-vector-table#comment-745922  
							
						 
						
							2018-09-24 13:03:21 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fd6dda5e4f 
								
							 
						 
						
							
							
								
								main: run the compiler from any path  
							
							
							
						 
						
							2018-09-24 12:25:33 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								453450f40d 
								
							 
						 
						
							
							
								
								ir: sort function pragmas  
							
							
							
						 
						
							2018-09-23 23:30:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3076ad470e 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: fix script filename in output  
							
							
							
						 
						
							2018-09-23 20:50:44 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b09f7a5e6c 
								
							 
						 
						
							
							
								
								avr: make linker script generic  
							
							
							
						 
						
							2018-09-23 20:50:12 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b9638315d2 
								
							 
						 
						
							
							
								
								avr: automatically generate interrupt vectors  
							
							
							
						 
						
							2018-09-23 20:37:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3850530c88 
								
							 
						 
						
							
							
								
								docs/installation: fix LLVM hyperlink  
							
							
							
						 
						
							2018-09-23 17:21:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3e1a60351d 
								
							 
						 
						
							
							
								
								docs/internals: fix hyperlink  
							
							
							
						 
						
							2018-09-23 17:20:24 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7c597c910f 
								
							 
						 
						
							
							
								
								README: move installation instructions to docs  
							
							
							
						 
						
							2018-09-23 17:15:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4868823dad 
								
							 
						 
						
							
							
								
								README: add docs badge  
							
							
							
						 
						
							2018-09-23 17:13:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c9a2b3f417 
								
							 
						 
						
							
							
								
								docs: remove "Indices and tables"  
							
							
							
						 
						
							2018-09-23 17:05:32 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f7f33a1163 
								
							 
						 
						
							
							
								
								docs: add initial documentation  
							
							
							
						 
						
							2018-09-23 16:46:57 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2938437efc 
								
							 
						 
						
							
							
								
								compiler: make string data unnamed addresses  
							
							... 
							
							
							
							This ensures LLVM can merge identical strings, and thus reduces code
size in some cases. 
							
						 
						
							2018-09-23 03:03:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7cea40bcb5 
								
							 
						 
						
							
							
								
								compiler: small cleanup in call handling code  
							
							
							
						 
						
							2018-09-23 03:01:10 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fdfa810060 
								
							 
						 
						
							
							
								
								compiler: expand small structs  
							
							... 
							
							
							
							Use fields of small structs (3 or less fields when flattened
recursively) directly as parameter values.
Advantages:
  * Code size is slightly reduced, both on unix and nrf.
  * AVR can finally deal with struct parameters - at least the small
    ones. examples/test now compiles. A real fix for struct parameters
    should go into upstream LLVM, but this is a nice win.
fixes  #20  
							
						 
						
							2018-09-23 02:39:05 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a86739d235 
								
							 
						 
						
							
							
								
								Makefile: add new packages to tgo dependencies  
							
							
							
						 
						
							2018-09-23 01:17:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b2cbfa78ca 
								
							 
						 
						
							
							
								
								compiler: refactor compiler into separate package  
							
							
							
						 
						
							2018-09-22 20:32:28 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b75a02e66d 
								
							 
						 
						
							
							
								
								compiler: refactor IR parts into separate package  
							
							
							
						 
						
							2018-09-22 20:32:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								473e71b573 
								
							 
						 
						
							
							
								
								compiler: implement range over a string  
							
							
							
						 
						
							2018-09-22 19:19:53 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								18b5ab290c 
								
							 
						 
						
							
							
								
								compiler: recognize untyped strings as strings  
							
							
							
						 
						
							2018-09-22 19:18:09 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c8587c7d1e 
								
							 
						 
						
							
							
								
								Makefile: go fmt more packages  
							
							
							
						 
						
							2018-09-22 17:44:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4d5b5241ec 
								
							 
						 
						
							
							
								
								all: avoid _Msk fields when not necessary  
							
							
							
						 
						
							2018-09-22 17:42:44 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								eadec6f766 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: avoid _Msk for single-bit fields  
							
							
							
						 
						
							2018-09-22 17:42:05 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3bba26ce5b 
								
							 
						 
						
							
							
								
								machine/bluepill: create definitions for all pins  
							
							
							
						 
						
							2018-09-22 15:47:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8f5bd81bf5 
								
							 
						 
						
							
							
								
								machine: split board definitions in separate files  
							
							
							
						 
						
							2018-09-22 15:47:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2c21925f4c 
								
							 
						 
						
							
							
								
								targets: put board name in build tags  
							
							
							
						 
						
							2018-09-22 15:37:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9df7d6e8e8 
								
							 
						 
						
							
							
								
								examples: add nrf example for all 4 built-in buttons and LEDs  
							
							... 
							
							
							
							Signed-off-by: Ron Evans <ron@hybridgroup.com> 
							
						 
						
							2018-09-22 15:17:47 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a577bc2a1b 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: show better error messages  
							
							... 
							
							
							
							Show an error message when input .svd files cannot be found. 
							
						 
						
							2018-09-22 14:34:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dd5b5a381c 
								
							 
						 
						
							
							
								
								stm32: initial support  
							
							
							
						 
						
							2018-09-22 01:51:44 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								12298d23a7 
								
							 
						 
						
							
							
								
								all: move generic ARM bits into separate files  
							
							
							
						 
						
							2018-09-22 01:44:47 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								895d109fc4 
								
							 
						 
						
							
							
								
								compiler: run flash command in a shell  
							
							
							
						 
						
							2018-09-22 01:40:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7517ac86e4 
								
							 
						 
						
							
							
								
								runtime: merge common sleep() functions  
							
							
							
						 
						
							2018-09-22 01:40:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7c16f6c904 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: make source URL configurable  
							
							
							
						 
						
							2018-09-22 01:20:34 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b705b332a7 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: indentation in .s file  
							
							
							
						 
						
							2018-09-22 01:09:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e0d13f489f 
								
							 
						 
						
							
							
								
								tools/gen-device/svd: auto-generate output directory  
							
							
							
						 
						
							2018-09-22 01:08:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d841daa32b 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: emit correct Go code for stm32  
							
							... 
							
							
							
							Groups were not recognized because the parser only looked at the
derivedFrom attribute and not at <groupName> tags for matching
peripherals. 
							
						 
						
							2018-09-22 01:05:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9fa08bf51d 
								
							 
						 
						
							
							
								
								all: use groupName in peripherals  
							
							... 
							
							
							
							This is needed for support for multiple instances of a peripheral type. 
							
						 
						
							2018-09-21 22:24:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								110230a50d 
								
							 
						 
						
							
							
								
								tools/gen-device-svd: make svd files deal with stm32  
							
							... 
							
							
							
							First concrete preparation for stm32 support at some point. 
							
						 
						
							2018-09-21 21:52:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5b0aaf0d39 
								
							 
						 
						
							
							
								
								targets: clean up and unify linker scripts  
							
							... 
							
							
							
							Especially arm.ld needed some cleaning up. Other than that, I've made
sure the two linker scripts look similar where possible. 
							
						 
						
							2018-09-21 15:38:55 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2122780309 
								
							 
						 
						
							
							
								
								compiler: implement *ssa.ChangeType  
							
							
							
						 
						
							2018-09-21 15:38:55 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								505b1f750d 
								
							 
						 
						
							
							
								
								all: generate interrupt vector from .svd file  
							
							
							
						 
						
							2018-09-21 15:38:28 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3c22f5731c 
								
							 
						 
						
							
							
								
								all: replace _extern_* workaround with //go:extern pragma  
							
							
							
						 
						
							2018-09-21 14:37:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2ca2220e44 
								
							 
						 
						
							
							
								
								compiler: move SSA construction to ir.go  
							
							
							
						 
						
							2018-09-21 14:37:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2496ae9967 
								
							 
						 
						
							
							
								
								compiler: emit non-PIE executables  
							
							... 
							
							
							
							This fixes a problem on baremetal targets, where PIE doesn't make any
sense. Specifically, on ARM, the compiler sometimes inserted GOT
pointers for linker-defined globals. 
							
						 
						
							2018-09-21 14:37:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3e6750ae23 
								
							 
						 
						
							
							
								
								examples/test: make unicode example more interesting  
							
							
							
						 
						
							2018-09-21 14:37:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								486ea1b8ea 
								
							 
						 
						
							
							
								
								examples: re-add hello world serial communication  
							
							... 
							
							
							
							I accidentally removed the serial example from 45348bfc3e40f834d58fhttps://github.com/aykevl/tinygo/pull/12 ).
Force-pushing seemed like a bad idea so here it is. 
							
						 
						
							2018-09-21 14:33:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								de694b5857 
								
							 
						 
						
							
							
								
								avr: set ADLAR bit in ADC to get a value scaled to 16-bit  
							
							
							
						 
						
							2018-09-20 21:39:45 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								40f834d58f 
								
							 
						 
						
							
							
								
								avr: ADC with 0-1023 range  
							
							
							
						 
						
							2018-09-20 21:39:45 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dbb5ae5a23 
								
							 
						 
						
							
							
								
								avr: use i16 for lengths  
							
							
							
						 
						
							2018-09-20 20:52:59 +02:00