I am encountering issues while trying to compile a sample application in the Helios SDK. The official guide has proven unhelpful, as it lacks specific information on setting up new applications and troubleshooting common errors. Below is a breakdown of the problem and what I’ve tried so far:
Issue Details
Command Error: Each time I run the command to compile the sample application, I receive the following error:
CommandError: [EARGV]: ‘sample’
Environment Setup:
Working directory: HeliosSDK-master
The sample folder contains sample.c, sample.mk, and user_cfg.mk.
Command Variations: Tried multiple variations of the make command,
python3 main.py make sample
python3 main.py make sample @EC600SCN_LB
python3 main.py make sample EC600SCN_LB
python3 main.py make sample/sample.mk @EC600SCN_LB
**None of these resolved the issue.**
Request
Could you provide guidance on:
- Any specific setup or configuration steps required to make new applications like
samplerecognizable by themain.pyscript? - Confirming if there are additional dependencies or configuration files needed to compile
sampleas an independent application within the SDK?
Additional Information: Compiling the Entire Firmware with Custom Modules
Following the guide’s indication that it’s possible to compile the entire firmware with custom modules, here is my understanding of the necessary steps:
- Prepare Custom Modules:
- Add Custom Modules to SDK Build:
- Configure with
menuconfig: - Compile the Firmware:
HOW?