打印

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

[复制链接]
2870|22
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
本帖最后由 caijie001 于 2018-5-4 07:51 编辑


昨晚在github发现了一个老外自己整理的封装库,有很多,比如一些通讯啊啥的,一些显示屏驱动等等

目录
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)

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

  • Two default projects are included

    • 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

  • 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

  • DMA - DMA library for STM32F4xx
  • PCD8544 LCD (Nokia 5110/3310) - Library for LCD



来看看真正的东西吧~~~激动

随意show两个代码:

(GPIO)

(IIC)



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

虽然st的库很完善,但是以后我们写代码都可以有自己的库,拿来即用,很是方便。


本文隐藏有下载链接

公众号后台也有下载链接回复 “github” 即可



欢迎关注杰杰个人公众号“创客飞梦空间”
        干货不间断
       在未来的日子里
创客飞梦空间与你们同在,放飞我们的梦想




游客,如果您要查看本帖隐藏内容请回复

相关帖子

沙发
rongzhai| | 2018-5-3 08:29 | 只看该作者
有这么牛X吗?

使用特权

评论回复
板凳
caijie001|  楼主 | 2018-5-3 09:03 | 只看该作者

老外啊,并不是我

使用特权

评论回复
地板
caijie001|  楼主 | 2018-5-4 06:57 | 只看该作者
突然发现图片是不行的、、、、、

使用特权

评论回复
5
wmm1988| | 2018-5-8 09:48 | 只看该作者
谢谢分享,很精彩

使用特权

评论回复
6
brave123| | 2018-6-5 17:31 | 只看该作者
谢谢分享!

使用特权

评论回复
7
望望山| | 2018-6-6 20:52 | 只看该作者
下载下来学习学习,谢谢分享

使用特权

评论回复
8
王力斯| | 2018-6-15 15:11 | 只看该作者
感谢大神分享  顶起

使用特权

评论回复
9
1552424793| | 2018-8-1 18:37 | 只看该作者

感谢大神分享  顶起

使用特权

评论回复
10
11738752| | 2018-8-6 13:52 | 只看该作者
学习学习

使用特权

评论回复
11
11738752| | 2018-8-6 13:55 | 只看该作者
能告知github地址不

使用特权

评论回复
12
烟花绽放| | 2018-8-6 15:18 | 只看该作者
谢谢分享

使用特权

评论回复
13
zwwoshi| | 2018-8-16 11:50 | 只看该作者
回见 老外

使用特权

评论回复
14
cepoly| | 2018-8-21 09:50 | 只看该作者
围观

使用特权

评论回复
15
sdjnzczp| | 2018-8-28 16:08 | 只看该作者
谢谢楼主分享

使用特权

评论回复
16
hyh403| | 2018-8-29 16:22 | 只看该作者

使用特权

评论回复
17
xqq09| | 2019-3-26 20:25 | 只看该作者
谢谢分享

使用特权

评论回复
18
官林狗帮帮主| | 2019-6-12 16:45 | 只看该作者
谢谢楼主,下载下来学习学习

使用特权

评论回复
19
想吃鱼的猫| | 2019-7-10 14:34 | 只看该作者
lz牛皮

使用特权

评论回复
20
男孩很忙| | 2019-8-4 17:01 | 只看该作者
6666666666666666666666666666666666

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:21ic公开课专区:http://open.21ic.com/ 21ic资料下载中心:http://dl.21ic.com/ 21ic项目外包中心:http://project.21ic.com/ 杰杰欢迎大家有空常来赛事专区逛逛

131

主题

3790

帖子

63

粉丝