mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 13:19:50 +03:00
USART0_Handler redefiniton workaround,
DMXDue revert to original lib WDT enabled by default
This commit is contained in:
@@ -74,3 +74,6 @@ Need to use compiler directive -D Wiz5500 and https://github.com/anklimov/Ethern
|
||||
|
||||
First attempt to use platformio toolchain for compiling (work not completed yet)
|
||||
|
||||
#Due compilation issue "USART0_Handler redefinition"
|
||||
Please, open /variants/arduino_due_x/variant.cpp file, then edit USART0_Handler method definition like this
|
||||
void USART0_Handler(void) __attribute__((weak));
|
||||
@@ -81,14 +81,17 @@ Config webserver
|
||||
#include "HTTPClient.h"
|
||||
#include <avr/pgmspace.h>
|
||||
#include <avr/wdt.h>
|
||||
//#define wdt_en() wdt_enable(WDTO_8S)
|
||||
//#define wdt_dis() wdt_disable()
|
||||
//#define wdt_res() wdt_reset()
|
||||
#define wdt_en() wdt_enable(WDTO_8S)
|
||||
#define wdt_dis() wdt_disable()
|
||||
#define wdt_res() wdt_reset()
|
||||
#else
|
||||
#include <ArduinoHttpClient.h>
|
||||
#endif
|
||||
|
||||
#ifdef WATCH_DOG_TICKER_DISABLE
|
||||
#define wdt_en() wdt_disable()
|
||||
#define wdt_dis() wdt_disable()
|
||||
#define wdt_res() wdt_disable()
|
||||
#else
|
||||
#include <ArduinoHttpClient.h>
|
||||
#endif
|
||||
|
||||
#if defined(__SAM3X8E__)
|
||||
|
||||
@@ -21,17 +21,14 @@ lib_ldf_mode = chain+
|
||||
build_flags = !echo -n "-DPIO_SRC_REV="$(git rev-parse --short HEAD)
|
||||
lib_deps =
|
||||
https://github.com/sebnil/DueFlashStorage
|
||||
https://github.com/livello/Arduino-Temperature-Control-Library.git#1306c49
|
||||
; https://github.com/anklimov/Arduino-Temperature-Control-Library.git
|
||||
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
|
||||
https://github.com/anklimov/DS2482_OneWire
|
||||
; https://github.com/anklimov/DmxDue
|
||||
https://github.com/livello/DmxDue#25ee59d
|
||||
https://github.com/anklimov/DmxDue
|
||||
https://github.com/arduino-libraries/ArduinoHttpClient
|
||||
https://github.com/anklimov/aJson
|
||||
https://github.com/anklimov/CmdArduino
|
||||
https://github.com/anklimov/ModbusMaster
|
||||
; https://github.com/anklimov/Ethernet
|
||||
872
|
||||
https://github.com/anklimov/Ethernet
|
||||
; https://github.com/PaulStoffregen/SPI.git
|
||||
https://github.com/knolleary/pubsubclient.git
|
||||
https://github.com/anklimov/Artnet.git
|
||||
@@ -46,8 +43,7 @@ board = megaatmega2560
|
||||
framework = arduino
|
||||
;lib_ldf_mode = chain+
|
||||
lib_deps =
|
||||
https://github.com/livello/Arduino-Temperature-Control-Library.git#1306c49
|
||||
; https://github.com/anklimov/Arduino-Temperature-Control-Library.git
|
||||
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
|
||||
https://github.com/anklimov/DS2482_OneWire
|
||||
https://github.com/anklimov/DmxSimple
|
||||
https://github.com/anklimov/httpClient
|
||||
|
||||
Reference in New Issue
Block a user