[ell-i-developers] Re: Request to compile new SPI library on Linux

  • From: Ivan Raul <supra.material@xxxxxxxxx>
  • To: "ell-i-developers@xxxxxxxxxxxxx" <ell-i-developers@xxxxxxxxxxxxx>
  • Date: Sun, 14 Sep 2014 16:55:12 +0200

Hi, Attached you can find the logs of the building process.

arm-none-eabi-g++ -c -std=c++11 -g -Os --param max-inline-insns-single=500
-Wall -ffunction-sections -fdata-sections -fno-common -nostdlib
-mcpu=cortex-m0 -mthumb -DF_CPU=48000000L -DARDUINO=1.5.4
-DELLI_STM32F051_ELLDUINO -DARDUINO_ARCH_STM32 -fno-rtti -fno-exceptions
-fno-threadsafe-statics -D__STM32F051__ -DSTM32F0XX
-I/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/cores/arduelli
-I/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/system/stm32/inc
-I/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/system/stm32/CMSIS/Include
-I/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/variants/ellduino
-I/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/libraries/SPI/src
-c -o test_SPI_begin.o
/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/tests/test_SPI_begin/test_SPI_begin.cpp
In file included from
/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/tests/test_SPI_begin/test_SPI_begin.cpp:21:0:
/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/libraries/SPI/src/SPI.h:21:24:
fatal error: SPI/spiApi.h: No such file or directory
 #include <SPI/spiApi.h>
                        ^
compilation terminated.
make[4]: *** [test_SPI_begin.o] Error 1
make[4]: Leaving directory
`/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/tests/test_SPI_begin/hardware/ellduino'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/tests/test_SPI_begin'
make[2]: *** [ellduino] Error 2
make[2]: Leaving directory
`/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/tests/test_SPI_begin'
make[1]: *** [hardware] Error 2
make[1]: Leaving directory
`/home/whatever/ell-i/temp/encX24J600-wip/Runtime/stm32/tests/test_SPI_begin'
make: *** [test_SPI_begin] Error 2




With Warm Regards, Ivan Raul

On Sun, Sep 14, 2014 at 4:18 PM, Pekka Nikander <pekka.nikander@xxxxxx>
wrote:

> Folks,
>
> In the process of moving the early ENCX24J600 code to the master, I have
> now pushed updated SPI libraries to the feature-encX24J600-wip branch in
> github:
>
>   https://github.com/Ell-i/Runtime/tree/feature-encX24J600-wip
>
> Please try to compile this on Linux:
>
>   git clone https://github.com/Ell-i/Runtime.git
>   cd Runtime/stm32/build
>   make
>   cd ../tests
>   make
>
> The branch is still lacking proper SPI test cases.  I'm working on them.
>
> I also have internally the CoAP code compiling in this branch, including
> the ENCX24J600 drivers, but that is more work in progress and need to be
> split into multiple libraries before being added to master.  Depending on
> the schedule of others I may just push it in as a big blob into this branch
> and start a new branch or continue working.
>
> For ENCX24J600 testing the feature-coap-temp branch should still be used,
> it has appropriate preliminary test cases.
>
> --Pekka
>
>

Attachment: encX24J600-wip_linux_logs.tar.gz
Description: GNU Zip compressed data

Other related posts: