Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
magic.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Mesotic SAS
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
24
#include "
riotboot/hdr.h
"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
34
#ifndef RIOTBOOT_MAGIC_ADDR
35
#define RIOTBOOT_MAGIC_ADDR (CPU_RAM_BASE + CPU_RAM_SIZE - 4)
36
#endif
37
#ifndef RIOTBOOT_MAGIC_NUMBER
38
#define RIOTBOOT_MAGIC_NUMBER RIOTBOOT_MAGIC
39
#endif
42
#ifdef __cplusplus
43
}
44
#endif
hdr.h
RIOT "partition" header and tools.
Generated on Sat Jun 28 2025 19:41:34 by
1.9.1