Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No preprocessor define to identify release #8114

Closed
5 of 6 tasks
agners opened this issue Jun 10, 2021 · 1 comment
Closed
5 of 6 tasks

No preprocessor define to identify release #8114

agners opened this issue Jun 10, 2021 · 1 comment

Comments

@agners
Copy link

agners commented Jun 10, 2021

----------------------------- Delete below -----------------------------

If your issue is a general question, starts similar to "How do I..", is related to 3rd party libs, or is related to hardware, please discuss at a community forum like esp8266.com.

INSTRUCTIONS

If you do not follow these instructions, your issue may be dismissed.

  1. Follow the checklist under Basic Infos and fill in the [ ] spaces with an X.
  2. Fill in all the fields under Platform and Settings in IDE marked with [ ] (pick the correct option for you in each case, delete the others).
  3. If you haven't already done so, test your issue against current master branch (aka latest git), because it may have been already fixed.
  4. Describe your problem.
  5. If you have a STACK DUMP decode it:

https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/stack_dump.html

  1. Include a Minimal Complete Reproducible Example sketch that shows your issue. Do not include your entire project, or a huge piece of code.
  2. Include debug messages:

https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html

  1. Use markup (buttons above) and the Preview tab to check what the issue will look like.
  2. Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git). (latest release, since is release related)
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: ESP-12
  • Core Version: 3.0.0
  • Development Env: Platformio
  • Operating System: Linux

Settings in IDE

  • Module: [Generic ESP8266 Module|Wemos D1 mini r2|Nodemcu|other]
  • Flash Mode: [qio|dio|other]
  • Flash Size: [4MB/1MB]
  • lwip Variant: [v1.4|v2 Lower Memory|Higher Bandwidth]
  • Reset Method: [ck|nodemcu]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz|160MHz]
  • Upload Using: [OTA|SERIAL]
  • Upload Speed: [115200|other] (serial upload only)

Problem Description

Previous ESP8266 Arduino releases came with a set of useful pre-processor defines in cores/esp8266/core_version.h

#define ARDUINO_ESP8266_GIT_VER 0x2843a5ac
#define ARDUINO_ESP8266_GIT_DESC 2.7.3-3-g2843a5ac
#define ARDUINO_ESP8266_RELEASE_2_7_4
#define ARDUINO_ESP8266_RELEASE "2_7_4"

The latest 3.0.0 release is missing ARDUINO_ESP8266_RELEASE_3_0_0 which would be useful to identify the latest release:

#define ARDUINO_ESP8266_GIT_VER 0xefb0341a
#define ARDUINO_ESP8266_GIT_DESC 3.0.0
#define ARDUINO_ESP8266_RELEASE_
#define ARDUINO_ESP8266_RELEASE ""

MCVE Sketch

#include <Arduino.h>

void setup() {

}

void loop() {

}

Debug Messages

Debug messages go here
@d-a-v
Copy link
Collaborator

d-a-v commented Jun 10, 2021

Thanks for reporting !
This is a duplicate of #8049.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants