# Automatic device resets

**URL:** <https://forum.legato.io/t/automatic-device-resets/6581>\
**Category:** Legato Application Framework\
**Created:** [August 29, 2023, 2:51pm UTC](https://forum.legato.io/t/automatic-device-resets/6581 "2023-08-29T14:51:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [August 29, 2023, 3:54pm UTC](https://forum.legato.io/t/automatic-device-resets/6581/2 "2023-08-29T15:54:40Z")

</div>

this is the rollback mechanism:

> **[Updates - Legato Docs](https://docs.legato.io/latest/conceptsUpdates.html#conceptsUpdates_Rollback)**
>
> legato™ is an open source Linux-based embedded platform designed to simplify connected IoT application development

I suggest building the applicaiton together with legato.cwe image:

> [@Application no longer available after a certain time](https://forum.legato.io/t/application-no-longer-available-after-a-certain-time/4546/5):
>
> It is possible to get rollbacks even after an application is marked good. The only way to completely remove the possibility of your app being removed is to compile a new ‘master firmware’ which includes your app.

> [@Flash size wp7607](https://forum.legato.io/t/flash-size-wp7607/3805/35):
>
> you can go to legato-19.02.0/modules/WiFi/wifi.sdef, under “apps:” section, add e.g. $LEGATO\_ROOT/apps/sample/helloWorld/helloWorld.adef [image] Now the new app will be included in legato.cwe. Please also note that the max size for legato partition is 8MB.

---

_[View the full topic](https://forum.legato.io/t/automatic-device-resets/6581)._
