summaryrefslogtreecommitdiff
path: root/src/telemega-v2.0
Commit message (Collapse)AuthorAge
* Switch TeleMega v2.0 to CC1200 radio chiptelemega-v2Keith Packard2016-01-09
| | | | | | That's what we're using, after all Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set AO_PWM_TIMER_SCALE for telemega-v2.0Keith Packard2015-12-25
| | | | | | This is needed to configure the PWM timer correctly Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Get stm32l pwm driver workingKeith Packard2015-12-25
| | | | | | | | | | | | | Fix the CCMR1_OC1PE and CCMR2_OC3PE values. Disable clock when no PWM outputs are running. Fix the apb1enr value for the timer. Set ARR value to PWM_MAX - 1 -- ARR is off by one. Sets the GPIO pins to 40MHz bandwidth for sharper edges. Tested on EasyMega, but that code is not included as it breaks the companion protocol. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add TeleMega v2.0, including PWM driverKeith Packard2015-12-25
Signed-off-by: Keith Packard <keithp@keithp.com>