• OK so I'm thinking i change my linker file so that the last couple of pages in flash are reserved for saving. So right now in my linker my flash has an ORIGIN address that is incremented so it is just after the softdevice and it has a length that then goes to the end off flash to be used by my application.

    How many pages (each page is 4096 bytes) should I reserve for Espruino at the end so I get full functionality?

    Also in BOARDS.py would address by the address of the first page to be used to save? then flash_availialbe would be the total bytes of these save pages? also what is place_text_section?

    so then jshflashcontainscode() would just check the first address of this flash to see that it has been written? any specific value or just check that it is not completly ereased?

    and are you saying I dont actually have to implemtn jshSaveToFlash and load? I'm not sure how to compress ram etc..

    thanks!
    -Mike

About

Avatar for mjdietz @mjdietz started