Prusa MINI Firmware overview
shared_config.h
Go to the documentation of this file.
1 //config.h - main configuration file
2 #ifndef _SHARED_CONFIG_H
3 #define _SHARED_CONFIG_H
4 
5 #include "stdint.h"
6 
7 // bootloader version
8 #define BOOTLOADER_VERSION_ADDRESS 0x0801FFFA
9 
10 // EEPROM firmware update flag
11 #define FW_UPDATE_ENABLE 0xAA
12 #define FW_UPDATE_DISABLE 0x00
13 
14 // pin PA13 state
15 #define APPENDIX_FLAG_MASK 0x01
16 
17 #pragma pack(push)
18 #pragma pack(1)
19 typedef struct {
21  uint8_t model_specific_flags; // ~ "reserved1" originally
37 
38 typedef struct {
42 } version_t;
43 
44 #pragma pack(pop)
45 
46 #endif /* _SHARED_CONFIG_H */
version_t::patch
uint8_t patch
Definition: shared_config.h:41
data_exchange_t::reserved8
uint8_t reserved8
Definition: shared_config.h:28
data_exchange_t::reserved9
uint8_t reserved9
Definition: shared_config.h:29
data_exchange_t::reserved10
uint8_t reserved10
Definition: shared_config.h:30
data_exchange_t::model_specific_flags
uint8_t model_specific_flags
Definition: shared_config.h:21
data_exchange_t::reserved4
uint8_t reserved4
Definition: shared_config.h:24
data_exchange_t::reserved15
uint8_t reserved15
Definition: shared_config.h:35
data_exchange_t::reserved14
uint8_t reserved14
Definition: shared_config.h:34
data_exchange_t::reserved7
uint8_t reserved7
Definition: shared_config.h:27
data_exchange_t::reserved2
uint8_t reserved2
Definition: shared_config.h:22
data_exchange_t::reserved6
uint8_t reserved6
Definition: shared_config.h:26
data_exchange_t::reserved11
uint8_t reserved11
Definition: shared_config.h:31
data_exchange_t::reserved3
uint8_t reserved3
Definition: shared_config.h:23
uint8_t
const uint8_t[]
Definition: 404_html.c:3
data_exchange_t::reserved12
uint8_t reserved12
Definition: shared_config.h:32
version_t::minor
uint8_t minor
Definition: shared_config.h:40
data_exchange_t::fw_update_flag
uint8_t fw_update_flag
Definition: shared_config.h:20
version_t
Definition: shared_config.h:38
data_exchange_t::reserved5
uint8_t reserved5
Definition: shared_config.h:25
data_exchange_t
Definition: shared_config.h:19
version_t::major
uint8_t major
Definition: shared_config.h:39
data_exchange_t::reserved13
uint8_t reserved13
Definition: shared_config.h:33