uc-sdk
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
registry.c
Go to the documentation of this file.
1
#include <stdint.h>
2
#include <
stdlib.h
>
3
4
extern
const
uint8_t
__registry_space_1
,
__registry_space_1_end
;
5
extern
const
uint8_t
__registry_space_2
,
__registry_space_2_end
;
6
extern
const
uint8_t
__registry_space_3
,
__registry_space_3_end
;
7
8
__attribute__
((section(
".hwregistry"
),weak)) uint8_t mac_address[6] = { 0x10, 0x11, 0x12, 0x13, 0x14, 0x15 };
9
10
__attribute__
((section(
".hwregistry"
))) const uint8_t * __registry_spaces[8] = {
11
&
__registry_space_1
, &
__registry_space_1_end
,
12
&
__registry_space_2
, &
__registry_space_2_end
,
13
&
__registry_space_3
, &
__registry_space_3_end
,
14
NULL
,
NULL
,
15
};
arch
arm
stm32f10x
registry.c
Generated on Fri Nov 15 2013 05:00:16 for uc-sdk by
1.8.4