I have created a custom library for local usage. I call is ABC_node
for ESP32 and the structure is as follows:
.
|-- examples
| |-- bnoCalibStorage
| | `-- bnoCalibStorage.ino
| |-- influxHTTP_write
| | `-- influxHTTP_write.ino
| |-- influxPing
| | `-- influxPing.ino
| |-- influxUDP_write
| | `-- influxUDP_write.ino
| `-- rtcTimestamp
| `-- rtcTimestamp.ino
|-- keywords.txt
|-- library.properties
|-- README.md
|-- ABC_Node.cpp
`-- ABC_Node.h
I tried following the Adafruit GitHub Repository structure where each example is placed inside a folder named after the sketch.
I am hosting this repository on a private GitLab Server. I used git tag v1.0.0
to create a tag and from GitLab I could download the .zip
file for the stable v1.0.0 library.
I manually extracted the files to my <user>\Documents\Arduino\libraries
folder and renamed the folder to ABC_Node
(since my gitlab repo is named something else)
I restarted my IDE but I could not find the library ABC_Node
in
Sketch\Include Library\
library.properties
name=ABC_Node
version=1.0.0
author=Shan Desai
maintainer=Shan Desai
sentence=Firmware to create InfluxDB measurements and send them via HTTP/UDP to Core
paragraph=ABC_Node provides `String` based InfluxDB measurements which can then be sent via HTTP/UDP to a central InfluxDB instance.
category=Data Processing, DAQ
architecture=ESP32
repository=https://[gitlab-address]/node-repo.git
I followed the Libraries Guide from Arduino on local Installation
System
Windows 10
Arduino IDE 1.8.5