你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

【干货】老外的GitHub整理的stm32f4驱动库

[复制链接]
xiaojie0513 发布时间:2018-5-3 22:07
本帖最后由 xiaojie0513 于 2018-5-5 12:18 编辑 , O7 k" Z7 P& [! x7 ?& i

5 S# f$ b7 i. d# c' y: \; P  I; T! v2 y! S' I, O5 \
昨晚在github发现了一个老外自己整理的封装库,有很多,比如一些通讯啊啥的,一些显示屏驱动等等

9 x) ?) H9 u0 j
目录
STM32F4
Libraries and projects
Here are listed all libraries for STM32F4 devices.Libraries are designed to work with STM32F4xx series of MCU. Every project hereis created with Keil uVision, but tested with GCC compiler too (Coocox). Eachproject includes 4 targets:
  • STM32F429-Discovery board (STM32F429ZI, 180MHz)
  • STM32F4-Discovery board (STM32F407VG, 168MHz)
  • STM32F401-Discovery (STM32F401, 84MHz)
  • STM32F411C-Discovery (STM32F411, 100MHz)
  • Nucleo F411-RE (STM32F411RE, 100MHz)
  • Nucleo F401-RE (STM32F401RE, 84MHz)
  • STM32F446xx (180MHz)
  • STM32439-Eval (STM32F439NI, 180MHz)
    8 Y  j* X) b) v% G3 e
When you download repository and open project, you haveto set correct your target, for device you use. If you use other device in yourproject, then set your project and copy settings there from target options.
More information below http://stm32f4-discovery.com
First time with Discovery board? http://stm32f4-discovery.com
Current librarires:
  • All libraries listed at one place for easy editing them from one     place and use them for all projects
    # Q) j" D, H; E9 n- w; J$ F# B- K
  • Two default projects are included

    # k' s0 F# `5 D& ^; O4 q( V+ O
    • Default Keil project, with CMSIS files v.1.5.0      included
    • Default Keil project, with CMSIS files v.1.5.0      included and clock for STM32F429-Discovery/STM32F446 slowed down to      168MHz and for Nucleo F411 down to 96MHz for USB communication

      0 ?% V+ ^4 L, N5 V
  • LED_BUTTON - Project example for STM32F4/29 Discovery
  • DELAY - Delay library for STM32F4/29
  • USART - USART library for     STM32F4/29
  • SPI - SPI library for STM32F4/29
  • ADC - ADC library for STM32F4/29
  • DAC - DAC library for STM32F4/29
  • ILI9341 LCD - STM32F429 Discovery ILI9341 LCD library
  • I2C - I2C library for STM32F4/29
  • STMPE811 touch driver for STM32F4/29 Discovery board
  • ILI9341 Button - Button library for ILI9341 LCD and STMPE811 Touch     driver on STM32F429
  • ONEWIRE - OneWire library for STM32F4/29
  • DS18B20 - DS18B20 OneWire temperature sensor library for STM32F4/29
  • SDRAM - ISSI 8MByte SDRAM on STM32F429 Discovery board
  • DS1307 - DS1307 RTC modeule for STM32F429 Discovery
  • HD44780 - HD44780 Alpha numeric LCD driver for STM32F429 discovery
  • NRF24L01+ - NRF24L01+ 2.4 GHz transceiver library
  • ILI8341 LTDC - ILI9341 LCD with LTDC hardware only for STM32F429
  • Internal RTC - Library for internal RTC on STM32F4xx devices
  • Independent watchdog - Library for watchdog on STM32F4xx     devices
  • FATFS - Read SDcard with STM32F4xx using SDIO or SPI     communication
  • RNG - Use of True random number generator peripheral on STM32F4xx     devices
  • MFRC522 - Read RFID Cards with STM32F4xx devices
  • USB VCP - Use STM32F4xx as USB VCP device (Virtual COM Port)
  • AM2301 - AM2301 (DHT21) temperature and humidity sensor
  • ROTARY ENCODER - Connect Rotary Encoder to STM32F4xx device
  • GPS - Read GPS data on STM32F4xx devices
  • L3GD20 - Measure rotation of all 3 axis with L3GD20 gyro sensor
  • USB MSC HOST - Read USB flash drive with STM32F4xx
  • HC-SR04 - Measure distance with ultrasonic sensor on STM32F4xx
  • USB HID HOST - Read USB mouse and keyboard on STM32F4xx
  • 4x4 KEYPAD - Read matrix keypad up to 4x4 with STM32F4xx
  • PWM - Use PWM on all possible timers for STM32F4xx device
  • USB HID Device - Turn STM32F4 into USB HID Device
  • LIS302DL/LIS3DSH - Accelerometers on STM32F4-Discovery board. Also     can be used with any STM32F4 device
  • DAC SIGNAL - Output predefined signals with STM32F4 using DAC, DMA     and TIM
  • BMP180 - Read atmosferic pressure on STM32F4 device
  • EXTI - Use external interrupts with STM32F4
  • LOW POWER - Power consumption modes for STM32F4
  • MCO OUTPUT - Output different clocks from STM32F4
  • STDIO - Use printf and fprintf/vfprintf on STM32F4
  • SERVO - Control RC servo with STM32F4
  • MPU-6050 - Read accelerometer and gyroscope data with STM32F4
  • Identification - Read identification bytes and 96-bits long UNIQUE ID     from STM32F4
  • BKPSRAM - Interface backup SRAM on STM32F4
  • SWO DEBUG - Debug STM32F4 using SWO output
  • CRC - STM32F4 CRC Hardware module
  • PWM IN - Measure input PWM signal on STM32F4
  • OTP - One-time programmable memory on STM32F4
  • STemWin - STemWin implementation for STM32F429-Discovery
  • DMA2D GRAPHIC- Chrom-ART Accelerator on STM32F429-Discovery     board
  • ETHERNET - Connect ethernet to STM32F4xx
  • GPIO - GPIO pins on STM32F4
  • GENERAL - General library for STM32F4
  • USART DMA - Extend USART with DMA TX functionality
  • SPI DMA - Extend SPI with DMA functionality
  • BUTTON - Use buttons with STM32F4xx
  • STRING - Dynamic string allocation for STM32F4xx
  • RCC - Dynamic PLL settings for STM32F4xx
  • CPU LOAD - CPU load monitoring for STM32F4xx
  • SSD1306 - Use OLED LCD with STM32F4
  • FFT - FFT Library for STM32F4xx devices
    9 l7 b5 r7 Q' u( ~$ a( y! `0 j
  • DMA - DMA library for STM32F4xx
  • PCD8544 LCD (Nokia 5110/3310) - Library for LCD
  • & D  T& E" c4 t3 z2 c
