# Espunix

A small unix copy for esp32-s3

给 ESP32-S3 写的一个迷你类 Unix 终端，能 ls、cd、cat、touch、echo，还有 fastfetch 报告运行时间、剩余内存和 SD 卡容量，整个系统除了这个终端没有别的界面。

- id: redbith-espunix
- author: redbith
- repository: https://github.com/redbith/espunix
- license: BSD-3-Clause
- shape: square
- scenes: art, tools
- boards: ESP32-S3
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/redbith-espunix/
- html_zh: https://esp32gallery.com/zh/projects/redbith-espunix/
- json: https://esp32gallery.com/data/catalog/projects/redbith-espunix.json

## Hardware

Supported hardware: ESP32-S3. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32-S3。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A tiny Unix-flavoured shell for the ESP32-S3, with ls, cd, cat, touch and echo, plus a fastfetch that reports uptime, free RAM and SD size; the terminal is the entire interface. It is built on a dual-bus layout, keeping the display and the SD card on separate, isolated SPI buses so they do not fight over pins, and the display driver is non-blocking so console I/O does not stall the system. The one optimised board is the ESP32-S3-N16R8; the SD card has to be FAT32 with the physical lock switch off. Other boards differ enough that porting means writing a new hardware Markdown document rather than editing a few defines. Beyond the shell commands in the preview there is no GUI and no app layer.
```

## 中文

```
给 ESP32-S3 写的一个迷你类 Unix 终端，能 ls、cd、cat、touch、echo，还有 fastfetch 报告运行时间、剩余内存和 SD 卡容量，整个系统除了这个终端没有别的界面。结构上是双总线：屏幕和 SD 卡各占一条独立的 SPI，互不抢引脚；显示驱动做成非阻塞，控制台读写不会把系统卡住。目前只针对 ESP32-S3-N16R8 一块板优化，SD 卡必须格式化成 FAT32，卡套上的物理写保护开关要拨到解锁位。换板子差异太大，换板子要另写一份硬件 Markdown 文档，而不是改几个宏。预览里能看到的也只有 shell 命令，没有图形界面，也没有应用层。
```
