mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-13 19:31:31 +00:00
ducky: update for chibios-contrib changes
This commit is contained in:
parent
002d16424e
commit
a93ce123ea
@ -69,6 +69,13 @@
|
||||
#define HAL_USE_DAC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the EFlash subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_EFL) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_EFL FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the GPT subsystem.
|
||||
*/
|
||||
@ -80,7 +87,7 @@
|
||||
* @brief Enables the I2C subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_I2C FALSE
|
||||
#define HAL_USE_I2C FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
@ -115,7 +122,7 @@
|
||||
* @brief Enables the PWM subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_PWM FALSE
|
||||
#define HAL_USE_PWM TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
@ -157,7 +164,7 @@
|
||||
* @brief Enables the SPI subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SPI FALSE
|
||||
#define HAL_USE_SPI FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
@ -452,13 +459,12 @@
|
||||
#define SPI_USE_CIRCULAR FALSE
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define SPI_USE_MUTUAL_EXCLUSION TRUE
|
||||
#define SPI_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -32,7 +32,7 @@
|
||||
* 5...0 Lowest...Highest.
|
||||
*/
|
||||
|
||||
#define NUC123SD4AN0_MCUCONF
|
||||
#define NUC123_MCUCONF
|
||||
|
||||
/*
|
||||
* HAL driver system settings.
|
||||
@ -86,6 +86,7 @@
|
||||
* PWM driver system settings.
|
||||
*/
|
||||
#define NUC123_PWM_USE_ADVANCED FALSE
|
||||
#define NUC123_PWM_USE_PWM1 TRUE
|
||||
#define NUC123_PWM_USE_TIM1 FALSE
|
||||
#define NUC123_PWM_USE_TIM2 FALSE
|
||||
#define NUC123_PWM_USE_TIM3 TRUE
|
||||
|
@ -1,19 +1,20 @@
|
||||
SRC += $(QUANTUM_DIR)/color.c
|
||||
SRC += $(QUANTUM_DIR)/rgb_matrix.c
|
||||
SRC += mbi5042gp.c
|
||||
CIE1931_CURVE := yes
|
||||
RGB_KEYCODES_ENABLE := yes
|
||||
OPT_DEFS += -DRGB_MATRIX_ENABLE
|
||||
OPT_DEFS += -DMBI5042
|
||||
# SRC += $(QUANTUM_DIR)/color.c
|
||||
# SRC += $(QUANTUM_DIR)/rgb_matrix.c
|
||||
# SRC += mbi5042gp.c
|
||||
# CIE1931_CURVE := yes
|
||||
# RGB_KEYCODES_ENABLE := yes
|
||||
# OPT_DEFS += -DRGB_MATRIX_ENABLE
|
||||
# OPT_DEFS += -DHAL_USE_PWM
|
||||
# OPT_DEFS += -DMBI5042
|
||||
|
||||
MCU_FAMILY = NUMICRO
|
||||
MCU_SERIES = NUC123SD4AN0
|
||||
MCU_SERIES = NUC123
|
||||
|
||||
# linker script to use
|
||||
MCU_LDSCRIPT = NUC123SD4AN0
|
||||
MCU_LDSCRIPT = NUC123xD4xx0
|
||||
|
||||
# startup code to use
|
||||
MCU_STARTUP = NUC123SD4AN0
|
||||
MCU_STARTUP = NUC123
|
||||
BOARD = NUC123SD4AN0
|
||||
|
||||
# NUC123 series is Cortex M0
|
||||
|
Loading…
Reference in New Issue
Block a user