mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-29 16:56:10 +02:00
0.8.99
* fix compilation of all environments
This commit is contained in:
parent
f47cb107f3
commit
d5ed0272e9
4 changed files with 29 additions and 3 deletions
|
@ -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;
|
||||
+};
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
//-------------------------------------
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 8
|
||||
#define VERSION_PATCH 98
|
||||
#define VERSION_PATCH 99
|
||||
|
||||
//-------------------------------------
|
||||
typedef struct {
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue