---
title: "Getting Started With Zephyr: Saving Data To Files"
url: https://daily.dev/posts/getting-started-with-zephyr-saving-data-to-files-qpepky8rr
source_url: https://www.embeddedrelated.com/showarticle/1601.php
type: article
source: "EmbeddedRelated"
published: 2026-05-31T07:47:40.826Z
updated: 2026-05-31T08:50:17.920Z
tags: ["embedded"]
reading_time: 7
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started With Zephyr: Saving Data To Files

**[EmbeddedRelated](https://daily.dev/sources/embeddedrelated)** · 7 min read · 0 upvotes · 0 comments

## Summary

A step-by-step guide to saving data to a microSD card using Zephyr RTOS v3.5 on the Nordic nRF52840 development kit. Covers the required Kconfig options (disk access, FAT filesystem, exFAT, SPI, GPIO), a devicetree overlay to configure SPI pins and CS line via the SparkFun Transflash breakout board, and the application code using the disk_access and fs APIs to mount the card, create a file, and write data to it. Useful for field-deployed embedded devices needing local data storage when internet connectivity is unreliable.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.embeddedrelated.com/showarticle/1601.php>

---

Tags: [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/getting-started-with-zephyr-saving-data-to-files-qpepky8rr)
