espressif / ESP8266_RTOS_SDK

Latest ESP8266 SDK based on FreeRTOS, esp-idf style.
http://bbs.espressif.com
Apache License 2.0
3.35k stars 1.57k forks source link

Error: invalid register 'intclear' for 'wsr' instruction (GIT8266O-845) #1268

Closed bktech2021 closed 9 months ago

bktech2021 commented 9 months ago

Environment

Problem Description

make flash fails

Expected Behavior

Running or compiling without errors

Actual Behavior

Assembly errors

Steps to repropduce

  1. make flash

Debug Logs

WARNING: esp-idf git submodule components/json/cJSON may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
Toolchain path: /home/bkaman/esp/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
Toolchain version: esp-2020r3-49-gd5524c1
Compiler version: 8.4.0
/home/bkaman/esp/ESP8266_RTOS_SDK/tools/check_python_dependencies.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Python requirements from /home/bkaman/esp/ESP8266_RTOS_SDK/requirements.txt are satisfied.
App "hello-world" version: v3.4-96-gc4634015-dirty
CC build/esp8266/source/task_wdt.o
/home/bkaman/esp/ESP8266_RTOS_SDK/components/esp8266/include/driver/soc.h: Assembler messages:
/home/bkaman/esp/ESP8266_RTOS_SDK/components/esp8266/include/driver/soc.h:107: Error: invalid register 'intclear' for 'wsr' instruction
make[1]: *** [/home/bkaman/esp/ESP8266_RTOS_SDK/make/component_wrapper.mk:292: source/task_wdt.o] Error 1
make: *** [/home/bkaman/esp/ESP8266_RTOS_SDK/make/project.mk:571: component-esp8266-build] Error 2
bktech2021 commented 9 months ago

Solution: https://github.com/espressif/ESP8266_RTOS_SDK/issues/930 as @Kozmotronik, I'm also turkish and since this changes locals, LC_ALL=en_US.UTF-8 make flash worked.