|
sensor.h "error: invalid conversion from ..."
Hello,
when I am compiling sensor.h in a cpp file, I have following error 5 times:
/home/.../zephyr/include/sensor.h: In function ‘int sensor_trigger_set(device*,
Hello,
when I am compiling sensor.h in a cpp file, I have following error 5 times:
/home/.../zephyr/include/sensor.h: In function ‘int sensor_trigger_set(device*,
|
By
Paul ADAM <paul.adam@...>
·
#5122
·
|
|
Re: MISRA-C and Zephyr
Hi,
I have one practical question regarding MISRA-C standard. Where I can get the standard as a regular coder? I can buy one for £15 + VAT, but I dont thing that every body want to buy it. Is there
Hi,
I have one practical question regarding MISRA-C standard. Where I can get the standard as a regular coder? I can buy one for £15 + VAT, but I dont thing that every body want to buy it. Is there
|
By
Jiří Kubias <jiri.kubias@...>
·
#5121
·
|
|
Re: MPU fault while testing Bluetooth Mesh Sample demos
Hi,
have you found a solution? Few days ago I have reported similar problem with MPU fault but with Atmel (Microchip) SAME70 chip. It is cased by binding DMA.
dev_cfg->dev_dma =
Hi,
have you found a solution? Few days ago I have reported similar problem with MPU fault but with Atmel (Microchip) SAME70 chip. It is cased by binding DMA.
dev_cfg->dev_dma =
|
By
Jiří Kubias <jiri.kubias@...>
·
#5120
·
|
|
Re: Application specific MBEDTLS configuration
Hi,
Agree, it's worth to fill an issue regarding this.
Regards,
Flavio Ceolin
Hi,
Agree, it's worth to fill an issue regarding this.
Regards,
Flavio Ceolin
|
By
Flavio Ceolin
·
#5119
·
|
|
Re: Application specific MBEDTLS configuration
Hi,
Yes, it indeed works that way. That said I don't consider that as a
solution. The value in the Kconfig file comes from the app's prj.conf
and I don't want to hard-code the path there. I would
Hi,
Yes, it indeed works that way. That said I don't consider that as a
solution. The value in the Kconfig file comes from the app's prj.conf
and I don't want to hard-code the path there. I would
|
By
Aurelien Jarno
·
#5118
·
|
|
Re: MISRA-C and Zephyr
Hi Reto,
Yeah, last time I've checked it was requiring the MISRA-C standard
converted to a pure text. The problem is that we can distribute
MISRA-C. Though, I'll check if the standard is only
Hi Reto,
Yeah, last time I've checked it was requiring the MISRA-C standard
converted to a pure text. The problem is that we can distribute
MISRA-C. Though, I'll check if the standard is only
|
By
Flavio Ceolin
·
#5117
·
|
|
Re: Application specific MBEDTLS configuration
HI Aurelien,
Have you tried to pass the absolute path of your header in
MBEDTLS_CFG_FILE ?
Regards,
Flavio Ceolin
HI Aurelien,
Have you tried to pass the absolute path of your header in
MBEDTLS_CFG_FILE ?
Regards,
Flavio Ceolin
|
By
Flavio Ceolin
·
#5116
·
|
|
Re: MISRA-C and Zephyr
Hi Himanshu,
Agree, we'll never put any compliance claim based on Coccinelle, even
because to this *much likely* we have to use a qualified
tool. Nevertheless, there are rules that we can't even
Hi Himanshu,
Agree, we'll never put any compliance claim based on Coccinelle, even
because to this *much likely* we have to use a qualified
tool. Nevertheless, there are rules that we can't even
|
By
Flavio Ceolin
·
#5115
·
|
|
Application specific MBEDTLS configuration
Hi all,
I have specific needs for my application and I would therefore like to
provide my own mbedtls config file or extend an existing one. The
existing MBEDTLS_CFG_FILE seems to only be able to use
Hi all,
I have specific needs for my application and I would therefore like to
provide my own mbedtls config file or extend an existing one. The
existing MBEDTLS_CFG_FILE seems to only be able to use
|
By
Aurelien Jarno
·
#5114
·
|
|
Re: MISRA-C and Zephyr
Cppcheck has some MISRAC C 2012 checks for a while now [1].
Also, it is quite simple to add such checks to clang-tidy [2]. I am no
longer working in a safety relevant area, so I did not push this
Cppcheck has some MISRAC C 2012 checks for a while now [1].
Also, it is quite simple to add such checks to clang-tidy [2]. I am no
longer working in a safety relevant area, so I did not push this
|
By
reto@...
·
#5113
·
|
|
Re: MISRA-C and Zephyr
Hello Flavio,
Thanks for using Coccinelle for the memset cleanup!
Coccinelle can handle MISRA-C compliance at some extent and it really
depends on the what you wish to accomplish through a
Hello Flavio,
Thanks for using Coccinelle for the memset cleanup!
Coccinelle can handle MISRA-C compliance at some extent and it really
depends on the what you wish to accomplish through a
|
By
Himanshu Jha <himanshujha199640@...>
·
#5112
·
|
|
Re: MISRA-C and Zephyr
Agree, we have to automate it as much as possible. But we can't just wait have all tools ready to start fixing the issues. Currently there are almost 8k violations on kernel. Any tool we setup will
Agree, we have to automate it as much as possible. But we can't just wait have all tools ready to start fixing the issues. Currently there are almost 8k violations on kernel. Any tool we setup will
|
By
Flavio ceolin
·
#5111
·
|
|
Re: MISRA-C and Zephyr
Not support MISRA directly, but I assume we can implement the MISRA checks either by configuring specific rules of cppcheck or implementing our own. If there’s some MISRA checker out there, even
Not support MISRA directly, but I assume we can implement the MISRA checks either by configuring specific rules of cppcheck or implementing our own. If there’s some MISRA checker out there, even
|
By
Kumar Gala
·
#5110
·
|
|
Re: MISRA-C and Zephyr
AFAIK none of the services you list below support MISRA, some do not even support C.
We are looking at https://sonarcloud.io which has an integration with GH.
Anas
AFAIK none of the services you list below support MISRA, some do not even support C.
We are looking at https://sonarcloud.io which has an integration with GH.
Anas
|
By
Nashif, Anas
·
#5109
·
|
|
Re: MISRA-C and Zephyr
Have you looked at various GitHub integration tools that might help check code for MISRA guidelines so we can automate such reviews in the future.
Tools
Have you looked at various GitHub integration tools that might help check code for MISRA guidelines so we can automate such reviews in the future.
Tools
|
By
Kumar Gala
·
#5108
·
|
|
Re: MISRA-C and Zephyr
Hi All,
Making Zephyr MISRA-C compliant would be a huge achievement and a major selling point.
It would also greatly help contributors (who are not yet award of MISRA-C or equivalent standards) to
Hi All,
Making Zephyr MISRA-C compliant would be a huge achievement and a major selling point.
It would also greatly help contributors (who are not yet award of MISRA-C or equivalent standards) to
|
By
Abderrezak Mekkaoui <ab.mekka@...>
·
#5107
·
|
|
MISRA-C and Zephyr
Hi guys,
Recently I start working on Zephyr to be compliant with MISRA-C. I'd
like to give you a brief overview about MISRA-C and why this is valuable
to Zephyr.
MISRA-C is code guideline that
Hi guys,
Recently I start working on Zephyr to be compliant with MISRA-C. I'd
like to give you a brief overview about MISRA-C and why this is valuable
to Zephyr.
MISRA-C is code guideline that
|
By
Flavio Ceolin
·
#5106
·
|
|
Re: [Zephyr-users] nrf52810 basic blinky example not running
Hi Marcio,
Yes, there are several people developing on nRF52810 successfully with Zephyr on custom boards.
I wonder if you could dig a little bit more into it and try to debug it so we have a
Hi Marcio,
Yes, there are several people developing on nRF52810 successfully with Zephyr on custom boards.
I wonder if you could dig a little bit more into it and try to debug it so we have a
|
By
Carles Cufi
·
#5105
·
|
|
[Sensor] [API] Reading multiple values from sensors
Hello,
As I found in documentation and source code, there is an interface to read one (!) value from sensors (sensor_sample_fetch_chan + sensor_channel_get). So my question is
Hello,
As I found in documentation and source code, there is an interface to read one (!) value from sensors (sensor_sample_fetch_chan + sensor_channel_get). So my question is
|
By
paul.adam@...
·
#5104
·
|
|
nrf52810 basic blinky example not running
Hi all,
Is anybody developing for nrf52810 ?
There is no Nordic kit for nrf52810 so I am using a custom board.
The BLE module is CDEBYTE
Hi all,
Is anybody developing for nrf52810 ?
There is no Nordic kit for nrf52810 so I am using a custom board.
The BLE module is CDEBYTE
|
By
Marcio Montenegro
·
#5103
·
|