Skip to content

Commit

Permalink
0.8.99
Browse files Browse the repository at this point in the history
* fix compilation of all environments
  • Loading branch information
lumapu committed Mar 26, 2024
1 parent f47cb10 commit d5ed027
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
21 changes: 21 additions & 0 deletions patches/RF24_Hal.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions src/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 98
#define VERSION_PATCH 99

//-------------------------------------
typedef struct {
Expand Down
6 changes: 4 additions & 2 deletions src/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d5ed027

Please sign in to comment.