diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-10-19 04:12:33 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-10-19 04:12:33 +0200 |
commit | 95039bc5231f3c9e4b129fd725c6683d21614620 (patch) | |
tree | cb51dec0ac0e8a1fb480bbf32209ef8f9e1ae1d3 /sw/main.cpp | |
parent | 6d6eba632e4ed0f3f3bff0059f55d3f57dbb9954 (diff) | |
download | glutte-batteries-95039bc5231f3c9e4b129fd725c6683d21614620.tar.gz glutte-batteries-95039bc5231f3c9e4b129fd725c6683d21614620.tar.bz2 glutte-batteries-95039bc5231f3c9e4b129fd725c6683d21614620.zip |
Add sw skeleton
Diffstat (limited to 'sw/main.cpp')
-rw-r--r-- | sw/main.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sw/main.cpp b/sw/main.cpp new file mode 100644 index 0000000..a021b96 --- /dev/null +++ b/sw/main.cpp @@ -0,0 +1,36 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2019 Matthias P. Braendli + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. +*/ + +#include <stdlib.h> +#include <stdint.h> + +#include <avr/pgmspace.h> +#include <avr/io.h> +#include <avr/interrupt.h> + +int main() +{ + + return 0; +} |