Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
9
#pragma once
10
24
#include "vendor/nrf9160.h"
25
#include "vendor/nrf9160_bitfields.h"
26
#include "vendor/nrf9160_peripherals.h"
27
28
#include "cpu_conf_common.h"
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
38
#define CPU_DEFAULT_IRQ_PRIO (1U)
39
#define CPU_FLASH_BASE (0x00000000)
41
#define CPU_IRQ_NUMOF (65U)
48
#define FLASHPAGE_SIZE (4096U)
49
#define FLASHPAGE_NUMOF (256U)
51
/* The minimum block size which can be written is 4B. However, the erase
52
* block is always FLASHPAGE_SIZE.
53
*/
54
#define FLASHPAGE_WRITE_BLOCK_SIZE (4U)
55
/* Writing should be always 4 bytes aligned */
56
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
59
#ifdef __cplusplus
60
}
61
#endif
62
Generated on Mon Jun 30 2025 18:46:45 by
1.9.1