From 4660b56ffb8da37293b925172e890b984de2f572 Mon Sep 17 00:00:00 2001 From: Dimitris Mantzouranis Date: Wed, 12 Oct 2022 22:37:36 +0300 Subject: [PATCH] move usb specifics out of chibios configs --- .../boards/SN_SN32F260/configs/chconf.h | 2 -- .../boards/SN_SN32F260/configs/config.h | 22 +++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 platforms/chibios/boards/SN_SN32F260/configs/config.h diff --git a/platforms/chibios/boards/SN_SN32F260/configs/chconf.h b/platforms/chibios/boards/SN_SN32F260/configs/chconf.h index 8f843e038a34..7be313796820 100644 --- a/platforms/chibios/boards/SN_SN32F260/configs/chconf.h +++ b/platforms/chibios/boards/SN_SN32F260/configs/chconf.h @@ -54,8 +54,6 @@ } #define PORT_IDLE_THREAD_STACK_SIZE 0 #define PORT_INT_REQUIRED_STACK 0 -#define RAW_IN_CAPACITY 1 -#define RAW_OUT_CAPACITY 1 /* can't call sleep without the idle thread, must override related functions */ #if CH_CFG_NO_IDLE_THREAD == TRUE diff --git a/platforms/chibios/boards/SN_SN32F260/configs/config.h b/platforms/chibios/boards/SN_SN32F260/configs/config.h new file mode 100644 index 000000000000..6b7720b05cc6 --- /dev/null +++ b/platforms/chibios/boards/SN_SN32F260/configs/config.h @@ -0,0 +1,22 @@ +/* Copyright 2022 QMK + * + * 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 . + */ + +#pragma once + +#define RAW_IN_CAPACITY 1 +#define RAW_OUT_CAPACITY 1 + +#include_next