NordicSemiconductor / zcbor

Low footprint C/C++ CBOR library and Python tool providing code generation from CDDL descriptions.
Apache License 2.0
105 stars 34 forks source link

Include supported? #361

Closed mkschreder closed 9 months ago

mkschreder commented 9 months ago

Is it possible to include one CDDL file into another CDDL file?

oyvindronningstad commented 9 months ago

No, but you can pass multiple CDDL files to zcbor in a single call.

mkschreder commented 9 months ago

Solved by just using c preprocessor. Always works :D