From a5892b35233748b2fcff1f726314c9a8df749f9c Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 24 Jan 2020 09:15:46 -0500 Subject: Reviewed stmos, made small format/doc fixes --- src/libgpio/gpio.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/libgpio/gpio.c') diff --git a/src/libgpio/gpio.c b/src/libgpio/gpio.c index 522817f..42c8ac2 100644 --- a/src/libgpio/gpio.c +++ b/src/libgpio/gpio.c @@ -1,7 +1,28 @@ +/** + * @file gpio.c + * Userspace library for GPIO access + * + * Copyright (C) 2018 Clyne Sullivan + * + * 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 3 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 . + */ + #include "gpio.h" #include +// SVC calls get messed up by GCC's optimization... #define NOOPTIMIZE __attribute__((optimize(0))) NOOPTIMIZE -- cgit v1.2.3