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

Update framework-kendryte-standalone-sdk version and builder script #41

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

maxgerhardt
Copy link

@maxgerhardt maxgerhardt commented Dec 1, 2021

Recent projects like https://github.com/kendryte/kendryte-standalone-demo/tree/develop/face_detect cannot be compiled under PlatformIO because the SDK (https://github.com/kendryte/kendryte-standalone-sdk) package it uses has become outdated with respect to the master branch, and so, errors like

src\image_process.c:18:10: fatal error: iomem.h: No such file or directory

are encountered. Sadly Sipeed doesn't seem to be making regular releases of the SDK anymore (V0.5.6 is from May 2019) but the SDK is still being further developed.

This PR mainly updates the builder script builder/frameworks/kendryte-standalone-sdk.py to adapt to the new SDK version and compilation settings. It also incorporates PR #39 because otherwise a Python error occurs. It also changes the version of framework-kendryte-standalone-sdk to point directly to the git version, however, after a merge this should changed back to a stable package version together with an updated version of that package (CC @ivankravets).

A test project that showcases working compilation with this updated version and non-working of it with the current version is located at https://github.com/maxgerhardt/pio-kendryte-facedetect-demo.

This stems from a user's post about not being able to compile the reference project at https://community.platformio.org/t/kendryte-face-detect-example-with-sipeed-maix-bit/24763.

Also linked to #31.

Default the value of upload.slow to avoid build errors for boards whe…
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.

1 participant