Move PCB and user config to board Kconfig

Files in src/pcbs/xyz.h are moved to boards/xyz/board.h. User settings from
src/config.h are also configured via Kconfig, so the file is removed.
This commit is contained in:
Martin Jäger
2020-04-30 10:53:58 +02:00
parent 2d74a3a554
commit 2a71d02aeb
46 changed files with 108 additions and 463 deletions
+1 -9
View File
@@ -9,18 +9,10 @@
#include <math.h> // log for thermistor calculation
#include <assert.h>
#ifdef __MBED__
#include "mbed.h"
#endif
#include "mcu.h"
#include "setup.h"
#include "debug.h"
#include "pcb.h" // contains defines for pins
#if defined(__MBED__) && defined(PIN_REF_I_DCDC)
AnalogOut ref_i_dcdc(PIN_REF_I_DCDC);
#endif
#include "board.h" // contains defines for pins
static float solar_current_offset;
static float load_current_offset;