chore: rename targets and add ENABLE_TESTING option
Rename library targets from celrs_* to cel* (celcrsf, celserial, cellogger, cellog) and add cel:: namespace aliases. Add cel::cel umbrella target that links all core libraries. Add ENABLE_TESTING option (default ON) to gate Unity/CMock fetch and test targets for downstream consumers.
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
# celrs
|
||||
|
||||
A C23 project for interfacing with ELRS TX modules (e.g., BAYCK Nano Dual
|
||||
Band) via serial USB using the CRSF (Crossfire Serial) protocol.
|
||||
A C23 library and CLI tools for interfacing with ELRS TX modules (e.g.,
|
||||
BAYCK Nano Dual Band) via serial USB using the CRSF (Crossfire Serial)
|
||||
protocol.
|
||||
|
||||
Built on the same TDD foundation as [ctdd](https://github.com/PorterSky/ctdd)
|
||||
using [Unity](https://github.com/ThrowTheSwitch/Unity) and
|
||||
[CMock](https://github.com/ThrowTheSwitch/CMock).
|
||||
|
||||
All dependencies are fetched automatically via CMake `FetchContent` — no
|
||||
All dependencies are fetched automatically via CMake `FetchContent`. No
|
||||
manual installation required beyond the tools listed below.
|
||||
|
||||
## Requirements
|
||||
@@ -18,7 +15,7 @@ manual installation required beyond the tools listed below.
|
||||
| Ninja | Build backend |
|
||||
| C23 compiler | GCC 14+, Clang 18+ |
|
||||
| Ruby ≥ 3.0 | CMock mock generation |
|
||||
| gcovr ≥ 6.0 | Coverage reports — optional (`uv tool install gcovr`) |
|
||||
| gcovr ≥ 6.0 | Coverage reports - optional (`uv tool install gcovr`) |
|
||||
|
||||
## Build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user