mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-14 11:51:32 +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
|
#define HAL_USE_DAC FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Enables the EFlash subsystem.
|
||||||
|
*/
|
||||||
|
#if !defined(HAL_USE_EFL) || defined(__DOXYGEN__)
|
||||||
|
#define HAL_USE_EFL FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the GPT subsystem.
|
* @brief Enables the GPT subsystem.
|
||||||
*/
|
*/
|
||||||
@ -115,7 +122,7 @@
|
|||||||
* @brief Enables the PWM subsystem.
|
* @brief Enables the PWM subsystem.
|
||||||
*/
|
*/
|
||||||
#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
|
#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
|
||||||
#define HAL_USE_PWM FALSE
|
#define HAL_USE_PWM TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -452,7 +459,6 @@
|
|||||||
#define SPI_USE_CIRCULAR FALSE
|
#define SPI_USE_CIRCULAR FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
|
* @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
|
||||||
* @note Disabling this option saves both code and data space.
|
* @note Disabling this option saves both code and data space.
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* 5...0 Lowest...Highest.
|
* 5...0 Lowest...Highest.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NUC123SD4AN0_MCUCONF
|
#define NUC123_MCUCONF
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* HAL driver system settings.
|
* HAL driver system settings.
|
||||||
@ -86,6 +86,7 @@
|
|||||||
* PWM driver system settings.
|
* PWM driver system settings.
|
||||||
*/
|
*/
|
||||||
#define NUC123_PWM_USE_ADVANCED FALSE
|
#define NUC123_PWM_USE_ADVANCED FALSE
|
||||||
|
#define NUC123_PWM_USE_PWM1 TRUE
|
||||||
#define NUC123_PWM_USE_TIM1 FALSE
|
#define NUC123_PWM_USE_TIM1 FALSE
|
||||||
#define NUC123_PWM_USE_TIM2 FALSE
|
#define NUC123_PWM_USE_TIM2 FALSE
|
||||||
#define NUC123_PWM_USE_TIM3 TRUE
|
#define NUC123_PWM_USE_TIM3 TRUE
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
SRC += $(QUANTUM_DIR)/color.c
|
# SRC += $(QUANTUM_DIR)/color.c
|
||||||
SRC += $(QUANTUM_DIR)/rgb_matrix.c
|
# SRC += $(QUANTUM_DIR)/rgb_matrix.c
|
||||||
SRC += mbi5042gp.c
|
# SRC += mbi5042gp.c
|
||||||
CIE1931_CURVE := yes
|
# CIE1931_CURVE := yes
|
||||||
RGB_KEYCODES_ENABLE := yes
|
# RGB_KEYCODES_ENABLE := yes
|
||||||
OPT_DEFS += -DRGB_MATRIX_ENABLE
|
# OPT_DEFS += -DRGB_MATRIX_ENABLE
|
||||||
OPT_DEFS += -DMBI5042
|
# OPT_DEFS += -DHAL_USE_PWM
|
||||||
|
# OPT_DEFS += -DMBI5042
|
||||||
|
|
||||||
MCU_FAMILY = NUMICRO
|
MCU_FAMILY = NUMICRO
|
||||||
MCU_SERIES = NUC123SD4AN0
|
MCU_SERIES = NUC123
|
||||||
|
|
||||||
# linker script to use
|
# linker script to use
|
||||||
MCU_LDSCRIPT = NUC123SD4AN0
|
MCU_LDSCRIPT = NUC123xD4xx0
|
||||||
|
|
||||||
# startup code to use
|
# startup code to use
|
||||||
MCU_STARTUP = NUC123SD4AN0
|
MCU_STARTUP = NUC123
|
||||||
BOARD = NUC123SD4AN0
|
BOARD = NUC123SD4AN0
|
||||||
|
|
||||||
# NUC123 series is Cortex M0
|
# NUC123 series is Cortex M0
|
||||||
|
Loading…
Reference in New Issue
Block a user