This document provides instructions on how to add new microcontrollers and their corresponding Power Profiling Kits 2 (PPK2s) to the project.
✅ Each microcontroller has a corresponding YAML file.
✅ The file contains details about the board model, serial number, and PPK2.
✅ To add a new microcontroller, create a new YAML file and update it with the correct details.
✅ Use none.yaml when no microcontroller constraints are required.
Each microcontroller has its own YAML configuration file (e.g., nrf52840dk.yaml, nrf5340dk.yaml). These files define the microcontroller model, serial number (SNR), and PPK2 serial number.
Each YAML file should follow this structure:
value:
- model: "<board_model>" # Board model
snr: "<serial_number>" # Serial number
ppk: "<ppk_serial_number>" # PPK (Power Profiling Kit) serial numbervalue:
- model: "nrf52840dk_nrf52840" # Board model
snr: "<YOUR_BOARD_SNR>" # Serial number (find via `nrfjprog --ids`)
ppk: "<YOUR_PPK_SNR>" # PPK (Power Profiling Kit) serial numberTo add a new microcontroller:
- Create a new YAML file in the same directory.
- Name the file according to the microcontroller model (e.g.,
nrf5340dk.yaml). - Use the following template and update it with the correct details:
value:
- model: "<new_board_model>"
snr: "<new_serial_number>"
ppk: "<new_ppk_serial_number>"- If multiple configurations exist for the same model, you can add them as commented-out options for reference:
# Alternative configurations:
# value:
# - model: "nrf52840dk_nrf52840"
# snr: "<ALT_BOARD_SNR>"
# ppk: "<ALT_PPK_SNR>"If the optimization process should run without any microcontroller constraints, use the none.yaml file:
value:
- model: nullThis file ensures that no specific microcontroller is enforced during execution.