|
Re: uint32_t typedef differences causes issues
I don't have any problem with changing minimal libc to have the same definitions as newlib.
I can't say one way or another whether we will end up supporting 16-bit targets but I think we should do
I don't have any problem with changing minimal libc to have the same definitions as newlib.
I can't say one way or another whether we will end up supporting 16-bit targets but I think we should do
|
By
Boie, Andrew P
·
#4546
·
|
|
Re: uint32_t typedef differences causes issues
There is a difference between strictly being compliant and doing what
makes things easier for the users. I would gather that most users
would expect a uint32_t to be printable with %d, and we have a
There is a difference between strictly being compliant and doing what
makes things easier for the users. I would gather that most users
would expect a uint32_t to be printable with %d, and we have a
|
By
David Brown
·
#4545
·
|
|
Re: Suggestions for getting started
I’d start with a basic board port and get serial going. From there we can see what makes sense w/regards to I2C & SPI drivers.
- k
I’d start with a basic board port and get serial going. From there we can see what makes sense w/regards to I2C & SPI drivers.
- k
|
By
Kumar Gala
·
#4544
·
|
|
Re: Suggestions for getting started
Hi Kumar,
Waiting for your response !!
Thanks,
Abhinav
Hi Kumar,
Waiting for your response !!
Thanks,
Abhinav
|
By
Abhinav Misra
·
#4543
·
|
|
Re: uint32_t typedef differences causes issues
How easily can we feed different -W options to the /ext part of the
tree, or is that painful ?
Cheers
/Marcus
How easily can we feed different -W options to the /ext part of the
tree, or is that painful ?
Cheers
/Marcus
|
By
Marcus Shawcroft <marcus.shawcroft@...>
·
#4542
·
|
|
Re: uint32_t typedef differences causes issues
I turned on -Wformat, and fixed a great deal of malfeasance across the codebase. I would be strongly opposed to disabling this warning.
It's a warning. The code still compiles for end users. We only
I turned on -Wformat, and fixed a great deal of malfeasance across the codebase. I would be strongly opposed to disabling this warning.
It's a warning. The code still compiles for end users. We only
|
By
Boie, Andrew P
·
#4541
·
|
|
Re: uint32_t typedef differences causes issues
I don't think there's anything wrong with newlib. The only requirement
on the C library is that uint32_t is 32-bits wide (i.e. no padding) and
the newlib implementation meets this
I don't think there's anything wrong with newlib. The only requirement
on the C library is that uint32_t is 32-bits wide (i.e. no padding) and
the newlib implementation meets this
|
By
Daniel Thompson <daniel.thompson@...>
·
#4540
·
|
|
Re: [tsc] Re: why zephyer os did not support RR-Schedule policy between same priority task?
Moving this to the devel@ mailing list.
The relevant jira: https://jira.zephyrproject.org/browse/ZEP-948
Anas
Moving this to the devel@ mailing list.
The relevant jira: https://jira.zephyrproject.org/browse/ZEP-948
Anas
|
By
Nashif, Anas
·
#4539
·
|
|
Re: uint32_t typedef differences causes issues
Any secure coding guideline will tell you to enable this in addition to
other options (-Wformat -Wformat-security -Werror=format-security), we are
working on such a guideline right now, so my
Any secure coding guideline will tell you to enable this in addition to
other options (-Wformat -Wformat-security -Werror=format-security), we are
working on such a guideline right now, so my
|
By
Anas Nashif
·
#4538
·
|
|
Re: uint32_t typedef differences causes issues
If i recall correctly -Wformat also affects scanf() checks. It would
be bad to leave these calls unchecked.
--
Maciek Borzecki
If i recall correctly -Wformat also affects scanf() checks. It would
be bad to leave these calls unchecked.
--
Maciek Borzecki
|
By
Maciek Borzecki <maciek.borzecki@...>
·
#4537
·
|
|
Re: uint32_t typedef differences causes issues
I think it'd be better to fix things like this. Although it sometimes
has problems, -Wformat also catches a lot of things that are indeed
wrong. It isn't always going to be possible to make it
I think it'd be better to fix things like this. Although it sometimes
has problems, -Wformat also catches a lot of things that are indeed
wrong. It isn't always going to be possible to make it
|
By
David Brown
·
#4536
·
|
|
Re: uint32_t typedef differences causes issues
We could also always turn off -Wformat.
- k
We could also always turn off -Wformat.
- k
|
By
Kumar Gala
·
#4535
·
|
|
Daily JIRA Digest
NEW JIRA items within last 24 hours: 2
[ZEP-1599] printk() support for the '-' indicator in format string (left justifier)
https://jira.zephyrproject.org/browse/ZEP-1599
[ZEP-1600] Quark Se
NEW JIRA items within last 24 hours: 2
[ZEP-1599] printk() support for the '-' indicator in format string (left justifier)
https://jira.zephyrproject.org/browse/ZEP-1599
[ZEP-1600] Quark Se
|
By
donotreply@...
·
#4534
·
|
|
Daily Gerrit Digest
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/10273 : Bluetooth: L2CAP: Only set state for dynamic channels
- https://gerrit.zephyrproject.org/r/10272 : Merge net branch into
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/10273 : Bluetooth: L2CAP: Only set state for dynamic channels
- https://gerrit.zephyrproject.org/r/10272 : Merge net branch into
|
By
donotreply@...
·
#4532
·
|
|
Re: Networking-with-Qemu wiki page updated
Paul,
Thank you for the update.
Maybe it makes sense to move this to the source tree and have it as part of
the documentation alongside the samples. This way the information for older
versions will
Paul,
Thank you for the update.
Maybe it makes sense to move this to the source tree and have it as part of
the documentation alongside the samples. This way the information for older
versions will
|
By
Anas Nashif
·
#4531
·
|
|
Networking-with-Qemu wiki page updated
Hello,
This is just a background notice that the page
https://wiki.zephyrproject.org/view/Networking-with-Qemu , which
previously contained information for 1.6 and earlier, was updated for
the master
Hello,
This is just a background notice that the page
https://wiki.zephyrproject.org/view/Networking-with-Qemu , which
previously contained information for 1.6 and earlier, was updated for
the master
|
By
Paul Sokolovsky
·
#4530
·
|
|
Re: uint32_t typedef differences causes issues
The de facto standard is unfortunately that %d and %u print integers up
to and including an uint32_t. Enforcing these to be expressed as PRIu32
in Zephyr will be less portable for external and
The de facto standard is unfortunately that %d and %u print integers up
to and including an uint32_t. Enforcing these to be expressed as PRIu32
in Zephyr will be less portable for external and
|
By
Patrik Flykt <Patrik.Flykt@...>
·
#4533
·
|
|
Re: [USB] composite device
Thank you, Joseph.
By
Alexey Belyaev <BeliaevAV@...>
·
#4529
·
|
|
Re: uint32_t typedef differences causes issues
Hi,
A bit off topic, but could someone shed some light on why Zephyr has
support for two libc implementations?
ie Why not just always use newlib ?
--
BR
Szymon Janc
Hi,
A bit off topic, but could someone shed some light on why Zephyr has
support for two libc implementations?
ie Why not just always use newlib ?
--
BR
Szymon Janc
|
By
Szymon Janc <ext.szymon.janc@...>
·
#4528
·
|
|
Re: uint32_t typedef differences causes issues
marcus.shawcroft(a)gmail.com> wrote:
That sounds reasonable to me. Change minimal libc to align with newlib and
apply 2, the question is if we want to enforce usage of PRI macros.
Anas
marcus.shawcroft(a)gmail.com> wrote:
That sounds reasonable to me. Change minimal libc to align with newlib and
apply 2, the question is if we want to enforce usage of PRI macros.
Anas
|
By
Anas Nashif
·
#4527
·
|