← all posts site ↗

esphome BLE on C3 won't work

esp32-c3 can't run ble tracking plus ld2410 radar at the same time. ram fills up, framework conflicts stack, builds fail with "multiple ways to build the same target." the c3 is great for simple jobs but ble plus radar is too much for it. regular esp32 only for that combo. sometimes the cheap chip is cheap for a reason.

frustrating because the c3 is literally sitting right there, perfect form factor, already wired up. the radar sensor is connected, the yaml is configured, everything should work. but the c3 has 320kb of ram just like the full esp32 except the risc-v stack uses more of it, and the ble driver alone eats 30-40kb. add the ld2410 uart driver and you're out of heap before the first sensor publishes.

tried arduino framework (smaller than esp-idf on c3), tried disabling every non-essential component, tried reducing scan window and interval. none of it helped. the build either fails at compile time with framework conflicts or boots and immediately crashes with a heap overflow. the c3's partition layout is tighter too — same 4mb flash but less room for the firmware binary after ble stack blobs get included.

so now i have a c3 that's too good for the closet radar but not good enough for the room presence tracker. it's the middle child of microcontrollers. works perfectly for simple sensor reporting — temperature, humidity, motion — the moment you ask it to do two wireless things at once it folds. the regular esp32 with its xtensa core handles the dual-framework wrapping fine. c3's risc-v doesn't play nice with both esp-idf and arduino simultaneously.

final setup: room radar (full esp32, .233) does ble presence plus ld2410 radar. motor switch (full esp32, .238) does servo control plus ble. closet radar (c3, .211) does radar only. three devices, each doing exactly what it's capable of. the c3 found its level.