summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/converters
diff options
context:
space:
mode:
authorDavid Hoelscher <infinityis@users.noreply.github.com>2022-11-13 17:59:01 -0600
committerGitHub <noreply@github.com>2022-11-13 23:59:01 +0000
commita42ab90220ce01c2aebdebb09aa458f383d26892 (patch)
tree4920acd95eef0a390a3a7f1a182b92803bbe91df /platforms/chibios/converters
parent7901ba431a4a6248aeb4b16c570e96ce44e56a42 (diff)
Add Bonsai C4 as a platform board file (#18901)
* Set up Bonsai C4 as a platform board file * corrections and improvements based on testing and feedback * Added VBUS sensing as default capability for improved split support using Bonsai C4 * Update clock divisor for SPI flash Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'platforms/chibios/converters')
-rw-r--r--platforms/chibios/converters/promicro_to_bonsai_c4/converter.mk4
-rw-r--r--platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk5
2 files changed, 7 insertions, 2 deletions
diff --git a/platforms/chibios/converters/promicro_to_bonsai_c4/converter.mk b/platforms/chibios/converters/promicro_to_bonsai_c4/converter.mk
index 7410209b67..005b7a8160 100644
--- a/platforms/chibios/converters/promicro_to_bonsai_c4/converter.mk
+++ b/platforms/chibios/converters/promicro_to_bonsai_c4/converter.mk
@@ -1,4 +1,4 @@
# Proton C MCU settings for converting AVR projects
MCU := STM32F411
-BOARD := GENERIC_STM32_F411XE
-BOOTLOADER := stm32-dfu \ No newline at end of file
+BOARD := BONSAI_C4
+BOOTLOADER := stm32-dfu
diff --git a/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk b/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk
new file mode 100644
index 0000000000..5f49b17f8a
--- /dev/null
+++ b/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk
@@ -0,0 +1,5 @@
+BACKLIGHT_DRIVER ?= pwm
+WS2812_DRIVER ?= pwm
+SERIAL_DRIVER ?= usart
+FLASH_DRIVER ?= spi
+EEPROM_DRIVER ?= spi \ No newline at end of file