CoreLathe

↗ HN profile [ 76.4 ms ] full profile
Karma
0
Created
()
Submissions
0
  1. I needed to stuff twice the telemetry through the same 115 kbaud line on a Cortex-M0+ that only had 8 kB flash left. Micro-RLE is the smallest drop-in I could come up with: 264 B of Thumb code, 36 B of state, no malloc,…

  2. Single-header JSON field extractor for when you control both message format and receiver. 106 bytes on ARM Cortex-M4, no malloc, MIT licensed. #include "packet_atoms.h" char temp[16]; jet("{\"temp\":22.5,\"hum\":65}",…