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
.gitignore vendored
View File

@@ -22,3 +22,4 @@ custom-build-flags/build_flags_nrf52840
lighthub/modules/out_elevator.cpp lighthub/modules/out_elevator.cpp
lighthub/modules/out_elevator.h lighthub/modules/out_elevator.h
spare_files/* spare_files/*
lib/*

View File

@@ -13,3 +13,6 @@
-DARDUINO_OTA_MDNS_DISABLE -DARDUINO_OTA_MDNS_DISABLE
-DMDNS_ENABLE -DMDNS_ENABLE
-DMCP23017 -DMCP23017
-DFS_STORAGE
-DFS_PREPARE

View File

@@ -12,4 +12,4 @@
-DSYSLOG_ENABLE -DSYSLOG_ENABLE
-DMBUS_DISABLE -DMBUS_DISABLE
-DPID_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

5474
compiled/nrf52840-5500 Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

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

View File

@@ -80,7 +80,7 @@ bool systemConfig::isValidSysConf()
bool systemConfig::setMQTTpwd(char * pwd) bool systemConfig::setMQTTpwd(char * pwd)
{ {
return 0;
} }
@@ -92,17 +92,17 @@ bool systemConfig::isValidSysConf()
bool systemConfig::setOTApwd(char * pwd) bool systemConfig::setOTApwd(char * pwd)
{ {
return 0;
} }
bool systemConfig::setMAC(macAddress mac) bool systemConfig::setMAC(macAddress mac)
{ {
return 0;
} }
bool systemConfig::setServer(char* url) bool systemConfig::setServer(char* url)
{ {
return 0;
} }
bool systemConfig::getServer(char* url) bool systemConfig::getServer(char* url)

View File

@@ -136,7 +136,8 @@ flashStream(unsigned int _startPos=0, unsigned int _size=4096 ):seekableStream(_
#if defined(__SAM3X8E__) #if defined(__SAM3X8E__)
return EEPROM.write(pos++,(char)ch); return EEPROM.write(pos++,(char)ch);
#endif #endif
return 0;
}; };
void putEOF(){write (255); void putEOF(){write (255);
#if defined(ESP8266) #if defined(ESP8266)

View File

@@ -339,9 +339,9 @@ void Input::counterPoll() {
void Input::attachInterruptPinIrq(int realPin, int irq) { void Input::attachInterruptPinIrq(int realPin, int irq) {
pinMode(realPin, INPUT); pinMode(realPin, INPUT);
int real_irq; int real_irq;
#if defined(ARDUINO_ARCH_AVR) //#if defined(ARDUINO_ARCH_AVR)
real_irq = irq; real_irq = irq;
#endif //#endif
#if defined(__SAM3X8E__) #if defined(__SAM3X8E__)
real_irq = realPin; real_irq = realPin;
#endif #endif
@@ -1041,6 +1041,7 @@ uint16_t readCache::analogReadCached (uint8_t _pin)
uint8_t readCache::digitalReadCached(uint8_t _pin) uint8_t readCache::digitalReadCached(uint8_t _pin)
{ {
///TBD ///TBD
return 0;
} }
#ifdef MCP23017 #ifdef MCP23017

View File

@@ -964,22 +964,23 @@ return false;
int itemCmd::doMapping(aJsonObject *mappingData) int itemCmd::doMapping(aJsonObject *mappingData)
{ {
return 0;
} }
int itemCmd::doReverseMapping (aJsonObject *mappingData) int itemCmd::doReverseMapping (aJsonObject *mappingData)
{ {
return 0;
} }
int itemCmd::doMappingCmd(aJsonObject *mappingData) int itemCmd::doMappingCmd(aJsonObject *mappingData)
{ {
return 0;
} }
int itemCmd::doReverseMappingCmd (aJsonObject *mappingData) int itemCmd::doReverseMappingCmd (aJsonObject *mappingData)
{ {
return 0;
} }

View File

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

View File

@@ -1,3 +1,4 @@
#pragma once
#include <Arduino.h> #include <Arduino.h>
#ifndef MAX_JSON_CONF_SIZE #ifndef MAX_JSON_CONF_SIZE
@@ -317,6 +318,6 @@
#endif #endif
#if defined(NRF5) #if defined(NRF5)
#define PINS_COUNT NUM_DIGITAL_PINS //#define PINS_COUNT NUM_DIGITAL_PINS
#define isAnalogPin(p) ((p >= 14) && (p<=21)) #define isAnalogPin(p) ((p >= 14) && (p<=21))
#endif #endif