Skip to content

Commit

Permalink
fix: add build instructions for raspberry pi (#400)
Browse files Browse the repository at this point in the history
docs: Add arm32 instruction
---------

Co-authored-by: Puria Nafisi Azizi <[email protected]>
  • Loading branch information
andrea-dintino and puria authored Nov 27, 2024
1 parent 7a2180c commit 0ec52b2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,24 @@ and run it with the simple command

that will serve the zencode contract under the folder `./tests/fixtures` and the public files under the folder `./public` on http://0.0.0.0:3000.

### 💾🪫 Build on ARM32

NCR builds on Raspberry Pi 4 and 5 (4GB and above) with Raspbian-ARM32.

You also to set these flags to get it to work:

```bash
export CXXFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3 -mno-unaligned-access"
export CFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3 -mno-unaligned-access"
```
Then build using:

```bash
pnpm raspi32
```

The build will take a couple of hours 😎

**[🔝 back to top](#toc)**

---
Expand Down

0 comments on commit 0ec52b2

Please sign in to comment.