Here are some errors:
Code: Select all
In file included from C:/nburn/nbrtos/include/file/port_s.h:34,
from C:/nburn/nbrtos/include/file/fsm.h:34,
from C:/nburn/nbrtos/include/file/fsf.h:59,
from C:/nburn/nbrtos/include/file/flashdrv.h:34,
from ../src/DMH_SNMP_INC/DMH_SNMP/nb-filesystem-ctc.h:91,
from ../src/DMH_SNMP_INC/DMH_SNMP/sn-flash-sysgroup-nb.c:53:
C:/nburn/nbrtos/include/file/udefs.h:35:8: error: expected identifier or '(' before string constant
extern "C++"
^~~~~
In file included from C:/nburn/nbrtos/include/file/port_s.h:34,
from C:/nburn/nbrtos/include/file/fsm.h:34,
from C:/nburn/nbrtos/include/file/fsf.h:59,
from C:/nburn/nbrtos/include/file/flashdrv.h:34,
from ../src/DMH_SNMP_INC/DMH_SNMP/nb-filesystem-ctc.h:91,
from ../src/DMH_SNMP_INC/DMH_SNMP/sn-flash-sysgroup-nb.c:53:
C:/nburn/nbrtos/include/file/udefs.h:75:23: error: unknown type name 'OS_CRIT'
#define FS_MUTEX_TYPE OS_CRIT
^~~~~~~
C:/nburn/nbrtos/include/file/port_s.h:51:29: note: in expansion of macro 'FS_MUTEX_TYPE'
extern int fs_mutex_get(FS_MUTEX_TYPE *);
^~~~~~~~~~~~~
Edit:
It occurred to me that DMH SNMP, SSL Cert & Keys, and the module configuration structure used with v3.x tools all use the module's flash via the fs_* file system. Could the SNMP configuration be clashing with the other users of the flash?