Hi,

Does anyone know if it's possible to do Ethernet over USB on NuttX on the
Arduino Due? For instance, like Alan Carvalho de Assis discusses in this
Youtube video <https://www.youtube.com/watch?v=8noH8v7xNgs>?

I can get a minimal NuttX installation working without TCP/IP and UDP/IP
networking. But configuring the Arduino Due like Alan says doesn't exactly
work for this board... with some modifications I can get it to almost
compile, but I'm down to this last missing function:

void up_usbinitialize(void)

This only seems present in sam_udp.c, which seems to only be included in
the sam4 boards, not sam3 boards like the Arduino.

Is it possible to get Ethernet over USB working on the Arduino Due (sam3)?
If so, does anyone have any hints on what to do? The sam_udp.c file
implements a USB Device Port. What is that? Would I need to implement one
for the sam3? If so, does anyone know if there is an example for the sam3?

-adam

ps. Here's the end of my compile output for reference in case it helps:

LD: nuttx
arm-none-eabi-ld:
/home/adamf/src/nuttx-arduino-due/nuttx/staging/libarch.a(up_initialize.o):
in function `up_initialize':
/home/adamf/src/nuttx-arduino-due/nuttx/arch/arm/src/common/up_initialize.c:271:
undefined reference to `up_usbinitialize'
make[1]: *** [Makefile:185: nuttx] Error 1
make[1]: Leaving directory
'/home/adamf/src/nuttx-arduino-due/nuttx/arch/arm/src'
make: *** [tools/Makefile.unix:472: pass2] Error 2


-- 
Adam Feuer <a...@adamfeuer.com>

Reply via email to