3
0
Fork 0

Added project

This commit is contained in:
Willem Cazander 2022-11-13 01:46:38 +01:00
parent fe9aa14dfd
commit 2d73cc8845
186 changed files with 21174 additions and 0 deletions

22
xnode-mega-flash/Makefile Normal file
View file

@ -0,0 +1,22 @@
# Define out program
SKT_PDE_SRC = XnodeMegaFlash.cpp
# This needs more flash so use mega board
BOARD = megaADK
# Define the program to flash (needs single file)
MASTER_FLASH_PROG = ../xnode-base/build/xnode-base.hex
# Defines extra pairs of boot+image to flash(note optiboot get replaces by optiboot hex)
MASTER_FLASH_PAIR_EXTRA = \
optiboot \
../xnode-satellite/build/xnode-satellite.hex \
optiboot \
../xnode-test-blink/build/xnode-test-blink.hex \
optiboot \
../xnode-satellite/build/xnode-satellite.hex
# Include our master flash build
include ../lib-build/make/Makefile.master-flash

View file

@ -0,0 +1,17 @@
/*
* Xnode Satellite Flash
*/
#include <Arduino.h>
#include <MegaIspRepair.h>
#include <xnode-flashdata.generated>
MegaIspRepair megaIspRepair;
void setup() {
}
void loop() {
megaIspRepair.run("XnodeMegaFlash", sections);
}