Loading...
Searching...
No Matches
magic.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Mesotic SAS
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include "riotboot/hdr.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31#ifndef RIOTBOOT_MAGIC_ADDR
32#define RIOTBOOT_MAGIC_ADDR (CPU_RAM_BASE + CPU_RAM_SIZE - 4)
33#endif
34#ifndef RIOTBOOT_MAGIC_NUMBER
35#define RIOTBOOT_MAGIC_NUMBER RIOTBOOT_MAGIC
36#endif
38
39#ifdef __cplusplus
40}
41#endif
RIOT "partition" header and tools.