Skip to content

Arduino IDE from Windows Store incompatible with 3.0.0 (was: New Arduino Error compiling with ESP8266 3.0.0) #8059

@thorathome

Description

@thorathome

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).
  • 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|ESP-01|ESP-07|ESP8285 device|other]
  • Core Version: [3.0.0]
  • Development Env: [Arduino IDE]
  • Operating System: [Windows]

Settings in IDE

  • Module: [Nodemcu 1.0 and ITEAD Sonoff]
  • Flash Mode: [no idea]
  • Flash Size: [4MB/1MB]
  • lwip Variant: [v2 Lower Memory]
  • Reset Method: [no idea]
  • Flash Frequency: [no idea]
  • CPU Frequency: [80Mhz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200] (serial upload only)

Problem Description

After updating to 3.0.0 I get Error compiling for board ... on NodeMCU and on SONOFF. Several other boards exhibit sale behavior. ESP32, other non-8266 platforms work fine.

Reinstalling ESP8266 2.7.4 fixes this issue. Returning to 3.0.0 brings it back.
I have removed, uninstalled previous versions, completely deleted \packages\ESP8266 directory, still have same problem.
I am using Arduino IDE Board Manager.

I am running fine on 2.7.4 now.

All help welcome. Hope I am not alone on this one.

Error message extract is below.

Simple test code looks like this:

#define SKETCH_NAME "CLEAR CODE"
#define SERIAL_SPEED 230400

void setup()
{
  Serial.begin ( SERIAL_SPEED );
  delay ( 500 );  
  Serial.println ( "\n\n=======================================" );
  Serial.println ( SKETCH_NAME );  

  Serial.println ( "Setup done." ); 
}


void loop() 
{
  Serial.println ( "CLEAR-CODE Not doing anything" );  
  delay ( 5000 ); 
}

Debug Messages

c:\users\thor\dropbox (personal)\my documents tsj\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\c++\10.2.0\xtensa-lx106-elf\bits\c++config.h:521:10: fatal error: bits/cpu_defines.h: No such file or directory

  521 | #include <bits/cpu_defines.h>

      |          ^~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugwaiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions