diff options
author | miguelelinventor <miguelelinventor@gmail.com> | 2023-02-09 20:27:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 11:27:37 -0800 |
commit | e24f9b2c0af33ec0df0fb341546102e8f14b9be8 (patch) | |
tree | 7f30180addba4a21325f14d3025b882615943a08 /platforms/chibios | |
parent | c67285587c812a3dffb20113c8a270b596156d0e (diff) |
Add Michi MCU Converter support (#19163)
Diffstat (limited to 'platforms/chibios')
-rw-r--r-- | platforms/chibios/converters/promicro_to_michi/_pin_defs.h | 36 | ||||
-rw-r--r-- | platforms/chibios/converters/promicro_to_michi/converter.mk | 9 |
2 files changed, 45 insertions, 0 deletions
diff --git a/platforms/chibios/converters/promicro_to_michi/_pin_defs.h b/platforms/chibios/converters/promicro_to_michi/_pin_defs.h new file mode 100644 index 0000000000..ce331b0340 --- /dev/null +++ b/platforms/chibios/converters/promicro_to_michi/_pin_defs.h @@ -0,0 +1,36 @@ +// Copyright 2022 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +// Left side (front) +#define D3 0U +#define D2 1U +// GND +// GND +#define D1 2U +#define D0 3U +#define D4 13U +#define C6 4U +#define D7 9U +#define E6 10U +#define B4 11U +#define B5 12U + +// Right side (front) +// RAW +// GND +// RESET +// VCC +#define F4 29U +#define F5 28U +#define F6 27U +#define F7 26U +#define B1 20U +#define B3 19U +#define B2 18U +#define B6 17U + +// LEDs (Mapped to unused pins to avoid collisions) +#define D5 14U +#define B0 15U diff --git a/platforms/chibios/converters/promicro_to_michi/converter.mk b/platforms/chibios/converters/promicro_to_michi/converter.mk new file mode 100644 index 0000000000..4d7178e2f7 --- /dev/null +++ b/platforms/chibios/converters/promicro_to_michi/converter.mk @@ -0,0 +1,9 @@ +# Michi MCU settings for converting AVR projects +MCU := RP2040 +BOARD := QMK_PM2040 +BOOTLOADER := rp2040 + +# These are defaults based on what has been implemented for RP2040 boards +SERIAL_DRIVER ?= vendor +WS2812_DRIVER ?= vendor +BACKLIGHT_DRIVER ?= software |