[Memory hackathon] Use main thread to dispatch eventOS events around. Still registers and can subscribe / publish events around on K64F.
Not sure why we don't do this normally, there's probably a reason. If we want this we can put it in Simple Cloud Client behind the MBED_CONF_NANOSTACK_HAL_EVENT_LOOP_DISPATCH_FROM_APPLICATION macro.
Saves 40 bytes flash, 6144 bytes of RAM. Verified that connect + update both still work on K64F.
[Memory hackathon] Use main thread to dispatch eventOS events around. Still registers and can subscribe / publish events around on K64F.
Not sure why we don't do this normally, there's probably a reason. If we want this we can put it in Simple Cloud Client behind the
MBED_CONF_NANOSTACK_HAL_EVENT_LOOP_DISPATCH_FROM_APPLICATION
macro.Saves 40 bytes flash, 6144 bytes of RAM. Verified that connect + update both still work on K64F.
@bulislaw @MarceloSalazar