Giter Site home page Giter Site logo

Comments (3)

micheljung avatar micheljung commented on July 23, 2024

Ok I think it works like so:

        fqbn:
          - "\"Heltec-esp32:Heltec ESP32 Series Dev-boards:esp32\""

from compile-sketches.

micheljung avatar micheljung commented on July 23, 2024

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.

micheljung avatar micheljung commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.