X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelebt-v4.0%2Fao_pins.h;h=ca2c8e57bb6bbc022f46a705b21feff8137740f7;hb=3fdf2f80ccf3a2b148b63f5fd5de198957719075;hp=ce2d949f34d9702995825edc2253213e7070b080;hpb=7f46240dfc57164f0c1b0c4c4ed9695bca63860d;p=fw%2Faltos diff --git a/src/telebt-v4.0/ao_pins.h b/src/telebt-v4.0/ao_pins.h index ce2d949f..ca2c8e57 100644 --- a/src/telebt-v4.0/ao_pins.h +++ b/src/telebt-v4.0/ao_pins.h @@ -19,7 +19,7 @@ #ifndef _AO_PINS_H_ #define _AO_PINS_H_ -#define AO_STACK_SIZE 512 +#define AO_STACK_SIZE 504 #define AO_HSE 32000000 #define AO_RCC_CFGR_PLLMUL STM_RCC_CFGR_PLLMUL_3 @@ -178,50 +178,10 @@ struct ao_adc { #define AO_RN_SW_BTN_PORT (&stm_gpioc) #define AO_RN_SW_BTN_PIN 14 -/* Pin 9. BM70 P2_3 */ -#define AO_RN_WAKEUP_PORT (&stm_gpiob) -#define AO_RN_WAKEUP_PIN 9 - -/* Pin 11. BM70 P2_7/tx_ind. Status indication along with P1_5 */ -#define AO_RN_P0_4_PORT (&stm_gpioc) -#define AO_RN_P0_4_PIN 13 - -/* Pin 12. BM70 P1_1. Status indication along with P0_4 */ +/* Pin 12. BM70 P1_5. Status indication along with P0_4 */ #define AO_RN_P1_5_PORT (&stm_gpiob) #define AO_RN_P1_5_PIN 6 -/* Pin 13. BM70 P1_2. Also I2C SCL */ -#define AO_RN_P1_2_PORT (&stm_gpiob) -#define AO_RN_P1_2_PIN 7 - -/* Pin 14. BM70 P1_3. Also I2C SDA */ -#define AO_RN_P1_3_PORT (&stm_gpiob) -#define AO_RN_P1_3_PIN 8 - -/* Pin 15. BM70 P0_0/cts. */ -#define AO_RN_CTS_PORT (&stm_gpioa) -#define AO_RN_CTS_PIN 1 - -/* Pin 16. BM70 P1_0. */ -#define AO_RN_P0_5_PORT (&stm_gpiob) -#define AO_RN_P0_5_PIN 5 - -/* Pin 17. BM70 P3_6. */ -#define AO_RN_RTS_PORT (&stm_gpioa) -#define AO_RN_RTS_PIN 0 - -/* Pin 18. BM70 P2_0. */ -#define AO_RN_P2_0_PORT (&stm_gpiob) -#define AO_RN_P2_0_PIN 3 - -/* Pin 19. BM70 P2_4. */ -#define AO_RN_P2_4_PORT (&stm_gpioa) -#define AO_RN_P2_4_PIN 10 - -/* Pin 20. BM70 NC. */ -#define AO_RN_EAN_PORT -#define AO_RN_EAN_PIN - /* Pin 21. BM70 RST_N. */ #define AO_RN_RST_N_PORT (&stm_gpioa) #define AO_RN_RST_N_PIN 15 @@ -238,22 +198,6 @@ struct ao_adc { #define AO_RN_P3_1_PORT (&stm_gpiob) #define AO_RN_P3_1_PIN 2 -/* Pin 25. BM70 P3_2/LINK_DROP. */ -#define AO_RN_P3_2_PORT (&stm_gpioa) -#define AO_RN_P3_2_PIN 8 - -/* Pin 26. BM70 P3_3/UART_RX_IND. */ -#define AO_RN_P3_3_PORT (&stm_gpiob) -#define AO_RN_P3_3_PIN 15 - -/* Pin 27. BM70 P3_4/PAIRING_KEY. */ -#define AO_RN_P3_4_PORT (&stm_gpiob) -#define AO_RN_P3_4_PIN 14 - -/* Pin 28. BM70 P3_5. */ -#define AO_RN_P3_6_PORT (&stm_gpiob) -#define AO_RN_P3_6_PIN 13 - /* Pin 29. BM70 P0_7. */ #define AO_RN_P3_7_PORT (&stm_gpiob) #define AO_RN_P3_7_PIN 12