vial-qmk/keyboards/rp2040_example/rp2040_example.h
sekigon-gonnoc d2f854f89b PICOSDK Support
Build pico-example/cdc_msc sample on qmk build system

Add usb descriptors

Use usb config in config.h

tentative implementation

Enable debug print by cdc

Process queued transfer before new report

Fix dprint hang on Windows

resolve warnings

Add pico uart/i2c/spi sources

Trim mouse report ID before send

implement atomic_util

Add eeprom emulation

Save emulated eeprom by CLI comamnd

Delete unused file

Implement RGBLIGHT

Add pio_manager

Implement split

Chang default serial speed

Print elf size

Fix make command

Add eeprom save command to keymaps

Reset when CDC baudrate is 1200bps

Replace pro micro pin config to RP2040 pro micro

Add i2c functions

Disable LTO automatically

Add CTPIM, CONVERT_TO_PICO_MICRO option

Add MIDI functions

Call usb_task() in midi send function

Convert pico-sdk results to i2c_status

Add build target uf2 to rp2040

Remove unused parts

Fix warnings

rp2040 samples: Update readme.md

Check pico-sdk setup

Implement lazy write back from eepemu to ROM

Add PiPi Gherkin

Change DDYNAMIC_KEYMAP_EEPROM_MAX_ADDR to 4095

PiPi Gherkin: Increase DYNAMIC_KEYMAP_LAYER_COUNT to 6

Change interface number of RAW to 1 due to VIA restriction

Generate bs2_default_padded_checksummed.S at build time

Calculate eeprom emulation region

Fix warning

Add pico/usb_util.c to SRC

Fix pico's split

Add keyboard_quantizer/rp

Add pwm driver

Remove unused file

Add analog.c

Change default FLASH clock div to 4

Fix merge mistakes and issues.

rejig files

remove ugfx

more rejigging

remove qmk_main

add watchdog back
2022-04-09 22:24:03 -06:00

35 lines
1.1 KiB
C

/* Copyright 2021 sekigon-gonnoc
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k00, k01, k02, \
k10, k12 \
) { \
{ k00, k01, k02 }, \
{ k10, KC_NO, k12 } \
}