Open raulfash opened 3 years ago
I answer to myself. Some compilation bugs fixed.
Installed libraries in the user folder platformio.
One error due to FS windows that confuses uppercase with lowercase "Math.h", "math.h". It is solved with lib_ignore = time in platformio.ini Static error in Dusk2Dawn library, Static is eliminated in the header of the functions with cpp error.
Now compile, and it remains to receive the esp32 to upload.
Now my dismemberment begins. I do not need a screen or LEDs or the solar time function. Also I will try that the system connects to the sip only when it is pressed.
Thanks for your work, I really like it.
Hello great job, it mean you can read my mind.
I just will adapt this project to my owm pourposes.
By the way only want to get some experience whit platformio and then do adaptations to my spects.
When try build in VStudio code i get a lot of warnings.
`PLATFORM: Espressif 32 (1.12.4) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:
target_elf = env.BuildProgram() File "C:\Users\FaSh.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658: return self.method(*nargs, *kwargs) File "C:\Users\FaSh.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62: env.ProcessProjectDeps() File "C:\Users\FaSh.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658: return self.method(nargs, kwargs) File "C:\Users\FaSh.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140: project_lib_builder = env.ConfigureProjectLibBuilder() File "C:\Users\FaSh.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658: return self.method(*nargs, **kwargs) File "C:\Users\FaSh.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062: project.install_dependencies() File "C:\Users\FaSh.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 886: if lm.get_package(spec): File "c:\users\fash.platformio\penv\lib\site-packages\platformio\package\manager\base.py", line 234: spec = self.ensure_spec(spec) File "c:\users\fash.platformio\penv\lib\site-packages\platformio\package\manager\base.py", line 102: return spec if isinstance(spec, PackageSpec) else PackageSpec(spec) File "c:\users\fash.platformio\penv\lib\site-packages\platformio\package\meta.py", line 124:
self._parse(self.raw) File "c:\users\fash.platformio\penv\lib\site-packages\platformio\package\meta.py", line 227:
raw = parser(raw) File "c:\users\fash.platformio\penv\lib\site-packages\platformio\package\meta.py", line 250:
self.requirements = tokens[1].strip() File "c:\users\fash.platformio\penv\lib\site-packages\platformio\package\meta.py", line 167:
else semantic_version.SimpleSpec(str(value)) File "c:\users\fash.platformio\penv\lib\site-packages\semantic_version\base.py", line 618:
self.clause = self._parse_to_clause(expression) File "c:\users\fash.platformio\penv\lib\site-packages\semantic_version\base.py", line 1014:
return cls.Parser.parse(expression) File "c:\users\fash.platformio\penv\lib\site-packages\semantic_version\base.py", line 1034:
raise ValueError("Invalid simple block %r" % block) ================================== [FAILED] Took 1.31 seconds ================================== The terminal process "C:\Users\FaSh.platformio\penv\Scripts\platformio.exe 'debug', '--environment', 'esp32dev'" terminated with exit code: 1. `
Thanks a lot