Menu

Compiled 33,000 fruit-fly connectome weights into 24 KB of zero-float, zero-malloc C99 for ESP32 / Arduino (NeckLink v3.0.0)

#esp32#redditesp32#integer#static#necklink
Reading 0:00
15s threshold

Hey everyone,

As a follow-up to the NLTP ESP-NOW transport library I shared earlier, I just pushed v3.0.0 of the rest of the open-source (MIT) NeckLink suite: five zero-heap, zero-float ANSI C99 and Arduino libraries compiled with the ESP32 Xtensa toolchain that run real synaptic weight tables extracted from the 157,789-neuron adult fruit-fly connectome (BANC v888).

All floating-point math and dynamic allocations (malloc/free) are stripped out so the entire 4-organ reflex controller + MAVLink v2 packet encoder fits inside a single 24,024-byte static struct (0 bytes of hidden global .bss):

NeckLinkCNS (24,024 B static RAM): unified 4-organ reflex loop (brain populations -> descending neurons -> motor pools) + MAVLink v2 output.

NeckCompass (352 B base / 1,120 B plastic RAM): 9-axis tilt-compensated ring-attractor compass and GPS-denied homing using EPG/PEN/Delta7/PFL3 weights.

NeckSight (14.3 KB static RAM): 32x32 integer optic-lobe collision and thin-wire looming detector (64 LPLC2 + 32 LC4 cells) with…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.