Closed loboris closed 5 years ago
If this line in 'os_entry.c' is uncommented, the application freezes on start, unless a small delay is added at the beginning of the main() (vTaskDelay(10 / portTICK_PERIOD_MS);
).
Still, only the task on processor 0 is running.
Should be fixed in e4bd4cc. Additionally you need to use the latest toolchain with the SDK in develop branch.
Thanks, it works now.
What about the error in lwipcore requiring D extension? cc1: error: requested ABI requires -march to subsume the 'D' extension
Scanning dependencies of target lwipcore
[ 1%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/init.c.obj
cc1: error: requested ABI requires -march to subsume the 'D' extension
third_party/lwip/CMakeFiles/lwipcore.dir/build.make:62: recipe for target 'third_party/lwip/CMakeFiles/lwipcore.dir/src/core/init.c.obj' failed
Is it ok to change -march=rv64imafc
to -march=rv64imafdc
in cmake/compile-flags.cmake ?
It works but I'm not shure if there is any consequence.
I'm using the latest toolchain https://github.com/kendryte/kendryte-gnu-toolchain/releases/tag/v8.2.0-20190221
Thank you, all works with that toolchain version.
Make sure you read and understand this document. Use one of the two templates below and delete the rest.
Expected behavior
Expected to build and run without issues.
Actual behavior
Does not build. Does not run with two processors.
Test code
Document version
develop, 8f14b9dae399905ab4f8352cba96c451be5472db
Hardware
Sipeed MAIX-Bit, Dan-Dock
System
Ubuntu 18.04
During build, an error is reported:
This can be solved by changing the line in cmake/compile-flags.cmake to
-march=rv64imafdc
When successfully compiled, only the task on processor 0 is running:
If compiled with master branch, tasks on both processors are running: