mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
25 lines
450 B
C++
25 lines
450 B
C++
#include "devices/Display.h"
|
|
#include "devices/SdCard.h"
|
|
#include "devices/Power.h"
|
|
|
|
#include <Tactility/hal/Configuration.h>
|
|
|
|
using namespace tt::hal;
|
|
|
|
static bool initBoot() {
|
|
return initAxp();
|
|
}
|
|
|
|
static DeviceVector createDevices() {
|
|
return {
|
|
getAxp192(),
|
|
createSdCard(),
|
|
createDisplay()
|
|
};
|
|
}
|
|
|
|
extern const Configuration hardwareConfiguration = {
|
|
.initBoot = initBoot,
|
|
.createDevices = createDevices
|
|
};
|