Skip to content

Commit

Permalink
move usb specifics out of chibios configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 committed Oct 12, 2022
1 parent d6c6057 commit 4660b56
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platforms/chibios/boards/SN_SN32F260/configs/chconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions platforms/chibios/boards/SN_SN32F260/configs/config.h
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#pragma once

#define RAW_IN_CAPACITY 1
#define RAW_OUT_CAPACITY 1

#include_next <config.h>

0 comments on commit 4660b56

Please sign in to comment.