忘记push了,添加了RC522驱动
This commit is contained in:
@@ -58,12 +58,22 @@ void Error_Handler(void);
|
||||
/* USER CODE END EFP */
|
||||
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define KEY3_Pin GPIO_PIN_2
|
||||
#define KEY3_GPIO_Port GPIOE
|
||||
#define KEY2_Pin GPIO_PIN_3
|
||||
#define KEY2_GPIO_Port GPIOE
|
||||
#define KEY1_Pin GPIO_PIN_4
|
||||
#define KEY1_GPIO_Port GPIOE
|
||||
#define TDOUT_Pin GPIO_PIN_8
|
||||
#define TDOUT_GPIO_Port GPIOF
|
||||
#define TDIN_Pin GPIO_PIN_9
|
||||
#define TDIN_GPIO_Port GPIOF
|
||||
#define TPEN_Pin GPIO_PIN_10
|
||||
#define TPEN_GPIO_Port GPIOF
|
||||
#define KEY0_Pin GPIO_PIN_0
|
||||
#define KEY0_GPIO_Port GPIOA
|
||||
#define RC522_CS_Pin GPIO_PIN_4
|
||||
#define RC522_CS_GPIO_Port GPIOA
|
||||
#define LCD_BL_Pin GPIO_PIN_0
|
||||
#define LCD_BL_GPIO_Port GPIOB
|
||||
#define TCLK_Pin GPIO_PIN_1
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
/*#define HAL_MMC_MODULE_ENABLED */
|
||||
/*#define HAL_SDRAM_MODULE_ENABLED */
|
||||
/*#define HAL_SMARTCARD_MODULE_ENABLED */
|
||||
/*#define HAL_SPI_MODULE_ENABLED */
|
||||
#define HAL_SPI_MODULE_ENABLED
|
||||
#define HAL_SRAM_MODULE_ENABLED
|
||||
#define HAL_TIM_MODULE_ENABLED
|
||||
/*#define HAL_UART_MODULE_ENABLED */
|
||||
|
||||
Reference in New Issue
Block a user