An open API service indexing awesome lists of open source software.

https://github.com/gooxey/esp32-idf-nix-setup

My "Hello, world!" setup for the esp32 using rust and nix flakes.
https://github.com/gooxey/esp32-idf-nix-setup

esp32 nix-shell rust

Last synced: 3 months ago
JSON representation

My "Hello, world!" setup for the esp32 using rust and nix flakes.

Awesome Lists containing this project

README

        

# esp-idf-nix-template

## Entering the development environment

```bash
$ nix develop
```

## Important

I have used `sudo espflash flash --monitor` inside the `.cargo/config.toml` file because of lacking permissions when flashing the esp.
If you encounter any errors or do not need root permissions to flash, remove the `sudo`.

## Errors

### `NixOS cannot run dynamically linked executables intended for generic linux environments out of the box.`

Install [nix-ld](https://github.com/Mic92/nix-ld)

### Something inside `~/.rustup/toolchains/esp/...` is missing

Reinstall the esp-rs toolchain
```bash
$ espup uninstall
$ espup install
```

## Credit

Template used:
-

Binary size optimizations from:
-
-