Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://gitlab.com/NetaLabTek/Arduimesp
This is not only a wrapper of the Arduino framework for the esp8266 using the <a href="http://nim-lang.org">programming language Nim</a>, but also a tool for make and convert the nim code in to a Arduino project. https://github.com/gokr/ardunimo
https://gitlab.com/NetaLabTek/Arduimesp
Last synced: 3 months ago
JSON representation
This is not only a wrapper of the Arduino framework for the esp8266 using the <a href="http://nim-lang.org">programming language Nim</a>, but also a tool for make and convert the nim code in to a Arduino project. https://github.com/gokr/ardunimo
- Host: gitlab.com
- URL: https://gitlab.com/NetaLabTek/Arduimesp
- Owner: NetaLabTek
- License: apache-2.0
- Created: 2018-07-03T15:36:10.124Z (over 6 years ago)
- Default Branch: master
- Last Synced: 2024-08-04T01:15:21.991Z (6 months ago)
- Stars: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nim - ardunimesp - Nim wrapper for Arduino ESP8266 framework + A tool for flashing, compiling and making a Nim project into an Arduino project. (Hardware / Embedded)
README
# Ardunimesp
This is not only a wrapper of the Arduino framework for the esp8266 using the programming language Nim, but also a tool for make and convert the nim code in to a Arduino project.This project basically consists of the wrappers and two Makefiles, one that prepare and make the nim code in to an Arduino project and another one, the [makeEspArduino](https://github.com/plerup/makeEspArduino) that compile and flash the Arduino project.
Based on: https://github.com/gokr/ardunimo
## Get Ardunimo
1. Clone this repo and the submodules to your machine, **only tested on 64 bit Arch linux**. The Makefile presumes Nim standard library is in `/usr/lib/nim`.## Building blink.nim
In the repository there is a single trivial application - `blink.nim`, you probably recognize it. To build it and flash:1. Run `make build`. If all is well it produces `examples/blink/build/blink.bin`.
## Building some other
```
make PROJECT_NAME= PROJECT_NAME=
```## NOTES:
* The wrapper is not complete (I just did what I needed) and in many places probably downright silly.
* We compile via Nim's C++ backend since Arduino libraries are C++ based.
* The `ardunimo.nim` is a hack I ended up doing so that setup/loop gets resolved properly. PRs appreciated.
* The wrapper/src directory contains the SDK sources *modified* by c2nim and manually, these are not used when compiling.