mirror of
https://github.com/anklimov/lighthub
synced 2026-09-14 22:24:03 +00:00
Cross-compilation cleanup for all platforms + bins
This commit is contained in:
@@ -22,3 +22,4 @@ custom-build-flags/build_flags_nrf52840
|
||||
lighthub/modules/out_elevator.cpp
|
||||
lighthub/modules/out_elevator.h
|
||||
spare_files/*
|
||||
lib/*
|
||||
@@ -13,3 +13,6 @@
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
-DMCP23017
|
||||
|
||||
-DFS_STORAGE
|
||||
-DFS_PREPARE
|
||||
@@ -12,4 +12,4 @@
|
||||
-DSYSLOG_ENABLE
|
||||
-DMBUS_DISABLE
|
||||
-DPID_DISABLE
|
||||
-DMCP23017
|
||||
#-DMCP23017
|
||||
|
||||
+7191
-7165
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7036
-7006
File diff suppressed because it is too large
Load Diff
+6789
-6763
File diff suppressed because it is too large
Load Diff
+5817
-5263
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+6334
-6205
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -20,4 +20,5 @@ int abstractOut::isActive()
|
||||
int abstractOut::Setup()
|
||||
{
|
||||
if (item) item->setCmd(CMD_OFF);
|
||||
return 1;
|
||||
}
|
||||
+4
-4
@@ -80,7 +80,7 @@ bool systemConfig::isValidSysConf()
|
||||
|
||||
bool systemConfig::setMQTTpwd(char * pwd)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,17 +92,17 @@ bool systemConfig::isValidSysConf()
|
||||
|
||||
bool systemConfig::setOTApwd(char * pwd)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool systemConfig::setMAC(macAddress mac)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool systemConfig::setServer(char* url)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool systemConfig::getServer(char* url)
|
||||
|
||||
@@ -136,7 +136,8 @@ flashStream(unsigned int _startPos=0, unsigned int _size=4096 ):seekableStream(_
|
||||
|
||||
#if defined(__SAM3X8E__)
|
||||
return EEPROM.write(pos++,(char)ch);
|
||||
#endif
|
||||
#endif
|
||||
return 0;
|
||||
};
|
||||
void putEOF(){write (255);
|
||||
#if defined(ESP8266)
|
||||
|
||||
+3
-2
@@ -339,9 +339,9 @@ void Input::counterPoll() {
|
||||
void Input::attachInterruptPinIrq(int realPin, int irq) {
|
||||
pinMode(realPin, INPUT);
|
||||
int real_irq;
|
||||
#if defined(ARDUINO_ARCH_AVR)
|
||||
//#if defined(ARDUINO_ARCH_AVR)
|
||||
real_irq = irq;
|
||||
#endif
|
||||
//#endif
|
||||
#if defined(__SAM3X8E__)
|
||||
real_irq = realPin;
|
||||
#endif
|
||||
@@ -1041,6 +1041,7 @@ uint16_t readCache::analogReadCached (uint8_t _pin)
|
||||
uint8_t readCache::digitalReadCached(uint8_t _pin)
|
||||
{
|
||||
///TBD
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef MCP23017
|
||||
|
||||
@@ -964,22 +964,23 @@ return false;
|
||||
int itemCmd::doMapping(aJsonObject *mappingData)
|
||||
{
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
int itemCmd::doReverseMapping (aJsonObject *mappingData)
|
||||
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int itemCmd::doMappingCmd(aJsonObject *mappingData)
|
||||
{
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
int itemCmd::doReverseMappingCmd (aJsonObject *mappingData)
|
||||
|
||||
{
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ int out_dmx::getChanType()
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int out_dmx::PixelCtrl(itemCmd cmd, char* subItem, bool show)
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
#ifndef MAX_JSON_CONF_SIZE
|
||||
@@ -317,6 +318,6 @@
|
||||
#endif
|
||||
|
||||
#if defined(NRF5)
|
||||
#define PINS_COUNT NUM_DIGITAL_PINS
|
||||
//#define PINS_COUNT NUM_DIGITAL_PINS
|
||||
#define isAnalogPin(p) ((p >= 14) && (p<=21))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user