Re: Setting up RISC-V toolchain for Linux

2018-11-07 Thread Andrey Serdtsev
-essential, libc6-dev but none of them solves the problem. Any idea on what I should do to fix this? Thanks! Best, Peijie On Thu, Nov 1, 2018 at 1:05 AM Andrey Serdtsev mailto:andrey.serdt...@yotadevices.com>> wrote: There is riscv64 package in compiler folder. Why not to

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 dir

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 fo

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 gas

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

Re: [DISCUSS] Release Apache Mynewt 1.3.0-rc1

2017-12-05 Thread Andrey Serdtsev
Hi all, PPP is required to communicate with cellular modem. This is a common task in M2M applications. BR, Andrey On 05.12.2017 00:36, marko kiiskila wrote: On Dec 4, 2017, at 1:28 PM, Fabio Utzig wrote: On Mon, Dec 4, 2017, at 06:37 PM, marko kiiskila wrote: Hi, this questionable fi

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

Re: PWM Driver

2017-07-13 Thread Andrey Serdtsev
Hi Miguel, IMO, there should be a possibility to playback PWM sequences as it supported by nRF52 hardware PMW module. Something like 'int pwm_play(struct pwm_dev *, uint16_t *pwm_sq, uint32_t pmw_sqsz)'. BR, Andrey On 11.07.2017 06:31, Miguel Azevedo wrote: Hi, I am currently developing a