From e29ec6b0849cb9e9510cbd03a7683e88d5da9061 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 20 Nov 2013 15:09:52 -0800 Subject: [PATCH] Add default M0 code that just loops forever, if a project doesn't specify any SRC_M0_[CS] files. --- firmware/common/m0_sleep.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 firmware/common/m0_sleep.c diff --git a/firmware/common/m0_sleep.c b/firmware/common/m0_sleep.c new file mode 100644 index 00000000..e540dd59 --- /dev/null +++ b/firmware/common/m0_sleep.c @@ -0,0 +1,26 @@ +/* + * Copyright 2013 Jared Boone + * + * This file is part of HackRF. + * + * 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, 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; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +int main() { + while(1) { + + } +} \ No newline at end of file