Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBS_LUCID_FC: update to latest board revision #493

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 17 additions & 12 deletions configs/TBS_LUCID_FC/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,17 @@
#define BEEPER_PIN PC13

#define MOTOR1_PIN PC6
#define MOTOR2_PIN PC7
#define MOTOR2_PIN PB5
#define MOTOR3_PIN PC8
#define MOTOR4_PIN PC9
#define MOTOR5_PIN PA0
#define MOTOR6_PIN PA1
#define MOTOR7_PIN PA2
#define MOTOR8_PIN PA3

#define SERVO1_PIN PB7
#define SERVO2_PIN PB8

#define CAMERA_CONTROL_PIN PC5

#define LED_STRIP_PIN PA8
Expand All @@ -76,20 +79,20 @@
#define UART3_TX_PIN PB11
#define UART3_RX_PIN PB10

#define UART4_TX_PIN NONE
#define UART4_RX_PIN NONE
#define UART4_TX_PIN PH3
#define UART4_RX_PIN PH2

#define UART5_TX_PIN PB6
#define UART5_RX_PIN PB5
#define UART5_TX_PIN PB9
#define UART5_RX_PIN PD2

#define UART7_TX_PIN PB4
#define UART7_RX_PIN PB3

#define UART8_TX_PIN PC2
#define UART8_RX_PIN PC3

#define I2C2_SCL_PIN PH2
#define I2C2_SDA_PIN PH3
#define I2C1_SCL_PIN PB6
#define I2C1_SDA_PIN PC7
haslinghuis marked this conversation as resolved.
Show resolved Hide resolved

#define LED0_PIN PC14
#define LED1_PIN PC15
Expand All @@ -107,26 +110,28 @@
#define SPI3_SDO_PIN PC12

#define ADC_VBAT_PIN PC0
#define ADC_CURR_PIN NONE
#define ADC_CURR_PIN PC1


#define TIMER_PIN_MAPPING \
#define TIMER_PIN_MAPPING \
TIMER_PIN_MAP(0, PC6, 1, 9) \
TIMER_PIN_MAP(1, PC7, 1, 10) \
TIMER_PIN_MAP(1, PB5, 1, 10) \
TIMER_PIN_MAP(2, PC8, 1, 11) \
TIMER_PIN_MAP(3, PC9, 1, 12) \
TIMER_PIN_MAP(4, PA0, 1, -1) \
TIMER_PIN_MAP(5, PA1, 1, -1) \
TIMER_PIN_MAP(6, PA2, 1, -1) \
TIMER_PIN_MAP(7, PA3, 1, -1) \
TIMER_PIN_MAP(8, PA8, 1, 8) \
TIMER_PIN_MAP(9, PC5, 1, -1)
TIMER_PIN_MAP(9, PB7, 1, -1) \
TIMER_PIN_MAP(10, PB8, 2, -1) \
TIMER_PIN_MAP(11, PC5, 1, -1)

#define ADC1_DMA_OPT 0
#define SPI3_TX_DMA_OPT 5

#define ADC_INSTANCE ADC1
#define BARO_I2C_INSTANCE I2CDEV_2
#define BARO_I2C_INSTANCE I2CDEV_1

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

Expand Down