06-25-2020 01:45 AM
I found an article on digikey that stated "Bosch Sensortec provides the BSEC as a binary distribution for major instruction set architectures including... Renesas RL78 MCUs" but have not be able to find a library that works.
Thanks
Solved! Go to Solution.
06-26-2020 02:03 PM
BSEC doesn't support the RL78 in the standard package. You can find the list of platforms and compilers supported by default on the BSEC page on our website.
To check if we could support non-default platform, we generally need to know at least the complete MCU part number (this is helpful to check RAM/FLASH memory requirements) and complete Compiler name and version (to check availability, dependencies support, restrictions, ...). Optionally if the platform can actually be supported, we may need your project-specific requirements (e.g. compiler/linker flags, etc.).
06-26-2020 07:26 PM
Thanks for the reply. I noticed there was an BME680/RL78 reference design from Golden Technology Corporation listed on the Bosch website (https://www.bosch-sensortec.com/software-tools/tools/reference-designs/#mikroelektronika) using the R5F1007EANA#U0 MCU.
I am currently testing using the RL78/G14 fast prototyping board with the R5F104MLA MCU with 48KB RAM and 512KB Flash.
As for compilers I am current using IAR Embedded Workbench for RL78 version 4.20.1 but I am open to moving to any version of E2Studio if need (I currently have 7.8.0 installed)
06-29-2020 08:08 AM
If possible, please leave the compling command for your platform. then we will evalute if we are able to porting our BSEC on your MCU platform.
06-30-2020 07:35 PM
Vincent,
I am not certain if this is correct information you are looking for, I set up a quick test project in E2Studio...
make -j16 all
'rl78-elf-gcc -O0 -ffunction-sections -fdata-sections -g2 -Wstack-usage=40 -mg14 -I"C:/test/generate" -Wa,-adlnh="r_cg_cgc.lst" -MMD -MP -MF"src/r_cg_cgc.d" -MT"src/r_cg_cgc.o" "../src/r_cg_cgc.c" -c -o "src/r_cg_cgc.o"'
'rl78-elf-gcc -O0 -ffunction-sections -fdata-sections -g2 -Wstack-usage=40 -mg14 -I"C:/test/generate" -Wa,-adlnh="r_cg_cgc_user.lst" -MMD -MP -MF"src/r_cg_cgc_user.d" -MT"src/r_cg_cgc_user.o" "../src/r_cg_cgc_user.c" -c -o "src/r_cg_cgc_user.o"'
I primarily use IAR where I generally don't have visibiliy to the compile commands.
Thanks,
Kurt