libmaple-master
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:545KB
下载次数:0
上传日期:2020-11-10 18:50:25
上 传 者:
asdadsadasd
说明: libmaple library for stm32duino purposes
文件列表:
.dir-locals.el (285, 2016-07-29)
CREDITS (1766, 2016-07-29)
HACKING (743, 2016-07-29)
LICENSE (5126, 2016-07-29)
Makefile (6112, 2016-07-29)
build-targets.mk (1638, 2016-07-29)
contrib (0, 2016-07-29)
contrib\astylerc (655, 2016-07-29)
contrib\automake (0, 2016-07-29)
contrib\automake\Makefile.am (3079, 2016-07-29)
contrib\automake\configure.ac (186, 2016-07-29)
contrib\openocd (0, 2016-07-29)
contrib\openocd\debug_0.3.cfg (1871, 2016-07-29)
contrib\openocd\debug_0.4.cfg (1896, 2016-07-29)
contrib\openocd\flash_0.3.cfg (2358, 2016-07-29)
contrib\openocd\flash_0.4.cfg (2370, 2016-07-29)
contrib\openocd\openocd-wrapper.sh (379, 2016-07-29)
examples (0, 2016-07-29)
examples\blinky.cpp (322, 2016-07-29)
examples\debug-dtrrts.cpp (821, 2016-07-29)
examples\exti-interrupt-callback.cpp (2496, 2016-07-29)
examples\exti-interrupt.cpp (1143, 2016-07-29)
examples\fsmc-stress-test.cpp (5604, 2016-07-29)
examples\i2c-mcp4725-dac.cpp (3344, 2016-07-29)
examples\mini-exti-test.cpp (5624, 2016-07-29)
examples\qa-slave-shield.cpp (1565, 2016-07-29)
examples\serial-echo.cpp (516, 2016-07-29)
examples\spi_master.cpp (2274, 2016-07-29)
examples\test-bkp.cpp (1684, 2016-07-29)
examples\test-dac.cpp (824, 2016-07-29)
examples\test-fsmc.cpp (3018, 2016-07-29)
examples\test-print.cpp (5148, 2016-07-29)
examples\test-ring-buffer-insertion.cpp (3067, 2016-07-29)
examples\test-serial-flush.cpp (765, 2016-07-29)
examples\test-serialusb.cpp (3908, 2016-07-29)
examples\test-servo.cpp (3806, 2016-07-29)
examples\test-session.cpp (27375, 2016-07-29)
... ...
[INACTIVE] libmaple
libmaple is inactive and no longer accepting submissions. Please consider
www.stm32duino.com instead.
------------------------------------------------------------------------------
_ _ _ _
| (_) |__ _ __ ___ __ _ _ __ | | ___
| | | '_ \| '_ ` _ \ / _` | '_ \| |/ _ \
| | | |_) | | | | | | (_| | |_) | | __/
|_|_|_.__/|_| |_| |_|\__,_| .__/|_|\___|
|_| by LeafLabs!
leaflabs.com
The latest version of this repository can be found here:
https://github.com/leaflabs/libmaple
IMPORTANT: read HACKING _before_ submitting patches.
General information
------------------------------------------------------------------------------
libmaple is a library for programming ST's STM32 line of Cortex M3
microcontrollers. It has a pure C layer, libmaple proper, which does
most of the work, and a C++ layer, Wirish, which provides high-level
convenience functions and a Wiring/Arduino-compatible interface.
libmaple is designed for portability, and currently runs on a variety
of STM32F1 performance and value line MCUs, with experimental support
for STM32F2 MCUs.
Using libmaple
------------------------------------------------------------------------------
The easiest way to use libmaple is in concert with the Maple IDE.
Maple IDE, a sister project from LeafLabs, is an Arduino IDE fork
usable for programming Maple boards, which includes libmaple and a
compilation and upload toolchain:
http://leaflabs.com/docs/maple-ide-install.html
Additionally, a HOWTO on setting up this library for use from the
command line in a Unix environment is available here:
http://leaflabs.com/docs/unix-toolchain.html
Documentation, Etc.
------------------------------------------------------------------------------
HTML documentation for the latest release of libmaple/Maple IDE is
available here:
http://leaflabs.com/docs/
libmaple is well documented via Doxygen comments. The HTML
documentation referenced above (which also includes the Doxygen
output) is automatically generated from the source files in the
leaflabs-docs repository. In order to obtain the leaflabs-docs
repository, visit:
http://github.com/leaflabs/leaflabs-docs/
Repository Layout
------------------------------------------------------------------------------
/build/
Compiler output
/contrib/
Community-contributed resources. LeafLabs doesn't maintain the
contents of this directory, so it may get stale.
/examples/
Example code and test programs. Copy these to /main.cpp to compile them.
/libmaple/
This is the meat of the library. C only, no C++. The
Arduino-like compatibility layer (in C++) is in /wirish/.
/libraries/
Special-purpose libraries that don't merit inclusion in the
/libmaple/ and /wirish/ directories, which are intended for
general use. Arduino-compatible libraries go here.
/LICENSE
Licensing and copyright information.
/main.cpp.example
main.cpp is required for a successful build but is non-existent by
default; use this file as a template for building your program. By
default, just blinks an LED.
/Makefile
libmaple build instructions for GNU Make. (This is supplemented by
build-targets.mk, the rules.mk files throughout the tree, and the
files in support/make/).
/notes/
Unstructured text notes that may be useful.
/README
This file ;).
/support/
Support files and scripts for various purposes.
gdb/ GDB scripts.
ld/ Linker scripts.
make/ Additional files used by the top-level Makefile.
scripts/ Miscellany.
doxygen/ Doxygen configuration.
stm32loader.py Upload script for the STM32's built-in USART bootloader.
/wirish/
Extra wrappers and functionality around the lower level code in
/libmaple/. These files implement an Arduino "Wiring"-like
library.
近期下载者:
相关文件:
收藏者: