Knowledge Base Article

Seriallite III example design, Error: "undefined reference to 'main"

Description

When you run the script batch_script.sh on Seriallite_iii example design, you may find this error "undefined reference to `main'".

Resolution

To work around this problem:

Cut the "demo_control.c" file on ./ed_hwtest directory (./ed_hwtest/demo_control.c) and paste it on ./ed_hwtest/software/src/ directory directory (./ed_hwtest/software/src/demo_control.c)

Updated 1 month ago
Version 2.0
No CommentsBe the first to comment