-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e26f95
commit 1eff8fd
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[apollo3_base] | ||
platform_packages = platform_packages=framework-arduinoapollo3@https://github.com/sparkfun/Arduino_Apollo3#v2.2.0 | ||
board = RAK11722 | ||
framework = arduino | ||
build_type = debug | ||
build_flags = | ||
${arduino_base.build_flags} | ||
-Isrc/platform/apollo3 -g | ||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<mesh/api/> -<mesh/http/> -<modules/esp32> -<mesh/eth/> -<mqtt/> -<graphics> -<input> -<buzz> -<modules/Telemetry> -<platform/nrf52> -<platform/portduino> -<platform/rp2040> -<platform/stm32wl> | ||
lib_deps = | ||
${env.lib_deps} | ||
lib_ignore = | ||
mathertel/OneButton@^2.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |