Creative Commons Zero v1.0 Universal

项目介绍

Bsm-B/Stm32-FatFs-FreeRTOS 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 Creative Commons Zero v1.0 Universal 许可证,目前获得 39 个 Star、6 次 Fork。

仓库全名
Bsm-B/Stm32-FatFs-FreeRTOS
开源许可证
Creative Commons Zero v1.0 Universal
Star 数
39
Fork 数
6

README 摘要

FreeRTOS & FatFs in Stm32 (Arm® Cortex®-M0) This project is designed as an example of a STM32CubeIDE-generated system with FreeRTOS multitask feautures and FatFs File System for controlling an SPI-connected MMC/SD memory card . For more information you can take a look here FreeRTOS FatFs Features MultiTask Mutexes & Thread Safety CMSIS-RTOS API Version 1 FatFs Application Interface Memory state Manipulation of…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Stm32-FatFs-FreeRTOS 用什么语言开发?

主要使用 C 编写,采用 Creative Commons Zero v1.0 Universal 许可证,目前有 39 个 Star。

Stm32-FatFs-FreeRTOS 可以免费商用吗?

仓库标注的许可证为 Creative Commons Zero v1.0 Universal,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 Stm32-FatFs-FreeRTOS 的源码?

可以直接克隆仓库:git clone https://github.com/Bsm-B/Stm32-FatFs-FreeRTOS.git,默认分支为 main;安装与运行步骤见仓库 README。

Stm32-FatFs-FreeRTOS 最近还在维护吗?

仓库最近一次更新为 2022年8月2日,当前没有未关闭的 Issue;Star 数为 39,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

STM32 example of FreeRTOS & FatFs for controlling an SPI-connected MMC/SD memory card

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
52
价值分
25
活跃状态
活跃

语言占比

Assembly
C

贡献者

README

FreeRTOS & FatFs in Stm32 (Arm® Cortex®-M0)

This project is designed as an example of a STM32CubeIDE-generated system with FreeRTOS multitask feautures and FatFs File System for controlling an SPI-connected MMC/SD memory card .

For more information you can take a look here

Features

  • MultiTask
  • Mutexes & Thread Safety
  • CMSIS-RTOS API Version 1
  • FatFs Application Interface
    • Memory state
    • Manipulation of folders/files
    • Error Messages

Overview

I was created 3 task with different priority and sizes with safe access via mutex to SD card.

  • Blink: Simple Task for Blinking LED
  • SDinfo: Give infomation about SD Card and files
    • Usage Memory, Free Space, List of Files/Folders with details (Date, Type, Path, Name)
  • SDManager: Create, Read, Write, Find Folders/Files

Note

This example was built based on Tutorial created by @kiwih For more information Tutorial: An SD card over SPI.

Original code FatFs without FreeRTOS : Cubeide-sd-card

Installation

This example was created using Stm32f072 discovery kit + Waveshare SD card module In addition, I used Converter USB-UART with PL2303HX to read UART messages

Connections

Since the SPI2 is connected to ST MEMS motion senso ( One of the properties 32F072BDISCOVERY) So I used SPI1 and defined SD_SPI_HANDLE to SPI1

#define SD_SPI_HANDLE hspi1

Finally, In table form the connections are as follows:

SD Adapter side Stm32f072 side
MISO PB4
MOSI PB5
SCLK PA5
CS PB3
3V 3.3V
GND GND

Testing

License

Creative Commons Zero v1.0 Universal

评论

暂无评论