Update I/O and pwm define for target HAKRCF722 in production.
This commit is contained in:
parent
9ab8370379
commit
7ec3be6c06
|
@ -29,18 +29,15 @@
|
|||
|
||||
const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {
|
||||
DEF_TIM(TIM12, CH2, PB15, TIM_USE_PPM, 0, 0), // PPM
|
||||
|
||||
DEF_TIM(TIM3, CH3, PB0, TIM_USE_MOTOR, 0, 0), // S1
|
||||
|
||||
DEF_TIM(TIM3, CH4, PB1, TIM_USE_MOTOR, 0, 0), // S1
|
||||
DEF_TIM(TIM8, CH1, PC6, TIM_USE_MOTOR, 0, 0), // S2
|
||||
DEF_TIM(TIM1, CH3, PA10, TIM_USE_MOTOR, 0, 0), // S3
|
||||
DEF_TIM(TIM1, CH1, PA8, TIM_USE_MOTOR, 0, 0), // S4
|
||||
|
||||
DEF_TIM(TIM8, CH3, PC8, TIM_USE_MOTOR, 0, 0), // S5
|
||||
DEF_TIM(TIM3, CH4, PB1, TIM_USE_MOTOR, 0, 0), // S6
|
||||
|
||||
DEF_TIM(TIM3, CH2, PC7, TIM_USE_MOTOR, 0, 0), //S7
|
||||
DEF_TIM(TIM8, CH4, PC9, TIM_USE_MOTOR, 0, 0), //S8
|
||||
|
||||
DEF_TIM(TIM1, CH1, PA8, TIM_USE_MOTOR, 0, 0), // S4
|
||||
DEF_TIM(TIM3, CH2, PC7, TIM_USE_MOTOR, 0, 0), //S5
|
||||
DEF_TIM(TIM8, CH4, PC9, TIM_USE_MOTOR, 0, 0), //S6
|
||||
|
||||
DEF_TIM(TIM4, CH1, PB6, TIM_USE_LED, 0, 0),
|
||||
DEF_TIM(TIM2, CH1, PA5, TIM_USE_CAMERA_CONTROL, 0, 0),
|
||||
|
||||
};
|
||||
|
|
|
@ -63,8 +63,7 @@
|
|||
#define USE_ACC_SPI_MPU6000
|
||||
#define ACC_1_ALIGN CW270_DEG
|
||||
|
||||
|
||||
#define LED0_PIN PC14
|
||||
#define LED0_PIN PC13
|
||||
|
||||
#define USE_SPI_DEVICE_3
|
||||
#define SPI3_SCK_PIN PC10
|
||||
|
@ -117,7 +116,7 @@
|
|||
#define SERIAL_PORT_COUNT 8
|
||||
|
||||
#define USE_BEEPER
|
||||
#define BEEPER_PIN PC13
|
||||
#define BEEPER_PIN PC14
|
||||
#define BEEPER_INVERTED
|
||||
|
||||
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
|
||||
|
@ -143,5 +142,5 @@
|
|||
#define TARGET_IO_PORTC 0xffff
|
||||
#define TARGET_IO_PORTD 0xffff
|
||||
|
||||
#define USABLE_TIMER_CHANNEL_COUNT 10
|
||||
#define USED_TIMERS (TIM_N(1) | TIM_N(3 ) |TIM_N(4) | TIM_N(8) | TIM_N(12))
|
||||
#define USABLE_TIMER_CHANNEL_COUNT 9
|
||||
#define USED_TIMERS (TIM_N(1)|TIM_N(2)|TIM_N(3)|TIM_N(4)|TIM_N(8)|TIM_N(12))
|
||||
|
|
Loading…
Reference in New Issue