Re: Setting up RISC-V toolchain for Linux

2018-11-01 Thread Andrey Serdtsev
There is riscv64 package in compiler folder. Why not to try it? Just change 'bsp.compiler' value in your bsp.yml. On 01.11.2018 3:30, PEIJIE LI wrote: > Hi, > I am trying to set up RISC-V as the toolchain on a Linux system. But I > am getting an error saying "sys/mman.h: No such file or

Re: SENSOR_TYPE definition for a gas sensor

2018-07-19 Thread Andrey Serdtsev
Extending ppb to uint64_t definitely doesn't make sense since maximum value for it is 10^6, which is 32bit value. Sincerely yours, CO :) BR, Andrey On 19.07.2018 18:41, Kevin Townsend wrote: Thanks for your comments @Kevin and @Andrey. I think for the BME680, I'll stick with USER_DEFINED

Re: SENSOR_TYPE definition for a gas sensor

2018-07-19 Thread Andrey Serdtsev
Hi all, Suggest to look at CCS811 digital gas sensor. It outputs two parameters: eCO2 (equivalent CO2, in units of ppm) and TVOC (total volatile organic compound, in units of ppb). IMO, this is a good starting point. BR, Andrey On 19.07.2018 17:18, Kevin Townsend wrote: Hi Amr, I think

Re: linking woes with weak linkage

2018-05-16 Thread Andrey Serdtsev
Hi, Since every mynewt package built as standalone library, possibly this is the case: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15833.html Anyway, IMO, it would be better to avoid use of weak linkage. It's a bit confusing. May be the better choice is to add some kind

newt fails to recognize RSA private key

2017-07-25 Thread Andrey Serdtsev
Hi all, apache-mynewt-core/boot/bootutil/signed_images.md suggest to use 'openssl genrsa -out image_sign.pem 2048' for generating RSA keypair. When signing with this key, everything is fine: $ newt create-image my-app 1.0.0.0 image_sign.pem ... App image succesfully generated: .../my-app.img