ivas / libstm32pp Goto Github PK
View Code? Open in Web Editor NEWThis project forked from at-2500/libstm32pp
A template peripheral library for the STM32 microcontrollers, written in C++.
This project forked from at-2500/libstm32pp
A template peripheral library for the STM32 microcontrollers, written in C++.
/******************************************************************************* * * Copyright (C) 2012 Jorge Aparicio <[email protected]> * * This file is part of libstm32pp. * * libstm32pp is free software: you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) * any later version. * * libstm32pp 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 Lesser General Public License * for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libstm32pp. If not, see <http://www.gnu.org/licenses/>. * ******************************************************************************/ ABOUT ===== libstm32pp is a template peripheral library for the STM32F1/STM32F2/STM32F4 family of microcontrollers(uC). This library is written in C++, and uses heavily template metaprogramming, statics assertions, templates and enumerators. All these features provide a memory efficient implementation, compile-time error-checking and strong typing. INSTALLATION AND USE ==================== There is no installation, this is a header file only library. To use this library, simply link the libstm32pp/include folder to your source. The following files are important: + device_select.hpp Here the microcontroller family must be selected. (uncomment the family you are going to use) + clock.hpp Here the uC clocks can be configured. (be sure to call clk::initialize() as soon as possible in your program) + interrupt_cpp.hpp This is actually a source file that configures the uC interrupts. (include this file in a source file .cpp) + system_call_cpp.hpp This is actually a source file that implements the newlib hardware dependant functions. (include this file in a source file .cpp) Check the "demo" folder for examples. An editor with auto-complete feature is highly recommended for development using this library. If you need an open source framework for development of these families of uCs, you should check the bareCortexM project: (https://github.com/JorgeAparicio/bareCortexM) It's a framework based on the Eclipse IDE and the GCC toolchain, for bare metal development of Cortex™ M Series processors. LICENSE ======= This project is licensed under the: GNU Lesser General Public License (LGPL) version 3. See COPYING.GPL3.txt and COPYING.LGPL3.txt for more details. DISCLAIMER ========== Cortex™ is a trademark of ARM Limited. ST, STM32 are trademarks of STMicroelectronics. All other trademarks are property of their respective owners.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.