11-18-2020 10:48 AM
Hello!
I am a university student in an area of the US that has been affected by intense smoke during the wildfires this year and we are trying to create an environmental monitor based on the BME680 for our embedded systems course. Our requirements are to implement this on a Raspberry Pi Model A+ (an ARM1176JFZ-S processor which is based on the ARMv6) using bare-metal programming. My current cross-compilation toolchain is using arm-none-eabi-gcc version 4.9.3. Would it be possible to get a static library file for BSEC compiled with arm-none-eabi-gcc? Also, I could use pointers on whether the Lite or normal version is more appropriate for just getting the AQI index in integer mode.
Thank you for the help!
Kevin
11-19-2020 07:07 AM - edited 11-19-2020 07:09 AM
Hi KevinOran:
Could you offer your platform information compiling informaiton?
Please see the follow picture, and fill out this checklist.
According to these information, the related lib file can be compiled.
11-19-2020 11:29 AM
Hi Jet,
Thank you for your response. Here is my information:
Item | My Info |
BSEC Version | BSEC 1.4.8.0 |
Compiler | arm-none-eabi-gcc - version 4.9.3 |
Compiling Command: (provided for the bme680 driver) | arm-none-eabi-gcc -Iinclude -I<includepath> -Og -g -Wall -std=c99 -ffreestanding -Isrc/lib/bme680_driver -mapcs-frame -fno-omit-frame-pointer -mpoke-function-name -Wpointer-arith -c src/lib/bme680_driver/bme680.c -o build/obj/bme680.o |
Linking Flags: | LDFLAGS = -nostdlib -T src/boot/memmap -L<our lib directory> |
IDE | None. |
MCU Type | Raspberry Pi A+: Broadcom BCM2835 chip, with an ARM1176JFZ-S processor based on the ARMv6 architecture. |
Of note is that our project doesn't have stdlib, but we can look at including implementations of what is needed by llibalgobsec.a. Thanks again for your help.
Kevin
11-23-2020 02:39 AM
Hi Sir:
I applied for the new BESC lib you need, if available, I will share it to you.Please be patient, thank you.
11-26-2020 03:28 AM - edited 11-26-2020 04:33 AM
Hi Sir:
I check the generic release besc lib, BSEC_1.4.7.4_Generic_Release, RaspberryPI option is available, include PiThree_ArmV8-a-64bits and PiZero_ArmV6-32bits.
Did you try them on your platform?
Look forward to your feedback.