[ion] Add a console facility

Change-Id: I34b406ae8589fdd2a5d6b826b34ac411359b58dc
This commit is contained in:
Romain Goyet
2017-02-27 14:13:19 +01:00
parent 59c35f7705
commit bca8a6fd86
7 changed files with 155 additions and 91 deletions

View File

@@ -10,6 +10,7 @@ extern "C" {
#include "battery.h"
#include "sd_card.h"
#include "backlight.h"
#include "console.h"
#define USE_SD_CARD 0
@@ -85,6 +86,7 @@ void initPeripherals() {
#if USE_SD_CARD
SDCard::Device::init();
#endif
Console::Device::init();
}
void shutdownPeripherals() {