Skip to content
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

support esp-idf master, 4.1, and 4.0.1 #32

Merged
merged 6 commits into from
Sep 21, 2020

Conversation

trombik
Copy link
Contributor

@trombik trombik commented Sep 21, 2020

this PR will support esp-idf master, 4.1, and 4.0.1. tested with esp32-cam from AI Thinker. notably, the sdkconfig.defaults had run-time problems. 3.x support was dropped. the PR includes a GitHub Actions workflow to build the code in matrix.

such as CONFIG_ESPTOOLPY_PORT. add only absolutely necessary options
with reasons. the old one does not work at all.

notable changes:

* require SPI RAM, or PSRAM, because all the boards with camera come
  with PSRAM. the code probably does not work without SPI RAM.
* use PSRAM when malloc(). without it, tasks will not start.
* 4MB flash RAM is required now because the custom partition table does
  not fit into 2MB
esp-idf 3.x is still officially supported, but deprecated. from
the point of developers' view, there is no reason to support 3.x.
the lack of ESP_IDF_VERSION_* macros seriously hurts portability.

replace "tcpip_adapter.h", which is deprecated in v4.1, with
"esp_netif.h".

remove many trailing spaces.
@bkeevil bkeevil merged commit 4029920 into bkeevil:master Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants