Hello,
I have just published my first library on the PlatformIO registry, and I have a problem when I try to display the different examples:
-
the example selection menu behaves strangely: it keeps scrolling when I try to browse it with the mouse.
-
the examples appear twice in the menu.
-
the list of examples does not appear sorted correctly.
Did I configure something wrong somewhere?
Here are the contents of my library.json
file:
{
"name": "ESPboy",
"version": "1.2.0",
"description": "This library provides a driver for the ESPboy (Wemos D1 mini - ESP8266) multi gadget handheld created by Roman Sokolov. Experiment with retro game programming, IoT, and STEAM education while having fun. See more on https://www.espboy.com/.",
"keywords": "espboy, esp8266, retrogaming, handheld, iot, stem-education",
"license": "GPL-3.0",
"frameworks": "arduino",
"platforms": "espressif8266",
"headers": "ESPboy.h",
"authors": {
"name": "m1cr0lab",
"url": "https://github.com/m1cr0lab",
"maintainer": true
},
"repository":
{
"type": "git",
"url": "https://github.com/m1cr0lab-espboy/ESPboy"
},
"dependencies": [
{
"owner": "adafruit",
"name": "Adafruit MCP4725",
"version": "^2.0.0"
},
{
"owner": "adafruit",
"name": "Adafruit MCP23017 Arduino Library",
"version": "^2.1.0"
},
{
"owner": "lovyan03",
"name": "LovyanGFX",
"version": "^0.4.4"
}
],
"export": {
"include": [
"Readme.md",
"LICENSE",
"examples/*",
"src/*",
"library.json",
"library.properties",
"keywords.txt"
]
}
}
And the tree of my example files is as follows:
examples
โโโ 1-bootstrap
โ โโโ 1-bootstrap.ino
โโโ 2-splash-screen
โ โโโ 2-splash-screen.ino
โโโ 3-buttons
โ โโโ 3-buttons.ino
โโโ 4-neopixel
โ โโโ 4-neopixel.ino
โโโ 5-game-of-life
โ โโโ 5-game-of-life.ino
โโโ 6-fireworks
โ โโโ 6-fireworks.ino
โโโ 7-snake
โ โโโ 7-snake.ino
โโโ 8-spaceship
โ โโโ 8-spaceship.ino
โโโ 9-2048
โโโ 9-2048.ino
Is there a way to have the examples sorted correctly (alphabetically?) or (if possible) by defining the order in which you want them to appear in the selection menu?
Thanks in advance for your help.
Steph