caijie001 发表于 2018-5-3 07:54

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

本帖最后由 caijie001 于 2018-5-4 07:51 编辑


昨晚在github发现了一个老外自己整理的封装库,有很多,比如一些通讯啊啥的,一些显示屏驱动等等目录STM32F4Libraries and projectsHere 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.comFirst time with Discovery board? http://stm32f4-discovery.comCurrent 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” 即可


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



**** Hidden Message *****

rongzhai 发表于 2018-5-3 08:29

有这么牛X吗?

caijie001 发表于 2018-5-3 09:03

rongzhai 发表于 2018-5-3 08:29
有这么牛X吗?

老外啊,并不是我

caijie001 发表于 2018-5-4 06:57

突然发现图片是不行的、、、、、

wmm1988 发表于 2018-5-8 09:48

谢谢分享,很精彩

brave123 发表于 2018-6-5 17:31

谢谢分享!

望望山 发表于 2018-6-6 20:52

下载下来学习学习,谢谢分享

王力斯 发表于 2018-6-15 15:11

感谢大神分享顶起

1552424793 发表于 2018-8-1 18:37


感谢大神分享顶起

11738752 发表于 2018-8-6 13:52

学习学习

11738752 发表于 2018-8-6 13:55

能告知github地址不

烟花绽放 发表于 2018-8-6 15:18

谢谢分享

zwwoshi 发表于 2018-8-16 11:50

回见 老外

cepoly 发表于 2018-8-21 09:50

围观

sdjnzczp 发表于 2018-8-28 16:08

谢谢楼主分享

hyh403 发表于 2018-8-29 16:22

xqq09 发表于 2019-3-26 20:25

谢谢分享

官林狗帮帮主 发表于 2019-6-12 16:45

谢谢楼主,下载下来学习学习

想吃鱼的猫 发表于 2019-7-10 14:34

lz牛皮

男孩很忙 发表于 2019-8-4 17:01

6666666666666666666666666666666666
页: [1] 2
查看完整版本: 【干货】老外的GitHub整理的stm32f4驱动库