|
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
·
|
|
Re: MPU fault while testing Bluetooth Mesh Sample demos
Hi
By
vikrant8051 <vikrant8051@...>
·
#5102
·
|
|
Re: MPU fault while testing Bluetooth Mesh Sample demos
Hi there,
Did you run addr2line in0x20001c5c?
Have you tried increasing stack sizes?
Carles
Hi there,
Did you run addr2line in0x20001c5c?
Have you tried increasing stack sizes?
Carles
|
By
Carles Cufi
·
#5101
·
|
|
Re: MPU fault while testing Bluetooth Mesh Sample demos
Hi,
FYI,
With v1.12.99 I'm mot facing any MPU FAULT issue (while testing for #onoff_level_lighting_vnd_app)
It has last commit -> ba6763a187a347cfc825a2bece78e7d1ef28772d
That means something after
Hi,
FYI,
With v1.12.99 I'm mot facing any MPU FAULT issue (while testing for #onoff_level_lighting_vnd_app)
It has last commit -> ba6763a187a347cfc825a2bece78e7d1ef28772d
That means something after
|
By
vikrant8051 <vikrant8051@...>
·
#5100
·
|
|
Moving SOC definitions to ZEPHYR_BASE/soc
Hi,
We have just merged PR https://github.com/zephyrproject-rtos/zephyr/pull/9776 which moves SOC definitions out of the arch/ directory to the top level to be side by side with boards,
Hi,
We have just merged PR https://github.com/zephyrproject-rtos/zephyr/pull/9776 which moves SOC definitions out of the arch/ directory to the top level to be side by side with boards,
|
By
Nashif, Anas
·
#5099
·
|
|
How to add GPS / location in Zephyr?
Hi,
I'm working on a project in Zephyr that will use GPS to get the location of a device.
Until now the GPS data has been fethed using serial drivers directly, but we're looking into the
Hi,
I'm working on a project in Zephyr that will use GPS to get the location of a device.
Until now the GPS data has been fethed using serial drivers directly, but we're looking into the
|
By
jantore.guggedal@...
·
#5098
·
|
|
Re: I2C cmake errors (v1.13 and v1.12) ?
#nrf52832
Never mind.. found this fantastic youtube video in the `Enable SPI driver` thread that helped solve the issue: https://youtu.be/vioi4OsmB_U
-Gurpreet
Never mind.. found this fantastic youtube video in the `Enable SPI driver` thread that helped solve the issue: https://youtu.be/vioi4OsmB_U
-Gurpreet
|
By
gurpreet+zephy@...
·
#5097
·
|
|
I2C cmake errors (v1.13 and v1.12) ?
#nrf52832
Hi All,
I'm trying to build the I2C sample programs or those that use I2C for the nrf52, but keep seeing the following error.
Is there something I need to do to enable using I2C from the chip? I
Hi All,
I'm trying to build the I2C sample programs or those that use I2C for the nrf52, but keep seeing the following error.
Is there something I need to do to enable using I2C from the chip? I
|
By
gurpreet+zephy@...
·
#5096
·
|