forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5059e7d
commit 43bcb62
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
platforms/chibios/converters/promicro_to_bit_c_pro/_pin_defs.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// 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 4U | ||
#define C6 5U | ||
#define D7 6U | ||
#define E6 7U | ||
#define B4 8U | ||
#define B5 9U | ||
|
||
// Right side (front) | ||
// RAW | ||
// GND | ||
// RESET | ||
// VCC | ||
#define F4 29U | ||
#define F5 28U | ||
#define F6 27U | ||
#define F7 26U | ||
#define B1 22U | ||
#define B3 20U | ||
#define B2 23U | ||
#define B6 21U | ||
|
||
// LEDs (Mapped to R and G channel of the Bit-C PRO's RGB led) | ||
#define D5 16U | ||
#define B0 17U | ||
|
||
// Bit-C LED (mapped to B channel of the Bit-C PRO's RGB led) | ||
#define F0 18U |
12 changes: 12 additions & 0 deletions
12
platforms/chibios/converters/promicro_to_bit_c_pro/converter.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# nullbits Bit-C PRO 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 | ||
|
||
# Tell QMK to use the correct 2nd stage bootloader | ||
OPT_DEFS += -DRP2040_FLASH_W25X10CL |