-
Notifications
You must be signed in to change notification settings - Fork 525
Added new firmware upgrade capability via serial ports and save files to specific external flash address via serial/ota #250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Merged in latest master changes. Dependencies: |
|
Can you find out how much extra flash/RAM is taken by the additional code? I feel that we should try to keep the firmware as lean as possible, and move as much as possible to an external library. Using weak functions, it's possible to have hooks in the firmware that are either not defined (NULL) or defined externally by a library. For example, making Serial_Flash_Update() weak, and defining it in a library we could save some space. (And also gives a quick way to see how much flash is saved.) I'm away from the computer at present, but I can try this when I get home, if you don't get to it first. |
|
@satishgn, is there some example that i can play around with that demonstrates how this can be used? |
|
@kennethlimcp , you can check this doc PR : particle-iot/docs@410c270 |
|
@satishgn opps thanks! i totally forgotten that the docs have been merged. I'm going to test it (hopefully) this weekend |
|
If you check the ongoing feature/hal branch, we have taken a different path by adding the YModem code to libraries/ directory so the ymodem serial flashing won't be enabled till the user includes this header "Ymodem\Ymodem.h" in application.cpp |
|
Shall we close this, now that the current progress is in feature/hal? |
|
👍 to closing |
Dependencies:
core-common-lib branch : feature/flasher_additions
core-communication-lib branch : feature/flasher_additions
server ota code needs to be updated to get the save files on external flash feature working.