diff options
author | Nick Brassel <nick@tzarc.org> | 2020-12-03 13:04:28 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 13:04:28 +1100 |
commit | 87291437bd5afccb44677db3ebcf0c284128e990 (patch) | |
tree | a7817c2b282c39fadb067d7e01fbacfe84a73601 /platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk | |
parent | 777a30cb423e0636431dae0b8578ef5e962bac30 (diff) |
Add board specific to Proton-C, with usual defaults turned on. (#10976)
- Set all other ChibiOS defaults to 'off', when not targeting Proton-C
- Modified all existing F303 boards to point at the QMK_PROTON_C to ensure repeatable binary output
- Modified version.h generation so that SKIP_VERSION=yes generates the same output
Diffstat (limited to 'platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk')
-rw-r--r-- | platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk b/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk new file mode 100644 index 0000000000..3fa73a96e0 --- /dev/null +++ b/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk @@ -0,0 +1,12 @@ +# Proton C MCU settings for converting AVR projects +TARGET := $(TARGET)_proton_c +MCU := STM32F303 +BOARD := QMK_PROTON_C +OPT_DEFS += -DCONVERT_TO_PROTON_C + +# These are defaults based on what has been implemented for ARM boards +AUDIO_ENABLE = yes +WS2812_DRIVER = bitbang + +# Force task driven PWM until ARM can provide automatic configuration +BACKLIGHT_DRIVER = software
\ No newline at end of file |