0 g  ~# a& A5 e7 M* y# G' M. N

/ m; M( _! [. n- I) t% C3 ]5 z; t' r* Q

% ~( M# ^. U* C1 G7 g( U* a+ H2 a9 k

8 B$ T) Z2 [: ?% j% w  Q( b' Y' }9 i! f7 @. p- `) p4 ^

6 W/ s" X! U! ?- q
来看看真正的东西吧~~~激动
7 ^5 X; _& i: f( G" y. q- S
微信截图_20180501230710.png
微信截图_20180501230746.png
微信截图_20180501230834.png
微信截图_20180501230856.png

. b. u8 C: n# S9 o
随意show两个代码:
微信截图_20180501232713.png
微信截图_20180501232741.png
微信截图_20180501233158.png
微信截图_20180501233339.png

1 B* A# O5 D0 U
老外写的很是完善,英文的注释就连小编这种英语渣渣都能简单易懂,能直接用,不用怎么配置了,当然可以改装成为我们自己习惯的库。

& E7 Q  [8 R. I; m3 y1 x: e
虽然st的库很完善,但是以后我们写代码都可以有自己的库,拿来即用,很是方便。

6 y( X" ?( V. z/ U6 o/ U9 U9 }
下载链接在文件中:
微信截图_20180502170302.png
微信截图_20180502170251.png
下载地址.zip (249 Bytes, 下载次数: 13)

点评

付费主题?  发表于 2018-5-4 20:44
收藏 评论3 发布时间:2018-5-3 22:07

举报

3个回答
xiaojie0513 回答时间:2018-5-5 12:09:33
第一次发  不太清楚。。。。谅解
xiaojie0513 回答时间:2018-5-5 12:15:55
管理员能不能删除这篇付费主题???第一次发,,清楚@butterflyspring @xmshao@安

所属标签

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版