Separate the configuration to hardware configuration and user configuration. Implement async I2C EEPROM handling. Remove USB functions that dealt with EEPROM and individual LEDs because they were dependent on sync I2C functions.

This commit is contained in:
László Monda
2017-07-22 23:49:47 +02:00
parent cbb0a02f19
commit 8ed4a6ba09
8 changed files with 153 additions and 64 deletions

View File

@@ -10,6 +10,7 @@
#include "slave_scheduler.h"
#include "peripherals/adc.h"
#include "init_peripherals.h"
#include "eeprom.h"
volatile uint32_t temp, counter;
@@ -60,4 +61,5 @@ void InitPeripherals(void)
InitTestLed();
LedPwm_Init();
InitI2cWatchdog();
EEPROM_Init();
}