Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								69f2cec045 
								
							 
						 
						
							
							
								
								avr: fix build for Arduino  
							
							... 
							
							
							
							I'm afraid I broke this while merging the I2S changes... 
							
						 
						
							2018-09-25 14:32:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								12fb4f3f91 
								
							 
						 
						
							
							
								
								avr: i2c implementation with BlinkM example  
							
							... 
							
							
							
							Signed-off-by: Ron Evans <ron@hybridgroup.com> 
							
						 
						
							2018-09-25 14:00:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4d5b5241ec 
								
							 
						 
						
							
							
								
								all: avoid _Msk fields when not necessary  
							
							
							
						 
						
							2018-09-22 17:42:44 +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 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dd5b5a381c 
								
							 
						 
						
							
							
								
								stm32: initial support  
							
							
							
						 
						
							2018-09-22 01:51:44 +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 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fc0ff3a987 
								
							 
						 
						
							
							
								
								avr: initial implementation for PWM  
							
							... 
							
							
							
							Signed-off-by: Ron Evans <ron@hybridgroup.com>
Edited slightly by Ayke van Laethem 
							
						 
						
							2018-09-17 14:03:05 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f41a8032e7 
								
							 
						 
						
							
							
								
								machine/dummy: add fake button pins  
							
							
							
						 
						
							2018-09-14 17:01:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								752332ff13 
								
							 
						 
						
							
							
								
								machine/nrf: implement reading GPIO pins  
							
							
							
						 
						
							2018-09-14 16:59:28 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ab6757fe11 
								
							 
						 
						
							
							
								
								avr: implement Get() function on AVR, and leave stubs for NRF and dummy machines  
							
							... 
							
							
							
							Signed-off-by: Ron Evans <ron@hybridgroup.com> 
							
						 
						
							2018-09-13 20:54:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ron Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								d948abdf82 
								
							 
						 
						
							
							
								
								avr: correct register for Set() operation on pins 0-7  
							
							... 
							
							
							
							Signed-off-by: Ron Evans <ron@hybridgroup.com> 
							
						 
						
							2018-09-13 12:03:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								17b5b6ec5b 
								
							 
						 
						
							
							
								
								all: use less magic in memory-mapped IO  
							
							... 
							
							
							
							Don't store addresses in the values of registers, this leads to problems
with char arrays (among others). Instead, do it like it's done in C with
raw addresses cast to struct pointers.
This commit also splits gen-device.py, as AVR and ARM have very
different ideas of what a register is. It's easier to just keep them
separate. 
							
						 
						
							2018-09-05 12:18:21 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								abaae5b90d 
								
							 
						 
						
							
							
								
								Remove unnecessary compiler workaround  
							
							... 
							
							
							
							This workaround isn't needed anymore: the feature has been implemented
now. 
							
						 
						
							2018-08-29 20:45:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7991243554 
								
							 
						 
						
							
							
								
								Remove CGo from machine module  
							
							... 
							
							
							
							It isn't necessary anymore but apparently the Go importer didn't
complain about an unused import. 
							
						 
						
							2018-08-29 20:44:56 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								62c4c5e90b 
								
							 
						 
						
							
							
								
								go fmt  
							
							
							
						 
						
							2018-08-17 23:23:20 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								90fb0ee4eb 
								
							 
						 
						
							
							
								
								Add AVR support  
							
							... 
							
							
							
							This requires support in LLVM, as AVR support is still experimental. For
example, in bindings/go/build.sh, add
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR to cmake_flags. 
							
						 
						
							2018-06-07 18:35:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								89f77fa861 
								
							 
						 
						
							
							
								
								machine/dummy: Add LED1, LED2, etc to dummy machine  
							
							
							
						 
						
							2018-06-03 16:42:09 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								c4f0dc90dd 
								
							 
						 
						
							
							
								
								machine: Rewrite most of the GPIO functionality  
							
							... 
							
							
							
							Split across device types (nrf, dummy) and use registers directly
instead of the HAL. 
							
						 
						
							2018-05-05 20:05:53 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								3a4663150e 
								
							 
						 
						
							
							
								
								runtime: Implement GPIO output  
							
							... 
							
							
							
							Now we can actually blink a LED! 
							
						 
						
							2018-04-27 01:29:13 +02:00