|
Re: Logging with a string via %s
On Fri, May 17, 2019 at 04:24 PM, Boie, Andrew P wrote:
For an operating system that aims to support various functional safety certifications, asynchronous rendering of %s is a terrible idea.
It
On Fri, May 17, 2019 at 04:24 PM, Boie, Andrew P wrote:
For an operating system that aims to support various functional safety certifications, asynchronous rendering of %s is a terrible idea.
It
|
By
pawel.dunaj@...
·
#5984
·
|
|
Re: Logging with a string via %s
Hello,
"lairdjm" <jamie.mccrae@...> wrote:
Opinions vary on that matter, some people think that the logging was
actually "regressed" and not "improved". Literally, it became
Hello,
"lairdjm" <jamie.mccrae@...> wrote:
Opinions vary on that matter, some people think that the logging was
actually "regressed" and not "improved". Literally, it became
|
By
Paul Sokolovsky
·
#5983
·
|
|
Re: Logging with a string via %s
Hello,
"Boie, Andrew P" <andrew.p.boie@...> wrote:
Some people think that asynchronous logging, forced on unsuspecting
users, is pretty bad idea and make bets when CONFIG_LOG_IMMEDIATE
Hello,
"Boie, Andrew P" <andrew.p.boie@...> wrote:
Some people think that asynchronous logging, forced on unsuspecting
users, is pretty bad idea and make bets when CONFIG_LOG_IMMEDIATE
|
By
Paul Sokolovsky
·
#5982
·
|
|
Re: Logging with a string via %s
Such a "sharp tool" should at least not look exactly like the slow but safe version used absolutely everywhere else.
http://www.catb.org/~esr/writings/taouu/html/ch01s03.html#rule-surprise
On the
Such a "sharp tool" should at least not look exactly like the slow but safe version used absolutely everywhere else.
http://www.catb.org/~esr/writings/taouu/html/ch01s03.html#rule-surprise
On the
|
By
Marc Herbert
·
#5981
·
|
|
Re: Logging with a string via %s
Hi,
I think what confused me is that I was reading about the ‘improved logging’ from this guide:https://foundries.io/insights/2018/08/14/zephyr-logging-part-2/ which doesn’t mention anything
Hi,
I think what confused me is that I was reading about the ‘improved logging’ from this guide:https://foundries.io/insights/2018/08/14/zephyr-logging-part-2/ which doesn’t mention anything
|
By
lairdjm
·
#5980
·
|
|
Re: Logging with a string via %s
For an operating system that aims to support various functional safety certifications, asynchronous rendering of %s is a terrible idea.
I think %s capability should be dropped from the logger’s
For an operating system that aims to support various functional safety certifications, asynchronous rendering of %s is a terrible idea.
I think %s capability should be dropped from the logger’s
|
By
Boie, Andrew P
·
#5979
·
|
|
Re: Logging with a string via %s
Hi,
To optimize time of log processing message construction is deferred. For this reason you cannot use arrays that will not live long enough for logger thread to see them.
In other words you can
Hi,
To optimize time of log processing message construction is deferred. For this reason you cannot use arrays that will not live long enough for logger thread to see them.
In other words you can
|
By
pawel.dunaj@...
·
#5978
·
|
|
Re: [NRF52840] GPIO 1 problem
Hi,
NRF_GPIO_PIN_MAP will effectively change pin number from 6 to (32+6). This would be ok if you use nrfx but when you use Zephyr GPIO API you should use pin id as is. So you should write to
Hi,
NRF_GPIO_PIN_MAP will effectively change pin number from 6 to (32+6). This would be ok if you use nrfx but when you use Zephyr GPIO API you should use pin id as is. So you should write to
|
By
pawel.dunaj@...
·
#5977
·
|
|
Upcoming Event: Zephyr Project: Dev Meeting - Thu, 05/16/2019 8:00am-9:00am, Please RSVP
#cal-reminder
Reminder: Zephyr Project: Dev Meeting
When: Thursday, 16 May 2019, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/993312203
An RSVP is requested. Click here to
Reminder: Zephyr Project: Dev Meeting
When: Thursday, 16 May 2019, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/993312203
An RSVP is requested. Click here to
|
By
devel@lists.zephyrproject.org Calendar <devel@...>
·
#5976
·
|
|
[NRF52840] GPIO 1 problem
Hi,
I'm trying to write a value to a GPIO port 1 on a custom board and to pca_10056 and I'm getting nothing on the output. On GPIO port 0 it works properly. My code has no secrets, I'm using blinky
Hi,
I'm trying to write a value to a GPIO port 1 on a custom board and to pca_10056 and I'm getting nothing on the output. On GPIO port 0 it works properly. My code has no secrets, I'm using blinky
|
By
Felipe Gabardo Gonçalves <felipe@...>
·
#5975
·
|
|
Re: Logging with a string via %s
Hi,
There’s also a log_strdup() API to deal with this issue.
Johan
Hi,
There’s also a log_strdup() API to deal with this issue.
Johan
|
By
Johan Hedberg
·
#5974
·
|
|
Re: Logging with a string via %s
Hi Stefan,
Brilliant, didn’t think of that, all working now, thank you.
Thanks,
Jamie
From: devel@... <devel@...> On Behalf Of Stefan Jaritz via Lists.Zephyrproject.Org
Sent: 15 May 2019
Hi Stefan,
Brilliant, didn’t think of that, all working now, thank you.
Thanks,
Jamie
From: devel@... <devel@...> On Behalf Of Stefan Jaritz via Lists.Zephyrproject.Org
Sent: 15 May 2019
|
By
lairdjm
·
#5973
·
|
|
Re: Logging with a string via %s
Hey Lairdjm,
Depending on you logging setup, the log of the string is done inside the "LOG_DBG" command or later.
Later means, that your main function was already left
Hey Lairdjm,
Depending on you logging setup, the log of the string is done inside the "LOG_DBG" command or later.
Later means, that your main function was already left
|
By
Stefan Jaritz
·
#5972
·
|
|
Re: Logging with a string via %s
> sprintf(baTmpBuf, "%s", "ffffffff");?
Using that works fine, it just doesn’t like it when a variable is used.
THIS MESSAGE, ANY ATTACHMENT(S), AND THE INFORMATION CONTAINED HEREIN MAY BE
> sprintf(baTmpBuf, "%s", "ffffffff");?
Using that works fine, it just doesn’t like it when a variable is used.
THIS MESSAGE, ANY ATTACHMENT(S), AND THE INFORMATION CONTAINED HEREIN MAY BE
|
By
lairdjm
·
#5971
·
|
|
Re: Logging with a string via %s
sprintf(baTmpBuf, "%s", "ffffffff"); ?
---Original---
From: "lairdjm"<jamie.mccrae@...>
Date: Wed, May 15, 2019 18:52 PM
To: "devel@..."<devel@...>;
Subject: [Zephyr-devel] Logging with a string
sprintf(baTmpBuf, "%s", "ffffffff"); ?
---Original---
From: "lairdjm"<jamie.mccrae@...>
Date: Wed, May 15, 2019 18:52 PM
To: "devel@..."<devel@...>;
Subject: [Zephyr-devel] Logging with a string
|
By
"K.I.R.A.
·
#5970
·
|
|
Logging with a string via %s
Hi,
I’m seeing an issue whereby I am unable to log strings using LOG_DBG() and %s format, for a quick example I modified the hello world sample to enable logging and change the code to
Hi,
I’m seeing an issue whereby I am unable to log strings using LOG_DBG() and %s format, for a quick example I modified the hello world sample to enable logging and change the code to
|
By
lairdjm
·
#5969
·
|
|
Re: #ble Refresh advertising data after disconnect
#ble
Hi Robert,
You could try using BT_LE_ADV_OPT_ONE_TIME with bt_le_adv_start(). That should ensure that the stack doesn’t automatically restart advertising after a disconnection event.
Johan
Hi Robert,
You could try using BT_LE_ADV_OPT_ONE_TIME with bt_le_adv_start(). That should ensure that the stack doesn’t automatically restart advertising after a disconnection event.
Johan
|
By
Johan Hedberg
·
#5968
·
|
|
Upcoming Event: Zephyr Project: APIs - Tue, 05/14/2019 9:00am-10:00am, Please RSVP
#cal-reminder
Reminder: Zephyr Project: APIs
When: Tuesday, 14 May 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/177647878
An RSVP is requested. Click here to
Reminder: Zephyr Project: APIs
When: Tuesday, 14 May 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/177647878
An RSVP is requested. Click here to
|
By
devel@lists.zephyrproject.org Calendar <devel@...>
·
#5967
·
|
|
#ble Refresh advertising data after disconnect
#ble
In disconnect callback event I was try to update advertising data but function "bt_le_adv_update_data" return with -11 (error code).
As I understand BLE stack start to advwrise after disconnect
In disconnect callback event I was try to update advertising data but function "bt_le_adv_update_data" return with -11 (error code).
As I understand BLE stack start to advwrise after disconnect
|
By
robert.konc@...
·
#5966
·
|
|
Re: [Zephyr Main] WEST File Initialization Problem
Thank you for your help. I have successfully installed Zephyr.
Now basically i want to do project in Zephyr and will use ReNode for simulation purposes. As i am quite new in this area. I have already
Thank you for your help. I have successfully installed Zephyr.
Now basically i want to do project in Zephyr and will use ReNode for simulation purposes. As i am quite new in this area. I have already
|
By
M Rizwan Ghori <rizwanghori@...>
·
#5965
·
|