Skip to content

Zephyr plugin hello world example CONFIG_BOARD could not be resolved  #47

@hasikp1

Description

@hasikp1

Hello,
When I try to create the project I get the following error for the hello world example.

Symbol 'CONFIG_BOARD' could not be resolved

When I build the project I get

Errors occurred during the build.
Errors running builder 'Zephyr Application Builder' on project 'test'.
java.lang.NullPointerException

How to fix it? Code is as below

#include <zephyr.h>
#include <sys/printk.h>

void main(void)
{
	printk("Hello World! %s\n", CONFIG_BOARD);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions