RE: stm32f7 CONFIG_RAM understanding

2020-08-04 Thread David Sidrane
Both are not used in the source. I would assume it is a legacy C from the F4, that should be removed. *From:* Oleg Evseev [mailto:ev.m...@gmail.com] *Sent:* Tuesday, August 04, 2020 12:45 PM *To:* dev@nuttx.apache.org *Subject:* Re: stm32f7 CONFIG_RAM understanding No, internal memory.

RE: [GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #1487: libc: Avoid ctype function to evaluate the argument more than once

2020-07-31 Thread David Sidrane
ode size is more > important than the speed, let's change all macros to normal function that > we get the correction behavior and save the code size at the > same time. > > > -Original Message- > > From: David Sidrane > > Sent: Friday, July 31, 2020 7:32 AM &g

RE: [GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #1487: libc: Avoid ctype function to evaluate the argument more than once

2020-07-31 Thread David Sidrane
the argument more than once Yes, you are right: function version is still 20Bytes bigger than macro version. Do you have a better solution to fix this problem? > -Original Message- > From: David Sidrane > Sent: Friday, July 31, 2020 6:29 PM > To: dev@nuttx.apache.org > Subje

RE: Roadmap?

2020-08-12 Thread David Sidrane
+1 (I know it is not a vote, I am just agreeing) -Original Message- From: Brennan Ashton [mailto:bash...@brennanashton.com] Sent: Wednesday, August 12, 2020 10:54 AM To: dev@nuttx.apache.org Subject: Re: Roadmap? On Wed, Aug 12, 2020, 10:40 AM Adam Feuer wrote: > Folks, > > I made a

RE: official nuttx-ci-linux image

2020-08-06 Thread David Sidrane
Love it! -Original Message- From: Takashi Yamamoto [mailto:yamam...@midokura.com.INVALID] Sent: Thursday, August 06, 2020 4:03 AM To: dev@nuttx.apache.org Subject: official nuttx-ci-linux image hi, the docker image used by the CI (nuttx-ci-linux) is useful for other purposes. but as far

The PX4 Developer Summit - This week

2020-07-06 Thread David Sidrane
The PX4 Developer Summit - This week Hi All! In case anyone wants' to tune in…. The PX4 Developer Summit is the annual flagship conference hosted by Dronecode for the drone development community. Here is the schedule: *https://bit.ly/2YXe4Rd*

RE: SVD -> header generator

2020-07-03 Thread David Sidrane
Hi Matias, > I thought about doing this for a long time Yes So many times...Thank you for doing it! David -Original Message- From: Matias N. [mailto:mat...@imap.cc] Sent: Friday, July 03, 2020 1:45 PM To: dev@nuttx.apache.org Subject: SVD -> header generator Hi, I thought about doing

RE: [VOTE] Apache NuttX 9.1.0 (incubating) RC0 release

2020-06-24 Thread David Sidrane
This is a cool tool. https://github.com/google/bloaty Here is a set of ways to use it. https://github.com/PX4/Firmware/blob/4e7dedede79872401f50c733bd74e5ddf1fa41f1/cmake/bloaty.cmake (please ignore the cmake...) This is the one that can be used to see the deltas, in our case from mater to the

RE: [VOTE] Apache NuttX 9.1.0 (incubating) RC0 release

2020-06-24 Thread David Sidrane
I am not sure if this was in the last release, but there is a secondary level change to date that the CONFIG_TIME_EXTENDED was removed and made permanently enabled. Things like CONFIG_TIME_EXTENDED were there to scale down for resource constrained configurations. I for one would like to preserve

RE: MCU only booting from reset via SWD when compiled without optimizations?

2020-06-22 Thread David Sidrane
Hi Matias, >> > > Yes, I do recall some issue with the F429's in this regard. There was >> > > an errata. I believe that there are some pins in the upper 256Kb bank >> > > that interfered with some other peripheral. DavidS would know better >> > > than I. I thought it effected USB? The FLASH/USB

RE: Organising Release Notes for 9.1

2020-06-04 Thread David Sidrane
Hartman [mailto:hartman.nat...@gmail.com] Sent: Thursday, June 04, 2020 6:23 AM To: dev@nuttx.apache.org Subject: Re: Organising Release Notes for 9.1 On Thu, Jun 4, 2020 at 7:58 AM David Sidrane wrote: > I think _Every PR_ needs a description do begin to be a responsible and > profes

[DISCUSS] requirements for commit messages and PRs

2020-06-04 Thread David Sidrane
Let's discuss what is needed in commit messages PRs 1) Effective team communication 2) Have a problem statement 3) Provide reasoning for solution and alternatives 4) Provide test instructions steps for reproduction 5) Provides content usable in release notes. Here is a straw man with some

RE: Release 9.1

2020-06-09 Thread David Sidrane
I was speaking of git tag, for convenience. I guess the other question I want to know is what is on master that is not in the release? If we use git tags: One is dropped on the branch point. One is dropped on the release point. The delta on master is the full set of commits that came in to

RE: Release 9.1

2020-06-08 Thread David Sidrane
Would tags do the same thing? How does this work over time? Many PRs or keep force pushing to the PR? How about use cherry-pick -e and add the prefix [BACKPORT] on the back ported commits. -Original Message- From: Abdelatif Guettouche [mailto:abdelatif.guettou...@gmail.com] Sent: Monday,

RE: [DISCUSS] requirements for commit messages and PRs

2020-06-04 Thread David Sidrane
I agree there are 2 extremes: No information and Too much information. No information leads to hundreds of emails a day with no value. To much information requires focus to triage. The question I want to know the answer to is: Do I care about this change, now or in the future? Personally I think

RE: [DISCUSS] requirements for commit messages and PRs

2020-06-04 Thread David Sidrane
No make up one, with instruction. Let get the best of all the input. But I think it would help to stop call then by judgmental names. Unless of course the final one will be god-wonderful :) -Original Message- From: Gregory Nutt [mailto:spudan...@gmail.com] Sent: Thursday, June 04, 2020

RE: [DISCUSS] requirements for commit messages and PRs

2020-06-05 Thread David Sidrane
I think there are may more aspect than just the release notes. Yes we can ask every time for information but that is not a good use of everyone's time. Let the template ask for it. At the time the PR comes in, the submitter is the "expert in the problem domain". Not the committer. The

RE: New Wiki Page

2020-06-11 Thread David Sidrane
This is super helpful! Thank you Greg! -Original Message- From: Gregory Nutt [mailto:spudan...@gmail.com] Sent: Thursday, June 11, 2020 7:07 AM To: dev@nuttx.apache.org Subject: New Wiki Page Why Can't Kernel Threads Have pthreads?

RE: NXView

2020-06-13 Thread David Sidrane
Why not use the ETM? -Original Message- From: Gregory Nutt [mailto:spudan...@gmail.com] Sent: Friday, June 12, 2020 5:03 PM To: dev@nuttx.apache.org Subject: NXView Hi, List, I have been contemplating a NuttX-based Open Source project today and I am interested in seeing if anyone is

RE: Organising Release Notes for 9.1

2020-06-04 Thread David Sidrane
Nice! I think _Every PR_ needs a description do begin to be a responsible and professional contribution. The small extra level of effort will keep the team informed and provide the documentation for the release process. We should not have to reverse engineer intent to get the one line "what" and

RE: Can we implement ctype functions through table?

2020-07-28 Thread David Sidrane
Xiang, If there is a small usage do you think flash will grow by 256 bytes? I would be surprised. Should you uses a config option? David -Original Message- From: Xiang Xiao [mailto:xiaoxiang781...@gmail.com] Sent: Monday, July 27, 2020 10:40 PM To: dev@nuttx.apache.org Subject: RE:

RE: Can we implement ctype functions through table?

2020-07-29 Thread David Sidrane
; -Original Message- > From: David Sidrane > Sent: Tuesday, July 28, 2020 8:23 PM > To: dev@nuttx.apache.org > Subject: RE: Can we implement ctype functions through table? > > Xiang, > > If there is a small usage do you think flash will grow by 256 bytes? I > would

RE: [GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #1487: libc: Avoid ctype function to evaluate the argument more than once

2020-07-30 Thread David Sidrane
-1 on more bloat It is a simple matter to see the cost of a PR if we add bloaty (https://github.com/google/bloaty) to ci. -Original Message- From: Gregory Nutt [mailto:spudan...@gmail.com] Sent: Thursday, July 30, 2020 12:25 PM To: dev@nuttx.apache.org Subject: Re: [GitHub]

RE: [GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #1487: libc: Avoid ctype function to evaluate the argument more than once

2020-07-30 Thread David Sidrane
But how long does it take you, when the linker tell you, you have over flowed .text by 256 bytes? -Original Message- From: GitBox [mailto:g...@apache.org] Sent: Thursday, July 30, 2020 12:13 PM To: comm...@nuttx.apache.org Subject: [GitHub] [incubator-nuttx] xiaoxiang781216 commented on a

RE: Color ANSI support in nsh

2020-08-16 Thread David Sidrane
Hi Christian, As long as there is a Knob in Kconfig to enable / disable each feature (that defaults to disable) the impact is 0. IIRC there is a history, and some fancy-ness that was added by Dave a while ago. Good docs and an example defconfig would will keep it maintained (and built). Once we

RE: STM32F4 SPI DMA buffer size issue

2020-11-24 Thread David Sidrane
nds on delays and may appear again once there will be more commands on boot for instance, I don't know). Quite a strange behaviour for now. вт, 24 нояб. 2020 г. в 17:12, David Sidrane : > Oleg, > > Have you scoped the interface? > > For gins and giggles try reducing the SPI clock dr

RE: Should TASK_NAME_SIZE be changed in most configs?

2020-11-23 Thread David Sidrane
s.mbed.com/blog/entry/Optimizing-memory-usage-in-mbed-OS-52/ >> >> They went into 'rabbit's hole' to solve an issue that we don't have >> yet, but if nobody keep an eye on it soon we will have. >> >> BR, >> >> Alan >> >> On 11/23/20, David Sidran

RE: STM32F4 SPI DMA buffer size issue

2020-11-24 Thread David Sidrane
Oleg, Have you scoped the interface? For gins and giggles try reducing the SPI clock drive strength. Step it down and retest. David -Original Message- From: Oleg Evseev [mailto:ev.m...@gmail.com] Sent: Tuesday, November 24, 2020 4:57 AM To: dev@nuttx.apache.org Subject: STM32F4 SPI DMA

RE: Re[2]: iMXRT1064-EVK nshocram linking issue

2020-11-23 Thread David Sidrane
/incubator-nuttx/issues/1494 The problem is making it work for nshocram configuration. I cannot seem to understand what that linking error means. Thank you. Vadim >Понедельник, 23 ноября 2020, 19:09 +03:00 от David Sidrane >: > >Hi Vadim, > >I do not recall all the de

RE: iMXRT1064-EVK nshocram linking issue

2020-11-23 Thread David Sidrane
Hi Vadim, I do not recall all the deltas from the 1062 to the 1064. But the 1064 may have other IP changes, and memory map differences You should create a board new directory imxrt1060-evk. And make the changes there. You will need to know what kind of memory is embedded. Hyper flash or QSPI

RE: about IDEs and dev boards

2020-12-10 Thread David Sidrane
Hi Brennen, I have not tested with vscode in a bit. But the issue for me before was the edit ability of registers on IP blocks and CPU. Ben may be referring to the hard fault debugging technique I presented at the NuttX conference 2 years ago. It is a simple cut and paste from the LR to the IP

RE: about IDEs and dev boards

2020-12-04 Thread David Sidrane
Hi Matais, I use GNU ARM Eclipse http://gnuarmeclipse.github.io/ but it is now https://eclipse-embed-cdt.github.io/ I value it for the Segger debugger integration and SVD support. I use make file builds imported from git. I use a lot of the PX4 boards the FMUv2 2.4.6 (Pixhawk2), FMUv4

RE: STM32F4 SPI DMA buffer size issue

2020-11-25 Thread David Sidrane
f all uart DMA just in case, but it didn't help. вт, 24 нояб. 2020 г. в 21:45, David Sidrane : > Hi Oleg, > > See inline [DBS] > > David > -Original Message- > From: Oleg Evseev [mailto:ev.m...@gmail.com] > Sent: Tuesday, November 24, 2020 9:46 AM > To: dev@nu

RE: Serial console strange behaviour

2020-11-11 Thread David Sidrane
Are you running any PX4IO drivers or RC input? -Original Message- From: Oleg Evseev [mailto:ev.m...@gmail.com] Sent: Wednesday, November 11, 2020 3:09 AM To: dev@nuttx.apache.org Subject: Serial console strange behaviour Hi, Custom board stm32f7, PX4 based project - moved from NuttX

Please add a subject to the PR titles

2020-11-18 Thread David Sidrane
To help filter the emails Please add a subject to the PR titles Fix compile break ---> readline:Fix compile break

RE: Should TASK_NAME_SIZE be changed in most configs?

2020-11-23 Thread David Sidrane
> Do you think this is due to the I would say so. I agree better debugging out of the box is a good way to go. We have to weigh that against the past goal of: Minimum size image. It was a first impression thing. This was why debug had to be tuned off in all Kconfig. The first question to

RE: Automatically setup correct Eth PHY bitmasks?

2021-01-04 Thread David Sidrane
My recollection is there is the standard interface common to all PHY (first 16 regs). The only setting needed is the base address. Only once CONFIG_STM32H7_AUTONEG is enabled, one of the other 2 sets are needed chosen by CONFIG_STM32H7_PHYSR_ALTCONFIG. The issue you face is the mapping. You

RE: [Discuss] Migrate the build system to CMake

2021-06-10 Thread David Sidrane
First, I would like to apologies to Matias for not being able to contribute to the effort. We are working on the PX4 release, and a nuttx upgrade and I just do not have the time to spare. Ironically time is one of the things this discussion is all about. PR with the current build system and CI

RE: Memory locations

2021-06-08 Thread David Sidrane
Here is a working example. https://github.com/apache/incubator-nuttx/blob/master/arch/arm/src/stm32h7/stm32_spi.c#L715-L716 https://github.com/apache/incubator-nuttx/blob/master/boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld#L179-L184 You can check it the arm-none-eabi-nm -C nuttx.elf |

RE: NuttX (Online) Workshop 2021 (call for event team members)

2021-05-18 Thread David Sidrane
Please count me in. -Original Message- From: alin.jerpe...@sony.com [mailto:alin.jerpe...@sony.com] Sent: Tuesday, May 18, 2021 1:54 AM To: dev@nuttx.apache.org Subject: NuttX (Online) Workshop 2021 (call for event team members) Hi all, Yesterday me and Alan were talking about the plans

RE: RE: RE: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread David Sidrane
, Reto On 2021/05/19 12:13:35, David Sidrane wrote: > Hi Reto, > > What is the clock rate to the card and is multiblock enabled? > > David > > -Original Message- > From: Reto Gähwiler [mailto:gret.hexa...@gmail.com] > Sent: Wednesday, May 19, 2021 5:08 AM > To:

RE: Ethernet cable (network interface availability) detection

2021-05-19 Thread David Sidrane
ection? Polling the phy, or something > similar? As I recall, David Sidrane submitted a PR to do just this but it was not incoporated. I don't recall why. I recall having some concerns that polling the PHY in maintenance mode would interfere with normal operational mode, but I think David dem

RE: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-26 Thread David Sidrane
Hi Sebastien, Stack crashing into heap? Have you upped the stack sizes across the board? David -Original Message- From: Sebastien Lorquet [mailto:sebast...@lorquet.fr] Sent: Wednesday, May 26, 2021 9:22 AM To: dev@nuttx.apache.org Subject: Re: Port of project from NuttX 7.30 to 10.1

RE: (Standard | Recommended) way to create NuttX applications

2021-05-22 Thread David Sidrane
Yes you can, Just call the app. Create and app. Call it what you like. user_start etc. Set CONFIG_USERMAIN_STACKSIZE=1100 CONFIG_USER_ENTRYPOINT="user_start" Int user_start(int argc, char *argv[]) { return ...; } CONFIG_USERMAIN_STACKSIZE=1100 CONFIG_USER_ENTRYPOINT="pigs_can_fly "

RE: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread David Sidrane
hi Reto, What SoC is this on? What type of card are you using? David -Original Message- From: Reto Gähwiler [mailto:gret.hexa...@gmail.com] Sent: Wednesday, May 19, 2021 3:22 AM To: dev@nuttx.apache.org Subject: Re: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by

RE: RE: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread David Sidrane
clusters by statfs Hi David, It is running on an STM32h743zi version V or Y. The SD-card in use is a SwissBit S-45u. Reto On 2021/05/19 11:11:22, David Sidrane wrote: > hi Reto, > > What SoC is this on? What type of card are you using? > > David > > -Original Message

RE: [VOTE] Apache NuttX 10.1.0 (incubating) RC0 release

2021-04-28 Thread David Sidrane
Yes! I just lit the label (backport/10.1) -Original Message- From: Gustavo Henrique Nihei [mailto:ghni...@gmail.com] Sent: Wednesday, April 28, 2021 5:58 AM To: dev@nuttx.apache.org Subject: Re: [VOTE] Apache NuttX 10.1.0 (incubating) RC0 release Hi folks, I believe we should consider

I saw a new option for merging in GH: Auto merge when CI completes

2021-02-05 Thread David Sidrane
Hi, I saw a new option for merging in GH Auto merge when CI completes. What is the group's opinion on having this enabled? David

RE: I saw a new option for merging in GH: Auto merge when CI completes

2021-02-05 Thread David Sidrane
completes We set it manually right? I mean after reviewing we can set the PR to be merged when the CI checks are done? On Fri, Feb 5, 2021 at 10:53 AM David Sidrane wrote: > > Hi, > > I saw a new option for merging in GH Auto merge when CI completes. > > What is the group's opinion on h

RE: Anyone else getting repeated emails from the GitBox?

2021-02-05 Thread David Sidrane
are now going to commits@ which you can filter out or simply unsubscribe. On Fri, Feb 5, 2021 at 11:40 AM David Sidrane wrote: > > Anyone else getting repeated emails from the GitBox? > > > > -Original Message- > From: GitBox [mailto:g...@apache.org] > Sent: Friday

Anyone else getting repeated emails from the GitBox?

2021-02-05 Thread David Sidrane
Anyone else getting repeated emails from the GitBox? -Original Message- From: GitBox [mailto:g...@apache.org] Sent: Friday, February 05, 2021 2:29 AM To: comm...@nuttx.apache.org Subject: [GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2805: imxrt1060 iperf

RE: Anyone else getting repeated emails from the GitBox?

2021-02-05 Thread David Sidrane
I totally agree, I was always concerned that commits to the Apache directly would get missed. So I had it on. I could not even unsubscribe Hi! This is the ezmlm program. I'm managing the comm...@nuttx.apache.org mailing list. Acknowledgment: The address david.sidr...@nscdg.com was not on

RE: avoiding pitfal of reuse of globals in FLAT mode?

2021-03-24 Thread David Sidrane
> For getopt() I see there's even no standard getopt_r(), so we would have to provide our own, which may not be a bad idea. Here is the one we have been using. https://github.com/PX4/PX4-Autopilot/commit/eab32572f42f8e3e715b952512b6f5 df9041f848

RE: Sleep Resolution

2021-03-24 Thread David Sidrane
What HW is this on? -Original Message- From: Grr [mailto:gebbe...@gmail.com] Sent: Wednesday, March 24, 2021 10:09 AM To: dev@nuttx.apache.org Subject: Re: Sleep Resolution Thank you very much for your response What I'm trying to do is to generate hold and disable times for SPI CS,

RE: Sleep Resolution

2021-03-24 Thread David Sidrane
ieve NOPs are optimized away but it seems asm("") or something close to that is not It would be nice to incorporate a general solution for this problem to the Nuttx toolbox El mié, 24 mar 2021 a las 11:24, David Sidrane () escribió: > What HW is this on? > > -Original Message---

RE: Sleep Resolution

2021-03-24 Thread David Sidrane
Have a look at https://github.com/PX4/PX4-Autopilot/blob/3ef93823f4b8f870b056549d321473a02fb69b1f/platforms/nuttx/src/px4/common/srgbled/srgbled.cpp#L112-L115 -Original Message- From: Grr [mailto:gebbe...@gmail.com] Sent: Wednesday, March 24, 2021 9:36 AM To: dev@nuttx.apache.org

RE: How to ensure HEAP will not overlap static DMA buffer?

2021-03-26 Thread David Sidrane
ripts to account for: * Bootloaders * Binary blops * Firmware headers * ROM files * DMA buffers * External memories etc etc.. Do you believe that a tool can be made that can handle everything? Στις Παρ, 26 Μαρ 2021 στις 6:37 μ.μ., ο/η David Sidrane < david.sidr...@nscdg.com> έγραψε: I am

RE: How to ensure HEAP will not overlap static DMA buffer?

2021-03-26 Thread David Sidrane
I am just thinking out load... I agree this has to come from one place. But I do think it is just the linker file. Currently we have The arch memroymap h files have the base addresses, sizes - This is the Reference manuals counterpart, it covers all the sub members of the chips) The chip.h

RE: How to ensure HEAP will not overlap static DMA buffer?

2021-03-26 Thread David Sidrane
Hi Nathan, I just ran into this, this week on all the H7 boards in PX4. This was broken by https://github.com/apache/incubator-nuttx/pull/459/files#diff-8e09d7a85a1cc6cc65e0bb43d7aa751e3caaec9f9d5e824f9b741a1487ec9199L117-L138 I did not catch the implication of that change at the time. The

RE: STM32H7 ethernet hardfaults

2021-03-04 Thread David Sidrane
Hi John, Jinx you owe me a soda! I am just debugging this same thing today. This is happening on the F7 as well. It is a bug, in this line. up_invalidate_dcache((uintptr_t)dev->d_buf, (uintptr_t)dev->d_buf + dev->d_len); It in performs cache

RE: STM32H7 ethernet hardfaults

2021-03-05 Thread David Sidrane
Hi, Thank you all for sharing your Networking and dcache expertise! The descriptors and buffers are all aligned and sized for the dcache line size. The problem is the following. (The value of number do not matter, but help express the nature of the problem.) If CONFIG_NET_ETH_PKTSIZE is the

RE: STM32H7 ethernet hardfaults

2021-03-05 Thread David Sidrane
PR is in. Please have a look and test with the default CONFIG_NET_ETH_PKTSIZE. All should be happy now. :) https://github.com/apache/incubator-nuttx/pull/2985 -Original Message- From: David Sidrane [mailto:david.sidr...@nscdg.com] Sent: Friday, March 05, 2021 1:26 AM To: 'dev

RE: STM32H7 ethernet hardfaults

2021-03-05 Thread David Sidrane
d find on the cache invalidation issue. > I'll get your fix running on my board to verify the hard faults have > been resolved. > > Thanks everyone for all of your input and help! > > - John > > On 3/5/21 9:11 AM, David Sidrane wrote: > > PR is in. Please h

RE: CAN on STM32H7 platforms under NuttX

2021-04-14 Thread David Sidrane
Roberto There is a DRAFT PR https://github.com/apache/incubator-nuttx/pull/2987 David -Original Message- From: Roberto Bucher [mailto:roberto.buc...@supsi.ch] Sent: Wednesday, April 14, 2021 6:18 AM To: dev@nuttx.apache.org Subject: CAN on STM32H7 platforms under NuttX Hi For a

RE: IMXRT1064 and 2 Ethernet interfaces

2021-04-16 Thread David Sidrane
Hi Vadim , This sounds familiar.Please check if that code is a copy of the Kinetis driver. If so, see the changes that were done to it in https://github.com/apache/incubator-nuttx/pull/1273 David -Original Message- From: Вадим Ястребов [mailto:woody_haw...@mail.ru.INVALID] Sent:

RE: CONFIG_NSH_CMDPARMS not working as expected

2021-02-16 Thread David Sidrane
Do you have a writeable /tmp? It would have to be /fs/microsd/tmp "interim output will be retained in a temporary file. Full path to a directory where temporary files can be created is taken from CONFIG_LIBC_TMPDIR and it defaults to /tmp if CONFIG_LIBC_TMPDIR is not set." David -Original

RE: Task with statically allocated stack

2021-02-06 Thread David Sidrane
You have to init the memory used for the stack: Have a look in the normal tasking init , and you will see the call out to init the stack, that you neeed to call. Also Assuming ARM it has to be 8 byte aligned. So you need attributes on your variable called stack to set the alignment. David

RE: Proper handling of arch header files

2021-02-06 Thread David Sidrane
Those are sources of generic information passed to the drivers. Not intrinsic data of the SoC (like its memory map). -Original Message- From: Grr [mailto:gebbe...@gmail.com] Sent: Saturday, February 06, 2021 7:12 AM To: dev@nuttx.apache.org Subject: Re: Proper handling of arch header

RE: Custom audio capabilities

2021-11-22 Thread David Sidrane
Hi Tim, Emails are getting to the list. David -Original Message- From: Tim Sent: Monday, November 22, 2021 3:26 AM To: dev@nuttx.apache.org Subject: RE: Custom audio capabilities I appreciate no one may have any comments or suggestions but since I have had no replies to my last 2 or 3

RE: Kernel ticking and progmem writes

2021-11-30 Thread David Sidrane
Is this a dual bank part? Is so you can avoid the bus lock by operating on the other bank. -Original Message- From: Nathan Hartman Sent: Tuesday, November 30, 2021 5:35 AM To: dev@nuttx.apache.org Subject: Re: Kernel ticking and progmem writes On Tue, Nov 30, 2021 at 8:05 AM Fotis

Re: STM32U5 support

2021-12-09 Thread David Sidrane
Hi Michael, Of course you are much closer to the problem than I am. So here is just my opinion based on the stm32, stm32f7, stm32h7 lessons. Are the L5 and U5 the same with different marketing names or are there underlying IP differences? What is the delta? I would head the direction of

RE: STM32F7/H7: DAC driver missing?

2021-07-22 Thread David Sidrane
Hi If it is not all there then most likely you will have to port it. David -Original Message- From: Frank-Christian Kruegel [mailto:nu...@istda.com] Sent: Thursday, July 22, 2021 2:00 AM To: dev@nuttx.apache.org Subject: STM32F7/H7: DAC driver missing? Hi. I'm wondering where the

RE: Serial RX DMA polling

2022-03-07 Thread David Sidrane
Hi Michal, > rather from board level section Yes Have a look at this example. https://github.com/PX4/PX4-Autopilot/blob/master/boards/px4/fmu-v5x/src/init.cpp#L243-L247 -Original Message- From: Michal Lenc Sent: Sunday, March 6, 2022 2:38 PM To: dev@nuttx.apache.org Subject: Serial

RE: [DISCUSS]: Self merge and Single company/organization merge gating

2022-02-17 Thread David Sidrane
On Self merge: As Nathan pointed out, it is more about time zones then merge velocity. However, using a backport only methodology requires an upstream merge before the work can be backported with least effort and adds a serial delay. It would be ideal to reduces the CI quantum delay this as much

[DISCUSS] Default state of NDEBUG

2022-02-14 Thread David Sidrane
PR 5399 adds an Kconfig option for NDEBUG. The salient discussion begins at [2] there are mixed positions and reasoning. xiaoxiang781216 asked me to raise a discussion on this. The reasoning for the Default state of to be NDEBUG (n) hence undefined so that assert() enabled is the following:

[DISCUSS]: Self merge and Single company/organization merge gating

2022-02-14 Thread David Sidrane
I am opening this discussion to widen the audience for feedback on the rules for merging. The original interexchange was in [1] 1 ) Given the geographical and time differences should we consider that once a review with approval* has been done the PR’s author can merge it? 2) Should we

RE: STM32U585: Can't enable peripheral clock for IO port I (GPIOIEN in RCC_AHB2ENR1)

2022-03-25 Thread David Sidrane
Hi Michael, Odd. Did you check the defines? How are you verifying it? Have you JTAG-ed it, could it be bad SVD? Have you just printed the value to be set and the result ? David -Original Message- From: Michael Jung Sent: Friday, March 25, 2022 9:07 AM To: dev Subject: STM32U585: Can't

RE: STM32U585: Can't enable peripheral clock for IO port I (GPIOIEN in RCC_AHB2ENR1)

2022-03-25 Thread David Sidrane
0x802000ff. The stm32l5, which I based the stm32u5 code on, did not have an IO port I. I must have missed a piece of logic during porting I guess. Bye, Michael Am Fr., 25. März 2022 um 17:22 Uhr schrieb David Sidrane < david.sidr...@nscdg.com>: > Hi Michael, > > Odd. Did you check t

RE: arm/kinetis vs arm/kl

2022-01-31 Thread David Sidrane
Hi Karel, It depends on the level of intrusion. You are closer to the problem then I am. So, I will share what I know and hopefully a clear path will emerge for you. I do not know the history of the KL. The Kinetis arch has a notion of IP versioning. See

RE: kconfig-frontends-win32-3.12.1 for windows failed to support some Kconfig syntax?

2022-01-22 Thread David Sidrane
Yes. This has been discussed here: https://github.com/apache/incubator-nuttx/issues/2405 -Original Message- From: xyluo Sent: Friday, January 21, 2022 9:05 PM To: dev Subject: kconfig-frontends-win32-3.12.1 for windows failed to support some Kconfig syntax? Hello, Recently I need to

RE: Addition of STM32H7 MCU's

2023-09-08 Thread David Sidrane
The way to fix it is to fully name the files that are *different* by replacing the x with the part number’s digit E.G. stm32h7x3xx_irq.h -> stm32h723xx_irq.h The top level inclusion file will have the ifdef logic to include the correct part based on chip selection: See

RE: iMXRT usbdev endpoint allocation problem

2023-09-20 Thread David Sidrane
Hi Marten , See https://github.com/apache/nuttx/pull/4784 Furthermore once all the caching was working, the USB driver had a bug that the bulk endpoints was getting confused with the interrupt endpoints and although sized to 512 where reporting a max size of 1024 causing more fun memory

RE: IMXRT: LPUART IDLE character Kconfig setting request

2023-10-09 Thread David Sidrane
What about adding it per [LP]U[S]ART in the Kconfig here https://github.com/apache/nuttx/tree/master/drivers/serial Then any arch can use it. David -Original Message- From: Daniel Appiagyei Sent: Monday, October 9, 2023 12:51 AM To: dev@nuttx.apache.org Subject: IMXRT: LPUART IDLE

Re: STM32H7 SPI status ?

2022-08-31 Thread David Sidrane
Hi Sebastien, I think it is a stale artifact from before the DMA was fleshed out. We are using DMA on the H7 SPI in PX4. The only caveat is that the default drive strength may be too high and we reduced it with the macro:

Re: STM32F103RET6 and HSI

2022-08-23 Thread David Sidrane
HSI is not a good choice if there are external interfaces. It can vary too much part to part and over temperature to meet the 2% across the system boundary. They claim 1% @25c but that is 1/2 the budget to begin with,

Re: [VOTE] Apache NuttX Community Graduation

2022-10-21 Thread David Sidrane
+1: Apache NuttX is ready to graduate to TLP David On 2022/10/21 12:46:47 Nathan Hartman wrote: > Dear Apache NuttX Community, > > Following the [DISCUSS] thread which has gone 72 hours without any > further issues raised [1]: > > This is a call to VOTE on Graduation of Apache NuttX from the >

RE: [DISCUSS] Graduate NuttX as TLP

2022-10-19 Thread David Sidrane
+1 - The time has come. David -Original Message- From: Xiang Xiao Sent: Wednesday, October 19, 2022 1:52 AM To: dev@nuttx.apache.org Subject: Re: [DISCUSS] Graduate NuttX as TLP +1. We are ready after two years of incubation! On Wed, Oct 19, 2022 at 1:07 PM Alin Jerpelea wrote: > +1

RE: IMXRT1020-EVK hardfault on boot

2022-08-16 Thread David Sidrane
Hi Nicolas, I have not tested a RT1020 lately. My board is pack becaue I am moving in a fey days. It will be a several weeks before I can l look at it. Possibly Dave Marples github @mubes can lend a hand. David -Original Message- From: nicolas.silv...@ludo.tech Sent: Monday,

RE: Intertask communication in NuttX

2022-12-17 Thread David Sidrane
Have you looked at uOrb? -Original Message- From: Roberto Bucher Sent: Saturday, December 17, 2022 1:53 AM To: dev@nuttx.apache.org Subject: Intertask communication in NuttX Hi after successfully reached to recompile the microROS environment, I'd like to build an intertask

RE: SAM-E70 progmem - in system programming and RAMFUNCS

2022-12-08 Thread David Sidrane
omorrow, any ideas, please share! Thank you for your time and attention to this issue... -James On Thu, Dec 8, 2022 at 7:57 AM Gregory Nutt wrote: > On 12/8/2022 5:55 AM, David Sidrane wrote: > > Is the NVIC_VTABLE repointed to the RAM vectors? > > The RAM functions are like .

RE: New names of repositories

2022-11-18 Thread David Sidrane
> I vote for nuttx, nuttx-apps +1 David -Original Message- From: James Dougherty Sent: Friday, November 18, 2022 11:21 AM To: dev@nuttx.apache.org Subject: Re: New names of repositories That’s right! and underscores are difficult to see when the file name is displayed as an

RE: Serial driver: No BREAK support?

2023-01-30 Thread David Sidrane
Hi Nathan, Have you seen https://github.com/apache/nuttx/blob/master/arch/arm/src/stm32f7/stm32_serial.c#L2657 ? David -Original Message- From: Nathan Hartman Sent: Monday, January 30, 2023 7:16 PM To: dev@nuttx.apache.org Subject: Serial driver: No BREAK support? Serial

RE: PWM fast stop operation

2022-11-11 Thread David Sidrane
Hi Petro, On the STM32 there are shadow registers that buffer the updated data to ensure that outputs are updated synchronously with the end of the period. There is a bit that can be set to force the update to the shadowed registers to be immediate, which will change the count of the current

RE: DISCUSSION - Usage of mailing lists for apache projects

2023-03-09 Thread David Sidrane
I would add that all pull request must have a statement explaining the reason or motivation for the change(s). Just stating the "What" was done is not enough. There must be a "Why" the change is needed. David -Original Message- From: alin.jerpe...@sony.com Sent: Thursday, March 9, 2023

RE: DISCUSSION - Usage of mailing lists for apache projects

2023-03-09 Thread David Sidrane
the reasons simply by typing "git log" if they are in the commit message What do you think ? Thanks Alin -Original Message----- From: David Sidrane Sent: den 9 mars 2023 10:00 To: dev@nuttx.apache.org Cc: Sebastien Lorquet Subject: RE: DISCUSSION - Usage of mailing lists for apache p

Is there a current list of functions that can be called from interrupt context.

2023-02-17 Thread David Sidrane
Hi, There has been a lot of good work and changes in system for mm, logging, synchronization, and networking. Do we have a current list of functions that can be called from interrupts? Should we consider a documentation pass to mark these? David

RE: Hardcoded Pin mux, pad control and Drive Strength (AKA Slew-rate and Frequency) Settings #1570

2023-04-17 Thread David Sidrane
-Original Message- From: David Sidrane Sent: Wednesday, April 12, 2023 2:49 AM To: 'dev@nuttx.apache.org' Subject: RE: Hardcoded Pin mux, pad control and Drive Strength (AKA Slew-rate and Frequency) Settings #1570 Nathan, no worries. I ended up doing the STM32G families yesterday. David

RE: How ro re-trigger CI workflow?

2023-04-22 Thread David Sidrane
Close and reopen PR or rebase on master and force push the branch. The latter is preferable if the CI fix was on master -Original Message- From: fft Sent: Saturday, April 22, 2023 4:25 AM To: dev Subject: How ro re-trigger CI workflow? Hello, Two weeks ago, i created a PR #8999 to

RE: Hardcoded Pin mux, pad control and Drive Strength (AKA Slew-rate and Frequency) Settings #1570

2023-04-10 Thread David Sidrane
-Original Message- From: Frank-Christian Kruegel Sent: Monday, April 10, 2023 9:01 AM To: dev@nuttx.apache.org Subject: Re: Hardcoded Pin mux, pad control and Drive Strength (AKA Slew-rate and Frequency) Settings #1570 Am 10.04.2023 um 14:51 schrieb David Sidrane: > If I atte

RE: Hardcoded Pin mux, pad control and Drive Strength (AKA Slew-rate and Frequency) Settings #1570

2023-04-11 Thread David Sidrane
, if LEGACY_PINMAP is set in user config, maybe we can add a compile time warning in stm32h7/stm32_gpio.c that in the future, users are required to update their board.h and once done, disable LEGACY_PINMAP ? Sebastien Le 07/04/2023 à 15:34, David Sidrane a écrit : > Opening the discuss

<    1   2   3   4   >