Changeset 82 for ctrl/firmware/Main/SES/Core
- Timestamp:
- Feb 6, 2025, 8:27:24 AM (3 months ago)
- Location:
- ctrl/firmware/Main/SES/Core
- Files:
-
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/SES/Core/Inc/gps.h
r80 r82 2 2 #define __GPS_H_ 3 3 4 #include < cstdint>4 #include <stdint.h> 5 5 6 6 //! Struktur zur Aufnahme der RTC Zeit/Datum -
ctrl/firmware/Main/SES/Core/Inc/sysdata.h
r80 r82 2 2 #define __SYS_DATA_H 3 3 4 #include <cstdint> 4 #include <stdint.h> 5 #include <stdbool.h> 5 6 6 7 #include "charge_controller.h" 7 8 #include "street_light.h" 9 #include "common.h" 8 10 #include "gps.h" 9 11 … … 14 16 //---------- Constants --------------------------------------------------------- 15 17 16 inline constexpr unsigned MAX_LIPRO_CELLS = 16U;// FÜR SPEICHERUNG AUF SD KARTE, damit Anzahl der Felder immer gleich ist und Reservierung Speicher für Lipro Daten, Achtung eine Änderung verschiebt MODBUS Adressen!!!17 inline constexpr unsigned MAX_LOG_MESSAGES = 10U; 18 inline constexpr unsigned MAX_TEMP_SENSOR_ID_SIZE = 8U; 18 #define MAX_LIPRO_CELLS (16U) // FÜR SPEICHERUNG AUF SD KARTE, damit Anzahl der Felder immer gleich ist und Reservierung Speicher für Lipro Daten, Achtung eine Änderung verschiebt MODBUS Adressen!!! 19 #define MAX_LOG_MESSAGES (10U) 20 #define MAX_TEMP_SENSOR_ID_SIZE (8U) 19 21 20 22 //---------- Enums ------------------------------------------------------------- … … 45 47 } ext_input_mode_t; 46 48 47 typedef enum mb_error_codes_enum49 /*typedef enum mb_error_codes_enum 48 50 { 49 51 MB_ERROR_NOTHING = 0, // 0 … … 54 56 MB_ERROR_BYTE_COUNT, // 5 55 57 MB_ERROR_START_ADRESS, // 6 56 } mb_error_codes_t; 58 } mb_error_codes_t;*/ 57 59 58 60 typedef enum output_state_enum … … 71 73 72 74 //---------- Typedefs ---------------------------------------------------------- 73 74 typedef union bword75 {76 uint16_t w;77 int16_t sw;78 uint8_t lb;79 int8_t slb;80 uint8_t b[2];81 int8_t sb[2];82 } bword_t;83 75 84 76 typedef struct ext_output_config … … 191 183 192 184 //LOKALBUS PARAMETER 193 uint8_t lb_slave_ad ress; //38l185 uint8_t lb_slave_address; //38l 194 186 uint8_t lb_mode; //38h 195 187 uint8_t lb_baudrate_mode; //39l -
ctrl/firmware/Main/SES/Core/Src/eth_task.cpp
r79 r82 42 42 void ethTaskStart(void* argument) 43 43 { 44 (void)argument;44 UNUSED(argument); 45 45 46 46 wizchip_initialize(); -
ctrl/firmware/Main/SES/Core/Src/keys_task.cpp
r73 r82 15 15 void keysTaskStart(void* argument) 16 16 { 17 (void)argument;17 UNUSED(argument); 18 18 19 19 HAL_GPIO_WritePin(POWER_5V_EN_GPIO_Port, POWER_5V_EN_Pin, GPIO_PIN_SET); -
ctrl/firmware/Main/SES/Core/Src/main_task.cpp
r79 r82 20 20 //UINT ret; 21 21 22 static FATFS fs;// __attribute__((section(". DTCM_RAM"))); // Filesystem object22 static FATFS fs;// __attribute__((section(".AXI_RAM"))); // Filesystem object 23 23 24 24 FRESULT scan_files (TCHAR* path); … … 29 29 [[noreturn]] void mainTaskStart(void *argument) 30 30 { 31 (void)argument;31 UNUSED(argument); 32 32 33 33 //DHCP_init(0, dhcp_buffer);
Note: See TracChangeset
for help on using the changeset viewer.