[ell-i-developers] CoAP testing (was Re: Status report: Also CoAP works in real hardware. Please test.)

  • From: Pekka Nikander <pekka.nikander@xxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Sun, 16 Mar 2014 18:42:03 +0200

> Hi I don't have the POE injector, so I can test only with emulator, I'll grab 
> one POE injector on Wednesday!

You don't need to have a PoE injector, at least my board works nicely with just 
USB power from my laptop.  Though I've heard that apparently some boards don't, 
at least with some USB sockets.  Apple MacBookPros provide quite a lot of juice 
over the USB, that may be a factor.  My testing environment is simply MBP->USB 
cable->programming board->Ellduino<->Ethernet cable<->MBP.

> Got some errors
> stm32/cores/arduelli/Arduino.h:30:29: fatal error: ellduino_serial.h: No such 
> file or directory

Tnx, fixed in my internal sources now but not pushed yet.

> When compíling with PLATFORM=emulator, I got errors:
> g++ -m32 -march=i386 -m32 -demangle -march=i386 -Xlinker -T -Xlinker 
> ../../scripts//elf_i386.xc -o hello_world  main.o hello_world.o ellduino.o 
> --start-group ../../variants/ellduino/libstm32f0.a 
> ../../libraries/CoAP/CoAP.a ../../libraries/SPI/SPI.a  
> ../../libraries/SPI/ellduino_spi.o --end-group  -lstdc++
> g++: error: unrecognized command line option ‘--start-group’
> g++: error: unrecognized command line option ‘--end-group’
> make: *** [hello_world] Error 1

Hmm.  What is your native g++ version?  I guess --start-group and --end-group 
should be -Wl,--start-group and -Wl,--end-group for emulator linking in Linux.


Other related posts: