Browse Source

0.8.99

* fix compilation of all environments
pull/1549/head
lumapu 12 months ago
parent
commit
d5ed0272e9
  1. 21
      patches/RF24_Hal.patch
  2. 3
      src/CHANGES.md
  3. 2
      src/defines.h
  4. 6
      src/platformio.ini

21
patches/RF24_Hal.patch

@ -959,3 +959,24 @@ index c029c8e..c9d612a 100644
-#endif // __RF24_H__
\ No newline at end of file
+#endif // __RF24_H__
diff --git a/RF24_hal.h b/RF24_hal.h
new file mode 100644
index 0000000..baceab3
--- /dev/null
+++ b/RF24_hal.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "RF24_config.h"
+
+class RF24_hal
+{
+public:
+ virtual void ce(bool level) = 0;
+ virtual uint8_t read(uint8_t cmd, uint8_t* buf, uint8_t len) = 0;
+ virtual uint8_t read(uint8_t cmd, uint8_t* buf, uint8_t data_len, uint8_t blank_len) = 0;
+ virtual uint8_t write(uint8_t cmd, const uint8_t* buf, uint8_t len) = 0;
+ virtual uint8_t write(uint8_t cmd, const uint8_t* buf, uint8_t len, uint8_t blank_len) = 0;
+ virtual bool begin() = 0;
+ virtual void end() = 0;
+};

3
src/CHANGES.md

@ -1,5 +1,8 @@
# Development Changes
## 0.8.99 - 2024-03-27
* fix compilation of all environments
## 0.8.98 - 2024-03-24
* new network routines

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 98
#define VERSION_PATCH 99
//-------------------------------------
typedef struct {

6
src/platformio.ini

@ -45,6 +45,9 @@ build_unflags =
platform = espressif8266
board = esp12e
board_build.f_cpu = 80000000L
lib_deps =
${env.lib_deps}
https://github.com/me-no-dev/ESPAsyncUDP
build_flags = ${env.build_flags}
-DEMC_MIN_FREE_MEMORY=4096
;-Wl,-Map,output.map
@ -55,8 +58,7 @@ monitor_filters =
platform = espressif8266
board = esp12e
board_build.f_cpu = 80000000L
lib_deps =
${env.lib_deps}
lib_deps = ${env:esp8266-minimal.lib_deps}
https://github.com/me-no-dev/ESPAsyncUDP
build_flags = ${env:esp8266-minimal.build_flags}
-DENABLE_MQTT

Loading…
Cancel
Save