Split config_state.[ch] to config_globals.[ch] and basic_types.[ch]

This commit is contained in:
László Monda
2017-08-08 23:22:18 +02:00
parent 84d510435d
commit dd5a0e058d
10 changed files with 43 additions and 30 deletions

View File

@@ -0,0 +1,11 @@
#include "config_globals.h"
static uint8_t hardwareConfig[HARDWARE_CONFIG_SIZE];
config_buffer_t HardwareConfigBuffer = {hardwareConfig};
static uint8_t userConfig1[USER_CONFIG_SIZE];
static uint8_t __attribute__((section (".m_data_2"))) userConfig2[USER_CONFIG_SIZE];
config_buffer_t UserConfigBuffer = { userConfig1 };
config_buffer_t StagingUserConfigBuffer = { userConfig2 };
bool ParserRunDry;