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

View File

@@ -20,4 +20,5 @@ int abstractOut::isActive()
int abstractOut::Setup()
{
if (item) item->setCmd(CMD_OFF);
return 1;
}

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)

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)

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

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;
}

View File

@@ -52,6 +52,7 @@ int out_dmx::getChanType()
}
return 0;
}
return 0;
}
int out_dmx::PixelCtrl(itemCmd cmd, char* subItem, bool show)

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