maswangy / barecortexm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jorgeaparicio/barecortexm
An Eclipse project template for bare metal development of ARM Cortex M processors.
This project forked from jorgeaparicio/barecortexm
An Eclipse project template for bare metal development of ARM Cortex M processors.
/******************************************************************************* * * Copyright (C) 2012 Jorge Aparicio <[email protected]> * * This file is part of bareCortexM. * * bareCortexM 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. * * bareCortexM 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 bareCortexM. If not, see <http://www.gnu.org/licenses/>. * ******************************************************************************/ ABOUT ===== bareCortexM is an Eclipse project template for bare metal development of ARM Cortex M processors. With this project you can compile, flash, run and debug code on various ARM processors and microcontrollers. Currently there is complete support for the STM32F1XX, STM32F2XX and STM32F4XX microcontrollers. DEPENDENCIES ============ This project uses extensively the following tools: + GNU Tools ARM Embedded (https://launchpad.net/gcc-arm-embedded) + Eclipse CDT (http://www.eclipse.org/) + GNU ARM plugin for Eclipse (http://sourceforge.net/projects/gnuarmeclipse/) + Zylin Embedded CDT plugin for Eclipse (http://opensource.zylin.com/embeddedcdt.html) + EmbSysRegView plugin for Eclipse (Not necessary, but recommended) (http://embsysregview.sourceforge.net/) + openOCD (http://openocd.sourceforge.net/) INSTALLATION ============ Check the wiki for the installation steps. (https://github.com/JorgeAparicio/bareCortexM/wiki) CONFIGURATION ============= You'll need to configure the project for your specific target, interface and platform. + Choose your platform. - Go to Menu > Project > Properties. - C/C++ Build. - Click the Manage Configuration button next to the Configuration combo box. - Select your platform and click the Set Active button. + Select the correct linker script. - Go to Menu > Project > Properties. - C/C++ Build > Settings. - ARM Sourcery GCC C++ Linker > General. - Type in the Script file box: ../linker/<your target>.ld - The list of supported devices is in the linker folder. + Configure OpenOCD. - Go to Menu > Run > External Tools > External Tool Configurations. - Program > OpenOCD. - On the main tab: - Verify the OpenOCD location. - Modify the argument to match your interface and target: - -f openocd/interface/<interface>.cfg -f openocd/target/<target>.cfg - The list of supported interfaces is in the folder openocd > interface. - The list of supported targets is in the folder openocd > target. + Select the correct GDB script. - Go to Menu > Run > Debug Configurations. - Zylin Embedded debug (Native) > Flash and Debug. - On the Debugger tab. - Modify the GDB script: - gdb/<your target>.script - The list of supported targets is in the gdb folder. LICENSE ======= This project is licensed under the GNU General Public License (GPL) version 3. See COPYING.GPL3.txt for more details.
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.