You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Develop.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,19 @@ export PATH=$PATH:/mingw32/bin to add python and cmake to path.
38
38
39
39
* Important! add Directives in build.cmake (-DARDUINO), to get prerpocessor the definitions that use esp32 and arduino libraries for esp32 core!, you can get that in esp32/platform.txt. It was needded to use ArduinoJSON library!.
40
40
41
-
* get_include_files.py think in better way to don't looking for files in examples test ect... subidrectories
41
+
* get_include_files.py think in better way to don't looking for files in examples test ect... subidrectories:
42
+
* I tried to use fileHeader == fileSarched, it is better.
43
+
* I tried to compare "src" in absolute_path, but some libraries has his headers and c/c++ files in proyect root!, so it is not good idea.
42
44
43
-
* test if internal libraries are include well in sktech cmakelist if it is ok, remove Internal libraries from arduino cmakeList in arduinoCore -- ok!
44
45
45
-
* think if looking for in external libraries if <> is not matchet in internal librarie, bad idea, it looking for all system headers in external libraries!, bad use. -- finished
46
46
47
47
### Done
48
48
49
+
#### 29/4/2024
50
+
* test if internal libraries are include well in sktech cmakelist if it is ok, remove Internal libraries from arduino cmakeList in arduinoCore -- ok!
51
+
52
+
* think if looking for in external libraries if <> is not matched in internal libraries -- I did crossed search.
* This proccess is to link configuration of the esp8266RTOSCore with Arduino IDE, but idf tools needs a git repository in the sdk, so, download this project with git and copy the entire git repository to the arduino core installation directory, even .git directory. Tipically, you core installation will be in:
idf building proccess is tipicall more **slow in windows** than linux distributions, I recomend you to use a Linux distribution like ubuntu to develop with this core and idf projects in general.
135
137
136
138
How esp8266_rtos_sdk use msys2 to build and flash projects, there are **limitations with arduino**:
* The compatibility between libraries of esp8266ArduinoCore based on NONOSDK, and this core, esp8266RTOSArduCore based on FreeRTOS is limited, in general you can use the same esp8266ArduinoCore libraries that have compatibily with esp32 arduino core.
212
216
213
217
* It is assumed that external third-party-libaries are in ~/Arduino/libraries.
214
218
215
-
* There is not supported to recursive includes to external libraries, all libraries you need must be includes in your .ino scketch:
216
-
* **example incorrect include**:
217
-
218
-
**~/Arduino/libraries/libraryOne/headerOne.h**:
219
-
220
-
~~~c++
221
-
#include "headerTwo.h"
222
-
~~~
223
-
224
-
**scketchs.ino**:
225
-
~~~c++
226
-
#include"headerOne.h"
227
-
228
-
// sdk don't loock for headers into heraderOne.h!, headerTwo.h is not included in to compile process, so librariOne is not linked with headerTwo in compile time.
229
-
~~~
230
-
231
-
***Rigth way to include**:
232
-
233
-
**~/Arduino/libraries/libraryOne/headerOne.h**:
234
-
~~~c++
235
-
#include"headerTwo.h"
236
-
~~~
237
-
238
-
**scketchs.ino**:
239
-
~~~c++
240
-
#include"headerOne.h"
241
-
#include"headerTwo.h"
242
-
// now compiler use all data of headerTwo.h to compile and link with headerOne.h and scketchs.ino.
243
-
~~~
244
-
245
-
***Note: if you remove #include "headerTwo.h" of "headerOne.h", libraryOne will not be linked with "headerTwo.h" even if you include that in sckets.ino.**
219
+
* ~~There is not supported to recursive includes to external libraries, all libraries you need must be includes in your .ino scketch~~
246
220
247
221
* libraries or utilities for specific hardware of esp32, like bluetooth or hall sensor is not supported in this core.
- [x] Implement way to resolve recursive includes.
258
232
- [ ] Rewrite paltafrom.txt to give support to compile options.
259
233
- [ ] Add esp8266 boards configurations in boards.txt
260
234
- [ ] Add pins map support for more models of esp8266 boards.
261
-
-[] Changes bash scripts to python scripts to support more OS.
235
+
- [x] Changes bash scripts to python scripts to support more OS.
262
236
- [ ] adapt, test and fix remaining core files with hardware dependencies of esp32 core. [See this section](https://github.com/alexCajas/ESP8266RTOSArdu/tree/main#list-of-core-files-to-adapt-test-and-fix).
263
237
- [ ] Test and fix remaining basic libraries of esp32 core. [See this section](https://github.com/alexCajas/ESP8266RTOSArdu/tree/main#list-of-basic-libraries-to-test-and-fix).
264
238
- [ ] Think in add #if TARGET_CONF_esp32 to more compatibility. --> I think that is a good idea because RTOS is more ligth than FreeRtos.
0 commit comments