add EEPROM file

This commit is contained in:
Rémi Heredero 2023-08-27 17:39:45 +02:00
parent 97b9e38665
commit 5bbc7bc0c3
5 changed files with 71 additions and 45 deletions

View File

@ -5,6 +5,7 @@
* @file can_message.c
*/
#include "can_message.h"
#include "../middleware/can_interface.h"
#include "car.h"
#include "../app/factory/factory.h"

View File

@ -0,0 +1,8 @@
/**
* @author Rémi Heredero
* @version 1.0.0
* @date August 2023
* @file eeprom_interface.h
*/
#include "eeprom_interface.h"

View File

@ -0,0 +1,15 @@
/**
* @author Rémi Heredero
* @version 1.0.0
* @date August 2023
* @file eeprom_interface.h
*/
#ifndef EEPROM_INTERFACE_H
#define EEPROM_INTERFACE_H
MEM_write_1_byte(uint8_t addresse, uint8_t data);
MEM_write_4_byte(uint32_t data);
// void MEM_write_CONTROL_STEERING_MODE(uint8_t data);
#endif /* EEPROM_INTERFACE_H */

View File

@ -27,6 +27,7 @@
<itemPath>middleware/can_interface.h</itemPath>
<itemPath>middleware/alive_checker.h</itemPath>
<itemPath>middleware/watchdog.h</itemPath>
<itemPath>middleware/eeprom_interface.h</itemPath>
</logicalFolder>
<logicalFolder name="xf" displayName="xf" projectFiles="true">
<itemPath>xf/event.h</itemPath>
@ -63,6 +64,7 @@
<itemPath>middleware/can_interface.c</itemPath>
<itemPath>middleware/alive_checker.c</itemPath>
<itemPath>middleware/watchdog.c</itemPath>
<itemPath>middleware/eeprom_interface.c</itemPath>
</logicalFolder>
<logicalFolder name="xf" displayName="xf" projectFiles="true">
<itemPath>xf/event.c</itemPath>

File diff suppressed because one or more lines are too long