Browse Source

Empty implementation of bootloader, suspend and timer

pull/1409/head
Fred Sundvik 6 years ago
parent
commit
26eb97a4a8
4 changed files with 53 additions and 0 deletions
  1. +2
    -0
      tmk_core/common.mk
  2. +17
    -0
      tmk_core/common/native/bootloader.c
  3. +17
    -0
      tmk_core/common/native/suspend.c
  4. +17
    -0
      tmk_core/common/native/timer.c

+ 2
- 0
tmk_core/common.mk View File

@ -3,6 +3,8 @@ ifeq ($(PLATFORM),AVR)
PLATFORM_COMMON_DIR = $(COMMON_DIR)/avr
else ifeq ($(PLATFORM),CHIBIOS)
PLATFORM_COMMON_DIR = $(COMMON_DIR)/chibios
else
PLATFORM_COMMON_DIR = $(COMMON_DIR)/native
endif
TMK_COMMON_SRC += $(COMMON_DIR)/host.c \


+ 17
- 0
tmk_core/common/native/bootloader.c View File

@ -0,0 +1,17 @@
/* Copyright 2017 Fred Sundvik
*
* 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/>.
*/

+ 17
- 0
tmk_core/common/native/suspend.c View File

@ -0,0 +1,17 @@
/* Copyright 2017 Fred Sundvik
*
* 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/>.
*/

+ 17
- 0
tmk_core/common/native/timer.c View File

@ -0,0 +1,17 @@
/* Copyright 2017 Fred Sundvik
*
* 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/>.
*/

Loading…
Cancel
Save