Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
cpu_conf.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 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
22
#ifndef CPU_CONF_H
23
#define CPU_CONF_H
24
25
#include "vendor/nrf9160.h"
26
#include "vendor/nrf9160_bitfields.h"
27
#include "vendor/nrf9160_peripherals.h"
28
29
#include "cpu_conf_common.h"
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
39
#define CPU_DEFAULT_IRQ_PRIO (1U)
40
#define CPU_FLASH_BASE (0x00000000)
42
#define CPU_IRQ_NUMOF (65U)
49
#define FLASHPAGE_SIZE (4096U)
50
#define FLASHPAGE_NUMOF (256U)
52
/* The minimum block size which can be written is 4B. However, the erase
53
* block is always FLASHPAGE_SIZE.
54
*/
55
#define FLASHPAGE_WRITE_BLOCK_SIZE (4U)
56
/* Writing should be always 4 bytes aligned */
57
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
/* CPU_CONF_H */
Generated on Thu Nov 21 2024 09:55:55 by
1.9.8