Main Content

Boot From

Boot option

Since R2022b

Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Build options

Description

Select option of where to boot.

Settings

ROM (default)

Tips

The option to specify if the application has to load to the RAM. By default, the code is generated for boot from ROM/Flash. To deploy generated code on your hardware, configure the model to boot from RAM.

  1. In the Configuration Parameter dialog box, click Code Generation.

  2. Set the Build configuration to Specify.

  3. In the Linker field, add the following linker flag.

    -Wl-DMW_BOOT_FROM_RAM -Wl--non-romable

  4. Click Apply and OK.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2022b