Giter VIP home page Giter VIP logo

benchiot's People

Contributors

ghsecuritylab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

benchiot's Issues

build errors

I am having trouble building the benchmarks. Here are the issues I ran into:

  • When creating makefile for benchmarks, I used mbed export -m EVAL_F469NI -i GCC_ARM --profile iot2_debug command from the README, but mbed threw error: ImportError: cannot import name epoxy. I had to remove epoxy and scfi from import to generate the Makefile.
  • After Makefile was generated, I used make -j4 BOARD=EVAL_F469NI IOT2_ALL=1 CUSTOM_BIN_SUFFIX=--baseline iot2benchmark command from the README to build benchmark. However, I got this error from the compiler: /home/user1/projects/BenchIoT/BenchIoT/lib/IoT2/IoT2Lib.c: In function 'iot2SVCHandler': /home/user1/projects/BenchIoT/BenchIoT/lib/IoT2/IoT2Lib.c:691:5: error: missing ')' in expression #if ((IoT2_OS_BENCHMARKS == 0 ) make[1]: *** [/home/user1/projects/BenchIoT/BenchIoT/benchmarks/mbed-benchmarks/bootloader/Makefile:646: IoT2/IoT2Lib.o] Error . I removed the left parenthesis and was able to compile, but the linker failed with a lot of multiple definition of function errors.

Here is my platform:

  • Ubuntu 19.04
  • arm-none-eabi-gcc 7.3.1
  • mbed-cli 1.10.0
  • Python 2.7.16

I also tried using changing mbed build type to sw4stm32 and importing the benchmark to System Workbench (Eclipse). However, the Eclipse project is missing a lot of includes, and I believe it is not building IoT2 library.

Finally, I would like to know how to add support for other boards. I am currently using DISCO_L475VG_IOT01A, and the HAL library of this board doesn't seem to have eth related source files. This board does not have ethernet support but does have Wi-Fi.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.