Added defautl config for nuttx, nuttx now works over usb.

This commit is contained in:
James Goppert
2015-09-10 13:57:54 -04:00
parent f7fe33e6a4
commit 34eeee9fa9
9 changed files with 423 additions and 33 deletions
+12 -11
View File
@@ -210,17 +210,18 @@ static struct sdio_dev_s *sdio;
#include <math.h>
#ifdef __cplusplus
__EXPORT int matherr(struct __exception *e)
{
return 1;
}
#else
__EXPORT int matherr(struct exception *e)
{
return 1;
}
#endif
/* TODO XXX commented this out to get cmake build working */
/*#ifdef __cplusplus*/
/*__EXPORT int matherr(struct __exception *e)*/
/*{*/
/*return 1;*/
/*}*/
/*#else*/
/*__EXPORT int matherr(struct exception *e)*/
/*{*/
/*return 1;*/
/*}*/
/*#endif*/
__EXPORT int nsh_archinitialize(void)
{