从SD卡读取INI文件 [英] INI file reading from SD card

查看:106
本文介绍了从SD卡读取INI文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我在项目中使用以下组件

AT32UC3C-EK板

SPI SD / MMC插槽

Atmel Studio6





我想阅读存储在SD卡上的config.ini文件。

目前我可以从这张SD卡读取和写入普通的FAT文件。 (使用Atmel工作室框架ASF)



我试图使用可用于解析ini文件的开源文件(例如minIni)

在这个特定的源代码文件中,我需要定义Glue文件,我不知道如何为ASF工作环境创建,因为我必须读取SD卡上的ini文件。



如果有人可以指导我这将是很好的帮助。





谢谢

Hello,
I am using following components in my project
AT32UC3C-EK board
SPI SD/MMC slot
Atmel Studio6


I would like to read the config.ini file stored on the SD card.
Currently I am able to read and write the normal FAT file from this SD card. (using the Atmel studio framework ASF)

I tried to use the open source files available for parsing of the ini file (e.g minIni )
In this particular source code file i need to define the Glue file which i dont know how to create for the ASF work environment , as I have to read ini file on the SD card.

It would be great help if somebody can guide me on this.


thank you

推荐答案

通常,人们在SD卡上使用与硬盘驱动器上相同的文件系统。您可以使用完全相同的软件来读取/写入SD卡上的文件,与您通常一样。这对您来说完全透明。并且FAT根本不是问题,所有操作系统都可以做到。



-SA
Usually, people use the same file systems on SD cards as those on the hard drive. You can use exactly the same software to read/write filed on SD cards, the same as you usually do. This is fully transparent for your. And FAT is not a problem at all, all OS can do it.

—SA


这篇关于从SD卡读取INI文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