From c525dd5ad7fce95b615c856a485fa1448b40c374 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 20 Sep 2020 12:15:14 +0200 Subject: Adapt License and README.md --- LICENSE | 25 +++++++++++++++++++------ README.md | 18 ++---------------- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/LICENSE b/LICENSE index 01ddbf2..d8ec676 100644 --- a/LICENSE +++ b/LICENSE @@ -1,8 +1,21 @@ -This template should be considered released into the public domain. -Where not possible, please consider it available under your choice -of the MIT, ISC, Apache2 or BSD-2-clause licenses. +MIT License -This only applies to the template code. libopencm3 itself has it's own license. +Copyright (c) 2020 xengineering -You should replace this file with the license of your _own_ project if you are -using this as a template! +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. diff --git a/README.md b/README.md index 801d49f..dc70883 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,4 @@ -Easy "clone and go" repository for a libopencm3 based project. -# Instructions - 1. git clone --recurse-submodules https://github.com/libopencm3/libopencm3-template.git your-project - 2. cd your-project - 3. make -C libopencm3 # (Only needed once) - 4. make -C my-project +# STM32F103C8 Examples -If you have an older git, or got ahead of yourself and skipped the ```--recurse-submodules``` -you can fix things by running ```git submodule update --init``` (This is only needed once) - -# Directories -* my-project contains your application -* my-common-code contains something shared. - -# As a template -You should replace this with your _own_ README if you are using this -as a template. +Example C code for the STM32F103C8 microcontrollers implemented with libopencm3. This repository is based on the [template project](https://github.com/libopencm3/libopencm3-template) for libopencm3. -- cgit v1.2.3-70-g09d2