mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
Cross-compilation cleanup for all platforms + bins
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||
|
||||
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
5474
compiled/nrf52840-5500
Normal file
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;
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
@@ -137,6 +137,7 @@ flashStream(unsigned int _startPos=0, unsigned int _size=4096 ):seekableStream(_
|
||||
#if defined(__SAM3X8E__)
|
||||
return EEPROM.write(pos++,(char)ch);
|
||||
#endif
|
||||
return 0;
|
||||
};
|
||||
void putEOF(){write (255);
|
||||
#if defined(ESP8266)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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