Comments (3)
Ok I think it works like so:
fqbn:
- "\"Heltec-esp32:Heltec ESP32 Series Dev-boards:esp32\""
from compile-sketches.
Not sure if this is related to spaces or not but it might be:
What to use as fqbn for https://resource.heltec.cn/download/package_heltec_esp32_index.json ? The doc says VENDOR:ARCHITECTURE
but what corresponds to VENDOR
?
If I try
fqbn:
- "\"Heltec-esp32:Heltec ESP32 Series Dev-boards:esp32\""
with:
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: "Heltec-esp32:esp32"
version: "0.0.6"
source-url: https://resource.heltec.cn/download/package_heltec_esp32_index.json
I get:
Error during build: Platform 'Heltec-esp32:Heltec ESP32 Series Dev-boards' not found: platform not installed
Platform Heltec-esp32:Heltec ESP32 Series Dev-boards is not found in any known index
Maybe you need to add a 3rd party URL?
and with
fqbn:
- "\"Heltec-esp32:Heltec ESP32 Series Dev-boards:esp32\""
with:
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: "Heltec ESP32 Series Dev-boards:esp32"
version: "0.0.6"
source-url: https://resource.heltec.cn/download/package_heltec_esp32_index.json
I seem to get a step further:
Running command: /home/runner/bin/arduino-cli core install --additional-urls https://resource.heltec.cn/download/package_heltec_esp32_index.json Heltec ESP32 Series Dev-boards:[email protected]
[...]
Invalid argument passed: Found 0 platform for reference "Heltec ESP32 Series Dev-boards:[email protected]":
The command looks like it would need quotes but that seems to be a just display issue; otherwise the error message wouldn't contain the correct string.
from compile-sketches.
From what I'm seeing, e. g. arduino:avr:uno
from https://downloads.arduino.cc/packages/package_index.json, the FQBN rather seems to be PACKAGE_NAME:ARCHITECTURE:BOARD_NAME
(whereas BOARD_NAME
comes from board.txt
in the referenced archive).
So my issue doesn't seem to be related to spaces but rather like #73, that it's not very well documented - or am I just not smart enough? :)
This seems to work now:
fqbn:
- "Heltec-esp32:esp32:wifi_lora_32_V2"
which makes sense, since it's the fully qualified board name ;)
and the platform is:
platforms: |
- name: "Heltec-esp32:esp32"
version: "0.0.6"
source-url: https://resource.heltec.cn/download/package_heltec_esp32_index.json
I guess I was just too tired.
from compile-sketches.
Related Issues (20)
- Ability to exclude specific examples in a matrix build HOT 3
- Ability to prep build environment without building HOT 3
- Library not included, when `source-path:` points to private repo HOT 3
- Library version is not working HOT 1
- Automatically load libraries from `depends` field in `library.propreties` HOT 2
- Incorrect and insufficient documentation of `cli-compile-args` input data format HOT 2
- Support for ESP32 HOT 2
- cli-compile-flags HOT 1
- [Feature] Support Platform.local.txt HOT 1
- operation / task cancelled HOT 1
- How to get the compiled HEX? HOT 2
- Adding Problem Matchers to display compilation errors as annotation. HOT 7
- Add option to use path with spaces HOT 1
- output compile time for each sketch HOT 2
- could a runner's cache be supported? HOT 4
- Improve documentation of data format of dependency inputs HOT 1
- compile-sketches uses gnu++11... HOT 3
- Deprecation warning HOT 1
- Rate limiting failures have started appearing frequently in the past few weeks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compile-sketches.