Skip to content
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

Add MCUboot support with a new configuration for Omi DevKit 2 #1490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #1489

Add MCUboot support for Omi DevKit 2 with a new configuration.

  • New Configuration File:

    • Add prj_xiao_ble_sense_devkitv2-mcuboot.conf under Friend/firmware/firmware_v1.0.
    • Include settings: CONFIG_BOOTLOADER_MCUBOOT=y and CONFIG_MCUBOOT_SERIAL=y.
  • Build Configuration:

    • Modify CMakePresets.json to include a new preset build_xiao_ble_sense_devkitv2-mcuboot.
    • Set CMAKE_BUILD_TYPE to Debug and BOARD to xiao_ble_sense.
    • Include the new configuration file prj_xiao_ble_sense_devkitv2-mcuboot.conf.
  • Documentation Updates:

    • Update README.rst with instructions for building and flashing the firmware with MCUboot support.
    • Update DevKit2Testing.md with steps to test the new MCUboot configuration.
    • Update DevKit2.mdx with MCUboot usage and OTA update instructions, and details on switching between bootloader options.

Related to BasedHardware#1489

Add MCUboot support for Omi DevKit 2 with a new configuration.

* **New Configuration File**:
  - Add `prj_xiao_ble_sense_devkitv2-mcuboot.conf` under `Friend/firmware/firmware_v1.0`.
  - Include settings: `CONFIG_BOOTLOADER_MCUBOOT=y` and `CONFIG_MCUBOOT_SERIAL=y`.

* **Build Configuration**:
  - Modify `CMakePresets.json` to include a new preset `build_xiao_ble_sense_devkitv2-mcuboot`.
  - Set `CMAKE_BUILD_TYPE` to `Debug` and `BOARD` to `xiao_ble_sense`.
  - Include the new configuration file `prj_xiao_ble_sense_devkitv2-mcuboot.conf`.

* **Documentation Updates**:
  - Update `README.rst` with instructions for building and flashing the firmware with MCUboot support.
  - Update `DevKit2Testing.md` with steps to test the new MCUboot configuration.
  - Update `DevKit2.mdx` with MCUboot usage and OTA update instructions, and details on switching between bootloader options.
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.

1 participant