Skip to content

Feature/mcuboot blinky-test autoswap#143

Draft
joy-xu25 wants to merge 2 commits intomainfrom
feature/mcuboot-autoswap
Draft

Feature/mcuboot blinky-test autoswap#143
joy-xu25 wants to merge 2 commits intomainfrom
feature/mcuboot-autoswap

Conversation

@joy-xu25
Copy link
Contributor

Based on JP's branch of the blinky-swapping test, changed the swap logic in blinky1.c, using a counter that counts for 5 sec and swaps to blinky2.c automatically without manually pressing the reset button.

Adding a full mcuboot that swaps between blinky1.c and blinky2.c
which are two basic blinky images that blink at different
frequencies. On a button press, the bootloader will note that on
next reboot, the other swap image should be used. Config files
might need to change later. Using ecdsa as the signing for the
images.

Signed-off-by: Juan Pablo Medina <jpmedinagl@gmail.com>
Updated the blinky1.c file, changed manually reset button function into auto-swap after 5 sec to blinky2.c.

Signed-off-by: Joy(Jiayi) Xu <joyx417@gmail.com>
@joy-xu25 joy-xu25 force-pushed the feature/mcuboot-autoswap branch from 7eebdb7 to 2727482 Compare November 22, 2025 22:00
@alexapostolu alexapostolu marked this pull request as draft November 22, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants