修正工程名,工程编译模式

This commit is contained in:
hm
2021-08-20 14:19:48 +08:00
parent 6934845286
commit cd64c8336f
495 changed files with 54591 additions and 56142 deletions
+122
View File
@@ -0,0 +1,122 @@
#ifndef __APP_CONFIG_H__
#ifndef AP_DT_MS
#define AP_DT_MS (3.061)
#endif
#ifndef PARAM_PROPS_MAXLEN
#define PARAM_PROPS_MAXLEN (640)
#endif
#ifndef PWM_CHANEL_NUM
#define PWM_CHANEL_NUM (20)
#endif
#define PWM0_INIT_VAL (1470)
#define PWM1_INIT_VAL (1100)
#define PWM2_INIT_VAL (1100)
#define PWM3_INIT_VAL (1100)
#define PWM4_INIT_VAL (1500)
#define PWM5_INIT_VAL (1370)
#define PWM6_INIT_VAL (1460)
#define PWM7_INIT_VAL (1475)
#define PWM8_INIT_VAL (1681)
#define PWM9_INIT_VAL (1780)
#define PWM10_INIT_VAL (1106)
#define PWM11_INIT_VAL (1460)
#define PWM12_INIT_VAL (1431)
#define PWM13_INIT_VAL (1869)
#define PWM14_INIT_VAL (1869)
#define PWM15_INIT_VAL (1283)
#define PWM16_INIT_VAL (1815)
#define PWM17_INIT_VAL (1439)
#define PWM18_INIT_VAL (1896)
#define PWM19_INIT_VAL (1085)
#ifndef SBUS_ENABLE
#define SBUS_ENABLE (1)
#endif
#ifndef CAN1_ENABLE
#define CAN1_ENABLE (0)
#endif
#ifndef CAN3_ENABLE
#define CAN3_ENABLE (0)
#endif
#ifndef UART1_RX_ENABLE
#define UART1_RX_ENABLE (512)
#endif
#ifndef UART2_RX_ENABLE
#define UART2_RX_ENABLE (512)
#endif
#ifndef UART4_RX_ENABLE
#define UART4_RX_ENABLE (256)
#endif
#ifndef UART6_RX_ENABLE
#define UART6_RX_ENABLE (256)
#endif
#ifndef UART7_RX_ENABLE
#define UART7_RX_ENABLE (256)
#endif
#ifndef UART8_RX_ENABLE
#define UART8_RX_ENABLE (256)
#endif
#ifndef UART1_TX_ENABLE
#define UART1_TX_ENABLE (256)
#endif
#ifndef UART2_TX_ENABLE
#define UART2_TX_ENABLE (256)
#endif
#ifndef UART4_TX_ENABLE
#define UART4_TX_ENABLE (0)
#endif
#ifndef UART6_TX_ENABLE
#define UART6_TX_ENABLE (128)
#endif
#ifndef UART7_TX_ENABLE
#define UART7_TX_ENABLE (256)
#endif
#ifndef UART8_TX_ENABLE
#define UART8_TX_ENABLE (256)
#endif
#define UART1_BAUDRATE (460800)
#define UART1_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART1_STOPBITS (UART_STOPBITS_1)
#define UART1_PARITY (UART_PARITY_NONE)
#define UART1_MODE (UART_MODE_TX_RX)
#define UART2_BAUDRATE (460800)
#define UART2_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART2_STOPBITS (UART_STOPBITS_1)
#define UART2_PARITY (UART_PARITY_NONE)
#define UART2_MODE (UART_MODE_TX_RX)
#define UART4_BAUDRATE (100000)
#define UART4_WORDLENGTH (UART_WORDLENGTH_9B)
#define UART4_STOPBITS (UART_STOPBITS_2)
#define UART4_PARITY (UART_PARITY_EVEN)
#define UART4_MODE (UART_MODE_RX)
#define UART6_BAUDRATE (115200)
#define UART6_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART6_STOPBITS (UART_STOPBITS_1)
#define UART6_PARITY (UART_PARITY_NONE)
#define UART6_MODE (UART_MODE_TX_RX)
#define UART7_BAUDRATE (115200)
#define UART7_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART7_STOPBITS (UART_STOPBITS_1)
#define UART7_PARITY (UART_PARITY_NONE)
#define UART7_MODE (UART_MODE_TX_RX)
#define UART8_BAUDRATE (115200)
#define UART8_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART8_STOPBITS (UART_STOPBITS_1)
#define UART8_PARITY (UART_PARITY_NONE)
#define UART8_MODE (UART_MODE_TX_RX)
#endif /* __APP_CONFIG_H__ */