C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
Loading...
Searching...
No Matches
memory.h
1
#pragma once
2
3
#include <conf/kernel.h>
4
5
#ifndef CMRX_CUSTOM_FLASH_RANGE
7
extern
void
* __cmrx_flash_origin;
8
10
extern
void
* __cmrx_flash_length;
11
13
#define code_base() (&__cmrx_flash_origin)
14
16
#define code_size() ((int)(&__cmrx_flash_length))
17
18
#else
19
20
#define code_base() (CMRX_CUSTOM_FLASH_START)
21
#define code_size() (CMRX_CUSTOM_FLASH_SIZE)
22
23
#endif
24
src
os
arch
arm
cmsis
arch
memory.h
Generated by
1.9.8