Skip to content

Commit d37e63e

Browse files
Adapted folder structure to arduino 1.6.10
- shortened serial UI commands to save bytes - adapted folder structure to new limitation of arduino 1.6.10 whereby only source files in the ‘src’ subfolder of a sketch are being included => moved “subprojects” into a new ‘src’ folder (config, log, sensors, ble_gatt). For details see arduino/arduino-builder#148 - arduino 1.6.10 uses the latest AVR tooling => boiler controller with BLE uses only 25.5 KB now instead of 26.9 KB
1 parent 3786aed commit d37e63e

24 files changed

+71
-68
lines changed

bc_setup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// Uncomment AT MOST ONE (!) of the following lines:
55
// #define UNIT_TEST
6-
// #define BLE_UI
7-
#define SERIAL_UI
6+
#define BLE_UI
7+
// #define SERIAL_UI
88

99
#ifdef UNIT_TEST
1010
// Comment the following line to prevent execution of STATE tests:

boiler_controller.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "bc_setup.h"
2-
#include "math.h"
2+
#include "log.h"
33
#include "control.h"
44
#include "state.h"
55
#include "ui.h"

config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef BC_CONFIG_H_INCLUDED
22
#define BC_CONFIG_H_INCLUDED
33

4-
#include "config/Configuration.h"
5-
#include "sensors/OneWireSensors.h"
4+
#include "src/config/Configuration.h"
5+
#include "src/sensors/OneWireSensors.h"
66

77
/*
88
* ID values are defined by ConfigParamEnum.

control.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define WATER_MIN_TEMP -2000 // [°C * 100]
2424
#define WATER_MAX_TEMP 10000 // [°C * 100]
2525

26-
// Water min and max values used to check that ambient-temperature readout is plausible:
26+
// Ambient min and max values used to check that ambient-temperature readout is plausible:
2727
#define AMBIENT_MIN_TEMP -3000 // [°C * 100]
2828
#define AMBIENT_MAX_TEMP 5000 // [°C * 100]
2929

log.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define BC_LOG_H_INCLUDED
33

44
#include "config.h"
5-
#include "log/Logging.h"
5+
#include "src/log/Logging.h"
66

77

88
/*
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)