Skip to content

Commit

Permalink
Ardiono 3 using pioarduino
Browse files Browse the repository at this point in the history
  • Loading branch information
tueddy committed Sep 26, 2024
1 parent 5b32bcf commit 8273519
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
11 changes: 6 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ default_envs = lolin_d32_pro_sdmmc_pe
board_build.flash_mode = qio
board_build.bootloader = dio
board_build.partitions = custom_4mb_noota.csv
platform = espressif32@^6.8.1
;platform = espressif32
;platform = espressif32@^6.8.1
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
;framework = arduino
framework = arduino, espidf
monitor_speed = 115200
Expand All @@ -30,14 +30,15 @@ extra_scripts =
pre:updateSdkConfig.py
pre:processHtml.py
lib_deps =
https://github.com/schreibfaul1/ESP32-audioI2S.git#d7a2007 ;07.06.2024
https://github.com/schreibfaul1/ESP32-audioI2S.git#928c420 ;d7a2007 ;07.06.2024
https://github.com/madhephaestus/ESP32Encoder.git#2c986e0
https://github.com/knolleary/pubsubclient.git#2d228f2
https://github.com/peterus/ESP-FTP-Server-Lib#554959f
https://github.com/tueddy/FastLED.git#3.6.0_IRAM ;save some IRAM to compile with all features (https://github.com/FastLED/[email protected])
; https://github.com/tueddy/FastLED.git#3.6.0_IRAM ;save some IRAM to compile with all features (https://github.com/FastLED/[email protected])
https://github.com/FastLED/FastLED.git#de02bc1 ; v3.7.8
https://github.com/mathieucarbou/ESPAsyncWebServer.git#cec5afb ; v3.2.4
https://github.com/bblanchon/ArduinoJson.git#40ee05c
https://github.com/pschatzmann/ESP32-A2DP.git#bb5bc2f
; https://github.com/pschatzmann/ESP32-A2DP.git#bb5bc2f
https://github.com/Arduino-IRremote/Arduino-IRremote.git#b962db8 ; v4.3.1
https://github.com/kkloesener/MFRC522_I2C.git#121a27e
https://github.com/tueddy/rfid.git#caa3e6d ; avoid warnings, fork from https://github.com/miguelbalboa/rfid.git#0ff12a1
Expand Down
2 changes: 2 additions & 0 deletions src/Mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ bool publishMqtt(const char *topic, int32_t payload, bool retained) {
#endif
}

/*
bool publishMqtt(const char *topic, unsigned long payload, bool retained) {
#ifdef MQTT_ENABLE
char buf[11];
Expand All @@ -180,6 +181,7 @@ bool publishMqtt(const char *topic, unsigned long payload, bool retained) {
return false;
#endif
}
*/

bool publishMqtt(const char *topic, uint32_t payload, bool retained) {
#ifdef MQTT_ENABLE
Expand Down
2 changes: 1 addition & 1 deletion src/Mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ bool Mqtt_IsEnabled(void);

bool publishMqtt(const char *topic, const char *payload, bool retained);
bool publishMqtt(const char *topic, int32_t payload, bool retained);
bool publishMqtt(const char *topic, unsigned long payload, bool retained);
//bool publishMqtt(const char *topic, unsigned long payload, bool retained);
bool publishMqtt(const char *topic, uint32_t payload, bool retained);
2 changes: 1 addition & 1 deletion src/revision.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#include "gitrevision.h"
constexpr const char softwareRevision[] = "Software-revision: 20240919-1-DEV";
constexpr const char softwareRevision[] = "Software-revision: 20240919-1-DEV";

0 comments on commit 8273519

Please sign in to comment.