Skip to content

Versions: SDK & XS are empty when building with mcconfig  #6

@rwaldron

Description

@rwaldron
rwaldron in ~/clonez/moddable/examples/commodetto/clock on public*
$ mcconfig -d -m -p esp
# xsc main.xsb
# xsl modules
# cc mc.xs.c (slots in flash)
# ld main.bin
# Versions
#  SDK:
#  XS:

Those values are derived via:

ARDUINO_ROOT ?= $(ESP_BASE)/esp8266-2.3.0
...
git_description = $(shell git -C  $(1) describe --tags --always --dirty 2>/dev/null)
SRC_GIT_VERSION = $(call git_description,$(ESP_BASE)/sources)
ESP_GIT_VERSION = $(call git_description,$(ARDUINO_ROOT))

ARDUINO_ROOT is not a git repo ;) That directory comes from step 6:

  1. Download the ESP8266 core for Arduino repository. Copy the extracted esp8266-2.3.0 folder into your ~/esp directory

That link is for a release zip, which doesn't include .git

SRC_GIT_VERSION comes from:

$(ESP_BASE)/sources

Which I'm guessing previously existed, but no longer does. I've written a patch to follow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions