|
[users] Re: Re: Re: Re: Re: STM32F103x port
Question: if they're almost the same, do we really need an extra directory layer, or simply have different files for the parts that differ in the same directory ? That would prevent directory prolifer
Question: if they're almost the same, do we really need an extra directory layer, or simply have different files for the parts that differ in the same directory ? That would prevent directory prolifer
|
By
...
· #2528
·
|
|
Change in coding style.
Folks, Not that big of a change for a lot of people, but I pushed a revision to documentation yesterday that enforces a 8-char tabs/80 column coding style. Basically, this makes our coding style the s
Folks, Not that big of a change for a lot of people, but I pushed a revision to documentation yesterday that enforces a 8-char tabs/80 column coding style. Basically, this makes our coding style the s
|
By
...
· #2517
·
|
|
RFC: Remove dynamic interrupts / exceptions
Hang on on this, I'm cleaning up a GDB server implementation that we want to upstream, and it uses at least dynamic exceptions. I'll see if I can refactor it to use static ones instead.
Hang on on this, I'm cleaning up a GDB server implementation that we want to upstream, and it uses at least dynamic exceptions. I'll see if I can refactor it to use static ones instead.
|
By
...
· #2506
·
|
|
RFC: Use error codes from errno.h
I think -ENOTSUP is a 1-1 match here: ENOTSUP Operation not supported (POSIX.1)
I think -ENOTSUP is a 1-1 match here: ENOTSUP Operation not supported (POSIX.1)
|
By
...
· #2474
·
|
|
[RFC v2] uart: add ISR callback mechanism for UART drivers
Because of the pointer dereference, the check for NULL and the function call ? It's probably OK. And you could turn the check into an __ASSERT() if you want to save a bit or both code space and time.
Because of the pointer dereference, the check for NULL and the function call ? It's probably OK. And you could turn the check into an __ASSERT() if you want to save a bit or both code space and time.
|
By
...
· #2444
·
|
|
RFC[1/2] Common logging infrastructure and API
Maybe it did not come clear in my reply, but what I proposed did not have a global logging level, or rather, the global level is always "OFF". Each subsystem that you want to log has to enable it, wit
Maybe it did not come clear in my reply, but what I proposed did not have a global logging level, or rather, the global level is always "OFF". Each subsystem that you want to log has to enable it, wit
|
By
...
· #2440
·
|
|
STM32F103x port
+1
By
...
· #2438
·
|
|
[RFC] Nanokernel timers rework proposal
I don't think you need this expired flag: delta_ticks_from_prev is either 0 or -1 when the timeout expires (-1 I think). I would prefer if we had a nano_timer object that is a wrapper around a _nano_t
I don't think you need this expired flag: delta_ticks_from_prev is either 0 or -1 when the timeout expires (-1 I think). I would prefer if we had a nano_timer object that is a wrapper around a _nano_t
|
By
...
· #2425
·
|
|
STM32F103x port
I think he got that from scs.h, which uses 'val' and 'bit'. Maybe we should rename 'val' to 'raw' there as well.
I think he got that from scs.h, which uses 'val' and 'bit'. Maybe we should rename 'val' to 'raw' there as well.
|
By
...
· #2371
·
|
|
RFC[1/2] Common logging infrastructure and API
I agree this sounds awkward. Why aren't the component themselves providing a kconfig option that can be tweaked on a per-component basis. e.g. CONFIG_I2C_LOG_LEVEL="DEBUG" CONFIG_PWM_LOG_LEVEL="ERROR"
I agree this sounds awkward. Why aren't the component themselves providing a kconfig option that can be tweaked on a per-component basis. e.g. CONFIG_I2C_LOG_LEVEL="DEBUG" CONFIG_PWM_LOG_LEVEL="ERROR"
|
By
...
· #2368
·
|
|
STM32F103x port
Hi Maciek, Very cool! Cortex-M4 should work as well, since the M4 is a superset of the M3. The first board we supported is the Freescale FRDM-K64F, which is an M4. For M0, you have to do an arch port
Hi Maciek, Very cool! Cortex-M4 should work as well, since the M4 is a superset of the M3. The first board we supported is the Freescale FRDM-K64F, which is an M4. For M0, you have to do an arch port
|
By
...
· #2341
·
|
|
RFC[2/2] Common logging infrastructure and API
Again, do we want to take over _another_ namespace ? Maybe it should be sys_debug or sys_dbg or sys_dbg_log ? The sample implementation is adding all these in logging.h, which is a public API file: DB
Again, do we want to take over _another_ namespace ? Maybe it should be sys_debug or sys_dbg or sys_dbg_log ? The sample implementation is adding all these in logging.h, which is a public API file: DB
|
By
...
· #2333
·
|
|
RFC: make _fiber_start() return a handle on the fiber
Yeah, that would do it: the task has to yield to the fiber somehow, since it will never pend (in a nanokernel context). Hmm, I would counter this with the argument that passing the current fiber conte
Yeah, that would do it: the task has to yield to the fiber somehow, since it will never pend (in a nanokernel context). Hmm, I would counter this with the argument that passing the current fiber conte
|
By
...
· #2318
·
|
|
RFC: make _fiber_start() return a handle on the fiber
Sure.
By
...
· #2278
·
|
|
RFC: make _fiber_start() return a handle on the fiber
We're just returning a thread ID when we start a fiber now, you can ignore it. I don't see an issue here...
We're just returning a thread ID when we start a fiber now, you can ignore it. I don't see an issue here...
|
By
...
· #2276
·
|
|
RFC: make _fiber_start() return a handle on the fiber
Ugh, you're right, it's a nano_thread_id_t.
Ugh, you're right, it's a nano_thread_id_t.
|
By
...
· #2275
·
|
|
RFC: make _fiber_start() return a handle on the fiber
Looks like it. You want to do the implementation yourself Jukka ?
Looks like it. You want to do the implementation yourself Jukka ?
|
By
...
· #2269
·
|
|
RFC: return type of functions passed to DEVICE_INIT()
What I was proposing in my last reply, too keep things simple, is one Kconfig option to enable/disable handling of error codes by init functions. If it's disabled, nothing is handled automatically and
What I was proposing in my last reply, too keep things simple, is one Kconfig option to enable/disable handling of error codes by init functions. If it's disabled, nothing is handled automatically and
|
By
...
· #2268
·
|
|
RFC: return type of functions passed to DEVICE_INIT()
OK, following your proposal below, what we could put in place is standardizing on error codes that init routines must return if they want the kernel init system to automatically trigger a fatal error.
OK, following your proposal below, what we could put in place is standardizing on error codes that init routines must return if they want the kernel init system to automatically trigger a fatal error.
|
By
...
· #2260
·
|
|
compile error for ARM build
Hi Ravi, You probably built for one target, then built for a different one without cleaning up the first build. e.g. $ make <- x86 by default $ make BOARD=qemu_cortex_m3 <- bombs Be default, the outpu
Hi Ravi, You probably built for one target, then built for a different one without cleaning up the first build. e.g. $ make <- x86 by default $ make BOARD=qemu_cortex_m3 <- bombs Be default, the outpu
|
By
...
· #2255
·
|