Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Devicetree ROMSTART API

Macros

#define DT_CHOSEN_ROMSTART_EXISTS   DT_NODE_EXISTS(DT_CHOSEN(zephyr_romstart))
 Check whether the chosen zephyr,romstart property exists.
#define DT_ROMSTART_REGION   DT_STRING_TOKEN(DT_CHOSEN(zephyr_romstart), zephyr_memory_region)
 Get memory region name of chosen zephyr,romstart property.

Detailed Description

Macro Definition Documentation

◆ DT_CHOSEN_ROMSTART_EXISTS

#define DT_CHOSEN_ROMSTART_EXISTS   DT_NODE_EXISTS(DT_CHOSEN(zephyr_romstart))

#include <zephyr/devicetree/romstart.h>

Check whether the chosen zephyr,romstart property exists.

Returns
1, if a zephyr,romstart property exists

◆ DT_ROMSTART_REGION

#define DT_ROMSTART_REGION   DT_STRING_TOKEN(DT_CHOSEN(zephyr_romstart), zephyr_memory_region)

#include <zephyr/devicetree/romstart.h>

Get memory region name of chosen zephyr,romstart property.

Returns
Memory region name of chosen zephyr,romstart property, if it exists