rusEFI
The most advanced open source ECU
controllers
persistent_store.cpp
Go to the documentation of this file.
1
/**
2
* @file persistent_store.cpp
3
* @brief Controllers package entry point code
4
*
5
*
6
*
7
* @date Feb 7, 2013
8
* @author Andrey Belomutskiy, (c) 2012-2020
9
*
10
* This file is part of rusEfi - see http://rusefi.com
11
*
12
* rusEfi is free software; you can redistribute it and/or modify it under the terms of
13
* the GNU General Public License as published by the Free Software Foundation; either
14
* version 3 of the License, or (at your option) any later version.
15
*
16
* rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
17
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License along with this program.
21
* If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
#include "
pch.h
"
25
26
#if !EFI_UNIT_TEST
27
#include "
sensor_chart.h
"
28
#include "
trigger_central.h
"
29
30
#ifndef PERSISTENT_LOCATION_TODO
31
#define PERSISTENT_LOCATION CCM_OPTIONAL
32
#else
33
#pragma message(PERSISTENT_LOCATION_VALUE)
34
#define PERSISTENT_LOCATION CCM_OPTIONAL
35
//#define PERSISTENT_LOCATION __attribute__((section(".ram1")))
36
#endif
37
38
persistent_config_container_s
persistentState
PERSISTENT_LOCATION
;
39
40
#else
// EFI_UNIT_TEST
41
42
persistent_config_s
*
config
;
43
engine_configuration_s
*
engineConfiguration
;
44
45
#endif
/* EFI_UNIT_TEST */
persistentState
persistent_config_container_s persistentState
pch.h
config
persistent_config_s * config
Definition:
persistent_store.cpp:42
PERSISTENT_LOCATION
persistent_config_container_s persistentState PERSISTENT_LOCATION
Definition:
persistent_store.cpp:38
engineConfiguration
engine_configuration_s * engineConfiguration
Definition:
persistent_store.cpp:43
sensor_chart.h
engine_configuration_s
Definition:
engine_configuration_generated_structures_cypress.h:546
persistent_config_container_s
Definition:
persistent_configuration.h:12
persistent_config_s
Definition:
engine_configuration_generated_structures_cypress.h:4780
trigger_central.h
Generated on Wed Apr 24 2024 00:06:08 for rusEFI by
1.9.1