Skip to content

fix: remove sensors from xiao c3 companion because of bootloops#2328

Merged
ripplebiz merged 1 commit intomeshcore-dev:devfrom
recrof:xiao_c3-companion-fix
Apr 18, 2026
Merged

fix: remove sensors from xiao c3 companion because of bootloops#2328
ripplebiz merged 1 commit intomeshcore-dev:devfrom
recrof:xiao_c3-companion-fix

Conversation

@recrof
Copy link
Copy Markdown
Collaborator

@recrof recrof commented Apr 18, 2026

No description provided.

@recrof
Copy link
Copy Markdown
Collaborator Author

recrof commented Apr 18, 2026

issue: #1471

@IoTThinks
Copy link
Copy Markdown
Contributor

So fast.
Let me test.

@IoTThinks
Copy link
Copy Markdown
Contributor

I have just tested with my Xiao C3 and Wio 1262.
It works.

So the culpit is -ENV_INCLUDE_GPS and ENV_INCLUDE_VL53L0X
A bit weird. But nevermind.

Thanks a lot.

@ripplebiz ripplebiz merged commit 35b5548 into meshcore-dev:dev Apr 18, 2026
9 checks passed
@recrof
Copy link
Copy Markdown
Collaborator Author

recrof commented Apr 18, 2026

So the culpit is -ENV_INCLUDE_GPS and ENV_INCLUDE_VL53L0X A bit weird. But nevermind.

The culprit is probably low RAM or sensor detection code. if you look closely you will notice I removed sensor support for companions completely.

@IoTThinks
Copy link
Copy Markdown
Contributor

IoTThinks commented Apr 19, 2026

This fix works but break again when I add in some extra libraries.

The root cause is likely 4MB flash size of Xiao C3.
This will "mitigate" the root cause and keep the sensors.
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit

This code can be found in MeshCore for some other small boards.

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

Successfully merging this pull request may close these issues.

3 participants