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

Fixes Matter over WiFi to disable OpenThread #232

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

SuGlider
Copy link
Contributor

Description

The Matter library supports WiFi only at this point.
ESP32-C6 shall only use WiFi and do not start OpenThread both can't coexist.

Related

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x1190
load:0x4086c110,len:0xd98
load:0x4086e610,len:0x2e84
entry 0x4086c110

assert failed: esp_err_t openthread_init_stack() OpenthreadLauncher.cpp:161 (s_platform_config)
Core  0 register dump:
MEPC    : 0x408013d8  RA      : 0x4080891a  SP      : 0x4083a3a0  GP      : 0x40814c84  
TP      : 0x4083a600  T0      : 0x37363534  T1      : 0x7271706f  T2      : 0x33323130  
S0/FP   : 0x00000001  S1      : 0x4083a52f  A0      : 0x4083a404  A1      : 0x40818089  
A2      : 0x00000001  A3      : 0x00000029  A4      : 0x00000001  A5      : 0x40832000  
A6      : 0x0000000c  A7      : 0x76757473  S2      : 0x00000068  S3      : 0x4083a3f8  
S4      : 0x4083a3f8  S5      : 0x4219bd1b  S6      : 0x00000000  S7      : 0x00000000  
S8      : 0x00000000  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000  
T3      : 0x6e6d6c6b  T4      : 0x6a696867  T5      : 0x66656463  T6      : 0x62613938  
MSTATUS : 0x00001881  MTVEC   : 0x40800001  MCAUSE  : 0x00000007  MTVAL   : 0x00000000  
MHARTID : 0x00000000  

Testing

Check artifacts from this PR into Arduino Core 3.1.x

@SuGlider SuGlider self-assigned this Oct 21, 2024
@me-no-dev me-no-dev merged commit 7080df0 into release/v5.3 Oct 22, 2024
9 checks passed
@me-no-dev me-no-dev deleted the esp32_c6_matter_fix branch October 22, 2024 10:23
me-no-dev added a commit that referenced this pull request Dec 18, 2024
* fix(build): Changes required to build against IDF v5.3

* Use unified Xtensa toolchain

* add(build): Add initial ESP32-P4 skeleton

Chip is not selected by default and has only one memory and bootloader configuration. This is the minimum required to issue `build.sh -t esp32p4` which will currently fail, because Arduino support is not yet ready

* feat(esp32p4): Build libs for ESP32-P4 (#221)

* feat(esp32p4): Build libs for ESP32-P4

* Add target to workflows

* Enable in builds

* Remove bluedroid patch

* Add P4 to libspi

* Add P4 mem variants

* Update SDK in JSON even if version did not change (#223)

* Do not build matter for ESP32-P4

* Update ESP-DL configuration

* Add additional DL models and use extra components only when needed

* Use extra DL models only on S3 and P4

* Switch to the new ESP-DL only for ESP32-P4

* Rename old DL component and revert the name of the new

* Enable TinyUSB build for ESP32P4

* Add support for HighSpeed USB in arduino_tinyusb

* Update tinyusb dcd_dwc2

* Add P4 configuration for PSRAM, WDT and ESP-HOSTED

* Update dcd_dwc2.c

* Remove conditional inclusion of builder specified components

CCACHE is very fast and it also causes issues with memory variants

* Do not use ESP-DL on P4

* Update P4 PSRAM Speed to 200MHz

* Fixes Matter over WiFi to disable OpenThread (#232)

* Fixes Matter over WiFi to disable OpenThread

* fix flag value

* disables Matter Stack WiFi manager

* rollback Matter WiFi Manager changes

* Add define to signify that prebuilt libs are used

* Enable FreeRTOS Trace Facility (#234)

* Enable FreeRTOS Trace Facility

* Enable more statistics

* fix(docker): Add docker tag to run scripts in 5.3 branch (#236)

* fix(docker): Add docker tag to run scripts in 5.3 branch

* Add additional info

* fix(zigbee): Unlink the zigbee libs (#242)

* fix(): Move mkdir to top as its already used

* Update TinyUSB DCD Source

* Add missing compile source from TinyUSB

* Fix path to TinyUSB dwc2_common.c

* Update TinyUSB DCD

* Update TinyUSB DCD

* Update dcd_dwc2.c

* Update dcd_dwc2.c

* Update copy-libs.sh

* Support rev 0 for P4 (#254)

* Support rev 0 for P4

* Revert C6 slave idf target

* Fix the crash for esp32 and esp32c3 (#248)

* fix(trademark): Remove 3rd party trademarks from scripts (#255)

* Update dcd_dwc2.c

* Prepare for merging release/v5.3 into master

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: kvp1703 <65121235+kvp1703@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants