Cross-compilation cleanup for all platforms + bins

This commit is contained in:
2021-07-28 13:44:05 +03:00
parent aa827b8119
commit 256ca471fc
25 changed files with 38663 additions and 32414 deletions
+1
View File
@@ -22,3 +22,4 @@ custom-build-flags/build_flags_nrf52840
lighthub/modules/out_elevator.cpp
lighthub/modules/out_elevator.h
spare_files/*
lib/*
+3
View File
@@ -13,3 +13,6 @@
-DARDUINO_OTA_MDNS_DISABLE
-DMDNS_ENABLE
-DMCP23017
-DFS_STORAGE
-DFS_PREPARE
+1 -1
View File
@@ -12,4 +12,4 @@
-DSYSLOG_ENABLE
-DMBUS_DISABLE
-DPID_DISABLE
-DMCP23017
#-DMCP23017
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.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
+1
View File
@@ -20,4 +20,5 @@ int abstractOut::isActive()
int abstractOut::Setup()
{
if (item) item->setCmd(CMD_OFF);
return 1;
}
+4 -4
View File
@@ -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)
+2 -1
View File
@@ -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
View File
@@ -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
+4 -3
View File
@@ -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;
}
+1
View File
@@ -52,6 +52,7 @@ int out_dmx::getChanType()
}
return 0;
}
return 0;
}
int out_dmx::PixelCtrl(itemCmd cmd, char* subItem, bool show)
+2 -1
View File
@@ -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