WIP scaffolding

This commit is contained in:
Ben Meadors
2023-03-23 19:35:51 -05:00
committed by Thomas Göttgens
parent 6e26f95df9
commit 1eff8fdba8
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#define ARCH_APOLLO3
//
// defaults for ARCH_APOLLO3 architecture
//
//
// set HW_VENDOR
//
#ifndef HW_VENDOR
#define HW_VENDOR HardwareModel_PRIVATE_HW
#endif

View File

@@ -0,0 +1,24 @@
#include "RTC.h"
#include "configuration.h"
void setBluetoothEnable(bool on) {}
void playStartMelody() {}
void updateBatteryLevel(uint8_t level) {}
void getMacAddr(uint8_t *dmac)
{
for (int i = 0; i < 6; i++)
dmac[i] = i;
}
void cpuDeepSleep(uint64_t msecToWake) {}
/* pacify libc_nano */
extern "C" {
int _gettimeofday(struct timeval *tv, void *tzvp)
{
return -1;
}
}