embedded-sec / benchiot Goto Github PK
View Code? Open in Web Editor NEWSecurity benchmarks for the Internet of Things
License: Apache License 2.0
Security benchmarks for the Internet of Things
License: Apache License 2.0
Hi, @nalmakhd
I am trying to build some IoT firmware on X86. Can this benchmark be built by LLVM with LTO support? No need to run, just build.
Thanks!
I am having trouble building the benchmarks. Here are the issues I ran into:
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.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:
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.