Closed kadrim closed 6 years ago
Hi,
Unfortunately, EEPROM or some way to store configuration is currently required. I do not have M0 so if noone will find a solution on M0, I will have to drop support for it
I have some M0 lying around - i will fiddle around with them and try to provide a solution, i.e. using Flash-Memory
Yes, that would be the best
I created a pull request for this issue: https://github.com/DzikuVx/QuadMeUp_Crossbow/pull/67
Best regards David
Resolved
Hi there,
i tried your code on adafruit m0 and it needs adjustmends, because the M0 does not have an EEPROM.
In platform_node.h:
`#ifdef ARDUINO_AVR_FEATHER32U4
include
endif`
In platform_node.cpp: ` void PlatformNode::seed(void) { uint8_t val;
ifdef ARDUINO_AVR_FEATHER32U4
endif
}
void PlatformNode::loadBindKey(uint8_t key[]) {
ifdef ARDUINO_AVR_FEATHER32U4
endif
}
void PlatformNode::saveBindKey(uint8_t key[]) {
ifdef ARDUINO_AVR_FEATHER32U4
endif
} `
Best regards, David