The blacktyl works as soldered...
This commit is contained in:
parent
17744429a4
commit
f9a455fa53
@ -14,9 +14,13 @@
|
|||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
#define MATRIX_COL_PINS \
|
#define MATRIX_COL_PINS \
|
||||||
{ B1, B10, B4, B3, B8 }
|
{ B1, B10, B4, B3, B8 }
|
||||||
|
#define MATRIX_COL_PINS_RIGHT \
|
||||||
|
{ B1, B10, B3, B4, B5 }
|
||||||
|
|
||||||
#define MATRIX_ROW_PINS \
|
#define MATRIX_ROW_PINS \
|
||||||
{ A2, B5, B9, A8 }
|
{ A2, B5, B9, A8 }
|
||||||
|
#define MATRIX_ROW_PINS_RIGHT \
|
||||||
|
{ A2, B8, A8, B9 }
|
||||||
|
|
||||||
#define DIODE_DIRECTION ROW2COL
|
#define DIODE_DIRECTION ROW2COL
|
||||||
// #define DEBUG_MATRIX_SCAN_RATE
|
// #define DEBUG_MATRIX_SCAN_RATE
|
||||||
@ -56,10 +60,10 @@
|
|||||||
|
|
||||||
/* SPI DRIVER
|
/* SPI DRIVER
|
||||||
*/
|
*/
|
||||||
#define SPI_DRIVER SPID1
|
//#define SPI_DRIVER SPID1
|
||||||
#define SPI_SCK_PIN A5
|
//#define SPI_SCK_PIN A5
|
||||||
#define SPI_MOSI_PIN B7
|
//&#define SPI_MOSI_PIN B7
|
||||||
#define SPI_MISO_PIN A6
|
//#define SPI_MISO_PIN A6
|
||||||
/* EEPROM DRIVER */
|
/* EEPROM DRIVER */
|
||||||
//#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN A4
|
//#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN A4
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define HAL_USE_SPI TRUE
|
//#define HAL_USE_SPI TRUE
|
||||||
#define HAL_USE_PWM TRUE
|
//#define HAL_USE_PWM TRUE
|
||||||
#define HAL_USE_SERIAL TRUE
|
#define HAL_USE_SERIAL TRUE
|
||||||
|
|
||||||
// #define PAL_USE_CALLBACKS TRUE
|
// #define PAL_USE_CALLBACKS TRUE
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#undef STM32_ST_USE_TIMER
|
#undef STM32_ST_USE_TIMER
|
||||||
#define STM32_ST_USE_TIMER 5
|
#define STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
#undef STM32_PWM_USE_TIM2
|
//#undef STM32_PWM_USE_TIM2
|
||||||
#define STM32_PWM_USE_TIM2 TRUE
|
//#define STM32_PWM_USE_TIM2 TRUE
|
||||||
|
|
||||||
#undef STM32_SPI_USE_SPI1
|
#undef STM32_SPI_USE_SPI1
|
||||||
#define STM32_SPI_USE_SPI1 TRUE
|
#define STM32_SPI_USE_SPI1 TRUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user