MEMORY
{
PAGE 1:
nodeIdAddress : origin = 0x3d8000, length = 0x000001
}
SECTIONS
{
nodeIdAddress :> nodeIdAddress PAGE = 1
}
variable definition in .c file
#pragma DATA_SECTION("nodeIdAddress")
const volatile uint16 nodeId = 121;
MEMORY
{
PAGE 1:
nodeIdAddress : origin = 0x3d8000, length = 0x000001
}
SECTIONS
{
nodeIdAddress :> nodeIdAddress PAGE = 1
}
variable definition in .c file
#pragma DATA_SECTION("nodeIdAddress")
const volatile uint16 nodeId = 121;