mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
Maeging with master
This commit is contained in:
commit
b74fba5809
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <CommandStation.h>
|
||||
#include <DCC-EX-Lib.h>
|
||||
#include <ArduinoTimers.h>
|
||||
|
||||
#include "Config.h"
|
||||
|
@ -134,7 +134,7 @@ void setup() {
|
|||
CommManager::registerInterface(new SerialInterface(Serial));
|
||||
Wire.begin(); // Needed for EEPROM to work
|
||||
EEStore::init(&Serial);
|
||||
#elif defined(ARDUINO_ARCH_AVR)
|
||||
#elif defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
|
||||
CommManager::registerInterface(new SerialInterface(Serial));
|
||||
EEStore::init(&Serial);
|
||||
#endif
|
|
@ -9,12 +9,12 @@
|
|||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
default_envs = samd21, mega2560, mega328
|
||||
default_envs = samd21, mega2560, mega328, unowifiR2
|
||||
src_dir = .
|
||||
|
||||
[env]
|
||||
lib_deps =
|
||||
https://github.com/DCC-EX/CommandStation.git#issue18-LocoMgmt
|
||||
https://github.com/DCC-EX/DCC-EX-Lib.git#master
|
||||
https://github.com/davidcutting42/ArduinoTimers.git#master
|
||||
|
||||
[env:samd21]
|
||||
|
@ -41,3 +41,10 @@ framework = arduino
|
|||
lib_deps =
|
||||
${env.lib_deps}
|
||||
DIO2
|
||||
|
||||
[env:unowifiR2]
|
||||
platform = atmelmegaavr
|
||||
board = uno_wifi_rev2
|
||||
framework = arduino
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
Loading…
Reference in New Issue
Block a user