aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/boards')
-rw-r--r--src/drivers/boards/trifle/devconfig.c27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/drivers/boards/trifle/devconfig.c b/src/drivers/boards/trifle/devconfig.c
index 47b69a27e..1fec4acd6 100644
--- a/src/drivers/boards/trifle/devconfig.c
+++ b/src/drivers/boards/trifle/devconfig.c
@@ -21,7 +21,32 @@ __EXPORT const struct pwm_servo_timer pwm_servo_timers[PWM_SERVO_MAX_TIMERS] =
__EXPORT const struct pwm_servo_channel pwm_servo_channels[PWM_SERVO_MAX_CHANNELS] = {
{
.timer = &pwm_servo_timers[0],
+ .ftm_channel = 1,
+ .pinconfig = PIN_PORTC | PIN2 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
+ },
+ {
+ .timer = &pwm_servo_timers[0],
+ .ftm_channel = 0,
+ .pinconfig = PIN_PORTC | PIN1 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
+ },
+ {
+ .timer = &pwm_servo_timers[0],
+ .ftm_channel = 6,
+ .pinconfig = PIN_PORTD | PIN6 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
+ },
+ {
+ .timer = &pwm_servo_timers[0],
.ftm_channel = 5,
- .pinconfig = PIN_PORTD | PIN5 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
+ .pinconfig = PIN_PORTD | PIN5 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
+ },
+ {
+ .timer = &pwm_servo_timers[0],
+ .ftm_channel = 2,
+ .pinconfig = PIN_PORTC | PIN3 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
+ },
+ {
+ .timer = &pwm_servo_timers[0],
+ .ftm_channel = 3,
+ .pinconfig = PIN_PORTC | PIN4 | PIN_ALT4_OUTPUT | PIN_ALT4_HIGHDRIVE
}
};