Closed DagAgren closed 2 years ago
Hi @DagAgren ,thanks for your reporting. We are not expecting the user to directly include the core_feature_xxx.h
header file,instead, we expected to include <Device>.h
to take that header file included, if this feature is requried, we will consider to improve it in future release
changes have been made in commit f73165a61e20a25d80785caad3b594d5d1c48517.
Just fixed when you include core_feature_xxx.h
directly, the compiler will not complain. But you still should use nuclei_sdk_hal.h
in nuclei_sdk.
For instance,
core_feature_eclic.h
uses therv_csr_t
type which is defined incore_feature_base.h
, but it does not#include
it. This means that the header does not work if it is included on its own, and even if you include both headers, the order in which you do so matters.Headers should
#include
whatever other headers they need.