diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2020-01-24 09:15:46 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2020-01-24 09:15:46 -0500 |
commit | a5892b35233748b2fcff1f726314c9a8df749f9c (patch) | |
tree | a666f7f73b8926b2518b578b9416209395908a6e /src/libgpio/gpio.c | |
parent | 998b3ac86e3b3f926d81e768f1200815e9e3d148 (diff) |
Reviewed stmos, made small format/doc fixes
Diffstat (limited to 'src/libgpio/gpio.c')
-rw-r--r-- | src/libgpio/gpio.c | 21 |
1 files changed, 21 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. + */ + #include "gpio.h" #include <stdint.h> +// SVC calls get messed up by GCC's optimization... #define NOOPTIMIZE __attribute__((optimize(0))) NOOPTIMIZE |