X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm-demo%2Fao_pins.h;h=40e48a367423c78c081df828af7bf8be800a43c0;hp=77e42a2805cd784167201b4973f2aa528a3bd948;hb=5c4b3658a96f1a64ccebf7bddda06b15b4ac4a6f;hpb=46f87373bc8c28442273ee4f8da3a352223150f5 diff --git a/src/stm-demo/ao_pins.h b/src/stm-demo/ao_pins.h index 77e42a28..40e48a36 100644 --- a/src/stm-demo/ao_pins.h +++ b/src/stm-demo/ao_pins.h @@ -60,6 +60,7 @@ #define HAS_SPI_1 1 #define SPI_1_PB3_PB4_PB5 1 +#define SPI_1_OSPEEDR STM_OSPEEDR_10MHz #define HAS_SPI_2 0 @@ -67,6 +68,8 @@ #define HAS_BEEP 0 #define PACKET_HAS_SLAVE 0 +#define AO_BOOT_CHAIN 1 + #define LOW_LEVEL_DEBUG 1 #define LED_PORT_ENABLE STM_RCC_AHBENR_GPIOBEN @@ -135,6 +138,8 @@ #define AO_LCD_28_ON_C 1 +#define AO_LCD_DUTY STM_LCD_CR_DUTY_STATIC + #define HAS_ADC 1 #define AO_ADC_RING 32