uorb: compress format definitions

Reduces flash usage by ~16KB.

- compress formats at build-time into a single string with all formats
- then at runtime iteratively decompress using
  https://github.com/atomicobject/heatshrink
This commit is contained in:
Beat Küng
2023-11-08 00:31:26 -05:00
committed by Thomas Stastny
parent 142e44c418
commit 1ad5a9de08
27 changed files with 1736 additions and 252 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ private:
void setUserParams(const char *filename);
void readDynamicParams(const char *filename);
std::string parseOrbFields(const std::string &fields);
std::string getOrbFields(const orb_metadata *meta);
static char *_replay_file;
};