Mattzobricks / MattzoControllers

MattzoController firmware
20 stars 10 forks source link

6 mtc4bt large controller configjson files crash the controller at start up #56

Closed raymondbrink closed 1 year ago

raymondbrink commented 1 year ago

Moved away from StaticJsonDocument (on the stack) to DynamicJsonDocument (on the heap).

You can now put each loco config into a separate file (max. 4k):

image

You can even combine loco config files with inline loco configurations (for backwards compatibility):

image

Mattzobricks commented 1 year ago

Tested, works fine.

Mattzobricks commented 1 year ago

Let's merge it into develop, not master.

raymondbrink commented 1 year ago

I rebased this feature onto develop, so it now includes the latest changes for PU hub onboard LED control.

Mattzobricks commented 1 year ago

Very nice, thank you.