probe-rs / embedded-test

A test harness and runner for embedded devices
67 stars 10 forks source link

Determine needed test-list buffer size at compile-time instead of hardcoding it #21

Closed t-moe closed 10 months ago

t-moe commented 10 months ago

Currently the buffer to transmit the tests to the host is fixed to 1024. Because we use json encoding this becomes quickly too small. Instead we should calculate the needed buffer size in the macro code and pass this as a constant to the buffer user.

Alternatively, we could also save some space by switching to a binary format, away from json...

t-moe commented 10 months ago

Fixed in 0.2.3