|
Re: uint32_t typedef differences causes issues
Hi!
Unless you don't want to exclude the possibility to run Zephyr on 8-bit and
16-bit architectures.
Cheers,
Oleg
Hi!
Unless you don't want to exclude the possibility to run Zephyr on 8-bit and
16-bit architectures.
Cheers,
Oleg
|
By
Oliver Hahm <oliver.hahm@...>
·
#4514
·
|
|
Re: uint32_t typedef differences causes issues
Hi Anas,
I'd just like to add to this that while working with Linux and BlueZ
we've used %u extensively for uint8_t, uint16_t and uint32_t without any
issues (I'd think those projects have been run
Hi Anas,
I'd just like to add to this that while working with Linux and BlueZ
we've used %u extensively for uint8_t, uint16_t and uint32_t without any
issues (I'd think those projects have been run
|
By
Johan Hedberg
·
#4513
·
|
|
Re: git describe of v1.5.0-3830-gecd209f
paul.sokolovsky(a)linaro.org> wrote:
<snip>
branch basically.
Anas
paul.sokolovsky(a)linaro.org> wrote:
<snip>
branch basically.
Anas
|
By
Anas Nashif
·
#4512
·
|
|
Re: SSH on Galileo
wrote:
No. Zephyr does not support SSH.
Anas
wrote:
No. Zephyr does not support SSH.
Anas
|
By
Anas Nashif
·
#4511
·
|
|
Re: [RFC] STM32 pinmux - simplify pinmux logic
Hi Christer,
The above pin definition would look like this:
I agree this might be clearer for users. Since pinmux is something users
might
have to play with, the easier to read, the better.
I can
Hi Christer,
The above pin definition would look like this:
I agree this might be clearer for users. Since pinmux is something users
might
have to play with, the easier to read, the better.
I can
|
By
Erwan Gouriou
·
#4510
·
|
|
Re: uint32_t typedef differences causes issues
We will likely find either immediately, or with future additions to
/ext that each blob of third party code does something different:
- Some will use %u for uint32_t
- Some will use %lu for
We will likely find either immediately, or with future additions to
/ext that each blob of third party code does something different:
- Some will use %u for uint32_t
- Some will use %lu for
|
By
Marcus Shawcroft <marcus.shawcroft@...>
·
#4509
·
|
|
Daily JIRA Digest
NEW JIRA items within last 24 hours: 4
[ZEP-1597] no good way to include library code outside of $(PROJECT_BASE)
https://jira.zephyrproject.org/browse/ZEP-1597
[ZEP-1594] 0.9.0 IAMCU compiler
NEW JIRA items within last 24 hours: 4
[ZEP-1597] no good way to include library code outside of $(PROJECT_BASE)
https://jira.zephyrproject.org/browse/ZEP-1597
[ZEP-1594] 0.9.0 IAMCU compiler
|
By
donotreply@...
·
#4508
·
|
|
Re: uint32_t typedef differences causes issues
wrote:
We need to take into consideration 3rd party code that we can't modify, so
while it might work for the kernel code, we will still have issues with 3rd
party code using %u.
Anas
wrote:
We need to take into consideration 3rd party code that we can't modify, so
while it might work for the kernel code, we will still have issues with 3rd
party code using %u.
Anas
|
By
Anas Nashif
·
#4507
·
|
|
Re: uint32_t typedef differences causes issues
Ah, that fixes things.
Now to the question about how uint32_t should be defined ;)
- k
Ah, that fixes things.
Now to the question about how uint32_t should be defined ;)
- k
|
By
Kumar Gala
·
#4506
·
|
|
Re: uint32_t typedef differences causes issues
That would be my fault, my example above is missing:
#include <inttypes.h>
Cheers
/Marcus
That would be my fault, my example above is missing:
#include <inttypes.h>
Cheers
/Marcus
|
By
Marcus Shawcroft <marcus.shawcroft@...>
·
#4504
·
|
|
Daily Gerrit Digest
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/10172 : board: add nucleo_401re board documentation
- https://gerrit.zephyrproject.org/r/10235 : net: nbuf: Fix debug prints for memory
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/10172 : board: add nucleo_401re board documentation
- https://gerrit.zephyrproject.org/r/10235 : net: nbuf: Fix debug prints for memory
|
By
donotreply@...
·
#4505
·
|
|
Re: uint32_t typedef differences causes issues
Not having much luck there, but its possible I’m missing something obvious because of lack of sleep:
In file included from
Not having much luck there, but its possible I’m missing something obvious because of lack of sleep:
In file included from
|
By
Kumar Gala
·
#4502
·
|
|
Re: uint32_t typedef differences causes issues
Hi Marcus,
Does "correct" in this case have any practical significance? It worsens
the readability of the code quite a lot IMO, so if the significance is
purely theoretical it's a quite high price to
Hi Marcus,
Does "correct" in this case have any practical significance? It worsens
the readability of the code quite a lot IMO, so if the significance is
purely theoretical it's a quite high price to
|
By
Johan Hedberg
·
#4501
·
|
|
Re: uint32_t typedef differences causes issues
Thought that myself, but with %u you get:
In file included from
Thought that myself, but with %u you get:
In file included from
|
By
Kumar Gala
·
#4500
·
|
|
Re: uint32_t typedef differences causes issues
Since the type is 'uint32_t' rather than 'unsigned' the correct specifier is:
PRIu32
e.g.
#include <stdint.h>
printf("blah %" PRIu32 " more blah", v);
Cheers
/Marcus
Since the type is 'uint32_t' rather than 'unsigned' the correct specifier is:
PRIu32
e.g.
#include <stdint.h>
printf("blah %" PRIu32 " more blah", v);
Cheers
/Marcus
|
By
Marcus Shawcroft <marcus.shawcroft@...>
·
#4499
·
|
|
Re: uint32_t typedef differences causes issues
Hi Kumar,
The right format specifier for unsigned integers is %u and not %d, so as
far as I see that's the issue and using %u should make the error go
away.
Johan
Hi Kumar,
The right format specifier for unsigned integers is %u and not %d, so as
far as I see that's the issue and using %u should make the error go
away.
Johan
|
By
Johan Hedberg
·
#4498
·
|
|
Re: uint32_t typedef differences causes issues
Hi,
[Second attempt at responding, my arm email address seems to have
triggered a moderator approval, sorry about the duplication for those
of you that got a direct reply.]
This is because the code
Hi,
[Second attempt at responding, my arm email address seems to have
triggered a moderator approval, sorry about the duplication for those
of you that got a direct reply.]
This is because the code
|
By
Marcus Shawcroft <marcus.shawcroft@...>
·
#4497
·
|
|
Re: uint32_t typedef differences causes issues
Hi, This is because the code is using the wrong format specifier, see JIRA-1181
Cheers
/Marcus
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be
Hi, This is because the code is using the wrong format specifier, see JIRA-1181
Cheers
/Marcus
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be
|
By
Marcus Shawcroft <Marcus.Shawcroft@...>
·
#4503
·
|
|
uint32_t typedef differences causes issues
It looks like newlib and our mini libc define uint32_t differently and this causes issues with the printf format warning from gcc. We get things
It looks like newlib and our mini libc define uint32_t differently and this causes issues with the printf format warning from gcc. We get things
|
By
Kumar Gala
·
#4496
·
|
|
Re: Any plan for OTA support?
Hi David,
If I’m not mistaken the Mynewt bootloader includes support for serial “DFU” (more like app image management and transfer). Are you planning to port that as well as part of the mcuboot
Hi David,
If I’m not mistaken the Mynewt bootloader includes support for serial “DFU” (more like app image management and transfer). Are you planning to port that as well as part of the mcuboot
|
By
Carles Cufi
·
#4495
·
|