-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file system problem #1
Conversation
if we test some other project like meteocontrol and upload http server bootstrap again , sometimes the other files missing. so we must to check all files.
Greetings! Very glad to your participation.
|
you are right. |
Agree, thank you! |
We should make check like this in HttpServer_Bootstrap also, yes? |
agree. and maybe can add file.list api like nodemcu. |
Yes, it should be good idea! Not sure is it implemented in spiffs? |
i dont know but is it implemented in spiffs but nodemcu using same spiffs and it can list files :) |
nodemcu using fork of original library, but it shouldn't be a problem. |
Use SERIAL_BAUD_RATE from user_config.h
…ication. Fixes #1. This fix also takes care for axl_init calls that are done outside TcpConnection.
* Use per-arch hardware configs, and reduce ESP32 app. partition size * Fix bug in ReadWriteStream::copyFrom() * Fix TemplateStream Tested against large (1MB) JSON listing generated from templates, issues arising. Need to check for remaining plain data before continuing with next tag search Move check for missing end tag after `evaluate` * Add test for fragmented read of variable values Verified that debug statements #1, #3 and #4 are triggered by the test. Use smaller read buffers for testing to stress code more
* Use per-arch hardware configs, and reduce ESP32 app. partition size * Fix bug in ReadWriteStream::copyFrom() * Fix TemplateStream Tested against large (1MB) JSON listing generated from templates, issues arising. Need to check for remaining plain data before continuing with next tag search Move check for missing end tag after `evaluate` * Add test for fragmented read of variable values Verified that debug statements #1, #3 and #4 are triggered by the test. Use smaller read buffers for testing to stress code more
This PR re-implements the task queue using SDK-provided queue API. This allows code running on Core #1 to queue tasks for execution by Sming (which runs on Core #0). Some care is required running both cores together so some notes have been added to the documentation. Note: I had a need to run some simple background analogue processing for which core 1 was an ideal solution. I put all the code in RAM, both for performance reasons and because XIP is suspended during flash erase/write operations (such as file writes). I avoided using floating-point code for the same reasons - FP routines are large so compile to flash. The Cortex M0+ has hardware support for integer division but these routines compile to flash by default. They're small so have set the SDK PICO_DIVIDER_IN_RAM flag. It seems reasonable that integer arithmetic shouldn't require flash accesses. Note: There is also PICO_INT64_OPS_IN_RAM and PICO_MEM_IN_RAM which probably warrant further investigation/consideration.
if we test some other project like meteocontrol and upload http server bootstrap again , sometimes the other files missing. so we must to check all files.