diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-16 21:47:59 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 21:10:42 +0300 |
| commit | 26eb97a4a8c260a9b5613d425bcdd175a4c67761 (patch) | |
| tree | 75dac6a6fc12d45f65b518302eb8482b14ea81a4 /tmk_core | |
| parent | fdfd48e8c8a4c713be0d2d978bbe40c5f083abc5 (diff) | |
| download | qmk_firmware-26eb97a4a8c260a9b5613d425bcdd175a4c67761.tar.gz qmk_firmware-26eb97a4a8c260a9b5613d425bcdd175a4c67761.zip | |
Empty implementation of bootloader, suspend and timer
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common.mk | 2 | ||||
| -rw-r--r-- | tmk_core/common/native/bootloader.c | 17 | ||||
| -rw-r--r-- | tmk_core/common/native/suspend.c | 17 | ||||
| -rw-r--r-- | tmk_core/common/native/timer.c | 17 |
4 files changed, 53 insertions, 0 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk index edec2acb4..c69e7e2d5 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk | |||
| @@ -3,6 +3,8 @@ ifeq ($(PLATFORM),AVR) | |||
| 3 | PLATFORM_COMMON_DIR = $(COMMON_DIR)/avr | 3 | PLATFORM_COMMON_DIR = $(COMMON_DIR)/avr |
| 4 | else ifeq ($(PLATFORM),CHIBIOS) | 4 | else ifeq ($(PLATFORM),CHIBIOS) |
| 5 | PLATFORM_COMMON_DIR = $(COMMON_DIR)/chibios | 5 | PLATFORM_COMMON_DIR = $(COMMON_DIR)/chibios |
| 6 | else | ||
| 7 | PLATFORM_COMMON_DIR = $(COMMON_DIR)/native | ||
| 6 | endif | 8 | endif |
| 7 | 9 | ||
| 8 | TMK_COMMON_SRC += $(COMMON_DIR)/host.c \ | 10 | TMK_COMMON_SRC += $(COMMON_DIR)/host.c \ |
diff --git a/tmk_core/common/native/bootloader.c b/tmk_core/common/native/bootloader.c new file mode 100644 index 000000000..01d1930ea --- /dev/null +++ b/tmk_core/common/native/bootloader.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2017 Fred Sundvik | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | |||
diff --git a/tmk_core/common/native/suspend.c b/tmk_core/common/native/suspend.c new file mode 100644 index 000000000..01d1930ea --- /dev/null +++ b/tmk_core/common/native/suspend.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2017 Fred Sundvik | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | |||
diff --git a/tmk_core/common/native/timer.c b/tmk_core/common/native/timer.c new file mode 100644 index 000000000..01d1930ea --- /dev/null +++ b/tmk_core/common/native/timer.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2017 Fred Sundvik | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | |||
