03-08-2021, 01:37 PM
Hello,
I am trying to compile GPIO test without pulp specific instructions.
https://github.com/pulp-platform/pulp-rt...put/test.c
I modified the make file as follows:
failed with following errors:
Any suggestion if it is possible use API without pulp specific instructions? or any work around ?
Thank you..
Br, naprpo
I am trying to compile GPIO test without pulp specific instructions.
https://github.com/pulp-platform/pulp-rt...put/test.c
I modified the make file as follows:
Code:
PULP_APP = test
PULP_APP_FC_SRCS = test.c
PULP_CFLAGS = -O3 -g
PULP_FC_ARCH_CFLAGS = -march=rv32imc
include $(PULP_SDK_HOME)/install/rules/pulp_rt.mk
failed with following errors:
Code:
pulpissimo/pulp-rt-examples/gpio/input/build/pulpissimo/test/fc/test.o: In function `rt_gpio_set_dir':
pulpissimo/pulp-rt-examples/gpio/input/test.c:13: undefined reference to `__builtin_pulp_OffsetedRead'
pulpissimo/pulp-rt-examples/gpio/input/test.c:13: undefined reference to `__builtin_pulp_OffsetedWrite'
pulpissimo/pulp-rt-examples/gpio/input/test.c:13: undefined reference to `__builtin_pulp_OffsetedRead'
pulpissimo/pulp-rt-examples/gpio/input/test.c:13: undefined reference to `__builtin_pulp_OffsetedWrite'
pulpissimo/pulp-rt-examples/gpio/input/build/pulpissimo/test/fc/test.o: In function `main':
pulpissimo/pulp-rt-examples/gpio/input/test.c:13: undefined reference to `__builtin_pulp_OffsetedRead' collect2: error: ld returned 1 exit status
Any suggestion if it is possible use API without pulp specific instructions? or any work around ?
Thank you..
Br, naprpo