Re: Builtin app with its own command processor on stdin

2024-01-24 Thread spudaneco
My guess would be stack corruption.  Crashes and hangs often don't happen until the app exits,  I would try increasing the app stack size.Sent from my Galaxy Original message From: Jernej Turnsek Date: 1/24/24 1:12 AM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: Builtin

Re:Re: debugging user app crashes

2024-01-10 Thread spudaneco
You should be able to set breakpoints properly, but only after the correct MMU mapping is in place. Original message From: yfliu2008 Date: 1/9/24 8:06 PM (GMT-06:00) To: dev Subject: Re:Re: debugging user app crashes Yes, in kernel mode each user space program has similar

Re: C++ Support

2023-06-25 Thread spudaneco
UCLibc++ is very old.  Most people use libxx from LLVMSent from my Galaxy Original message From: Mark Stevens Date: 6/25/23 1:50 AM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: C++ Support So a little more progress on this one.Turning on C++ Exception support for the

Re: sched_lock() should be completely removed

2023-04-23 Thread spudaneco
Thanks.  I remember this now.  We talked about this back in 2019!GregSent from my Galaxy Original message From: Xiang Xiao Date: 4/23/23 10:09 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: sched_lock() should be completely removed On Sun, Apr 23, 2023 at 10:42 PM

Re: [Breaking change] Move nxmutex to sched

2023-04-18 Thread spudaneco
Perhaps you could use accessor functions to read/write 8, 16 32, 64 bit values.  Each scalar value will be properly aligned and, hence, will lie within a page.Sent from my Galaxy Original message From: Ville Juven Date: 4/18/23 3:48 AM (GMT-06:00) To: dev@nuttx.apache.org

RE: [Breaking change] Echo character by serial driver

2023-03-10 Thread spudaneco
How do you plan to handle incoming vt100 escape sequences.  I see you kludged around one, but there are hundreds.  TheY are used in BAS, pdcurses and other apps extensively.You are ruinking that critical vt100 capability and breaking a lot of thingsSent from my Galaxy Original message

Re: NuttX Hardware

2023-03-08 Thread spudaneco
I have 90-95% of those boards.Sent from my Galaxy Original message From: Brennan Ashton Date: 3/8/23 7:29 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: NuttX Hardware This is the sheet (a little old now) that I had shared

Re: Byte to int32/big and little endian

2023-02-26 Thread spudaneco
 > I can find no references in the NuttX code base to changing endian-ness?Search for CONFIG_ENDIAN_BIG

Re: New names of repositories

2022-11-19 Thread spudaneco
As i said, i am not advocating breaking up repositories.  It would help modulartiy, but is not worth the price.Submodules refer to versioned code so changes to the submodule have no impact to the built code until until the version referenced by the submodule is updated.  I think that would

RE: NuttX International Workshop 2022: will start in less than 14h

2022-09-23 Thread spudaneco
Hi, Alan,Question... Are there instruction anywhere for connecting to the presentations?GregSent from my Galaxy Original message From: "Alan C. Assis" Date: 9/23/22 3:07 PM (GMT-06:00) To: dev Subject: NuttX International Workshop 2022: will start in less than 14h Hi

Re: NuttX Monthly Meetup

2021-09-25 Thread spudaneco
This is not "helping users",  These are all project management topics.  These kinds of discussions are not appropriate outside of ASF provided communication mechanism.  You cannot create your own private project management team that excludes everyone else.Sent from my Galaxy Original

RE: where is the variable __KERNEL__

2021-08-27 Thread spudaneco
tools/Config.mkSent from my Galaxy

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

2021-03-23 Thread spudaneco
One option is to replace the globals with accessor functions and use TLS to hold the actua. data.Sent from my Galaxy Original message From: "Matias N." Date: 3/23/21 7:18 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: avoiding pitfal of reuse of globals in FLAT mode?

Re: Problem with SmartFS access

2021-03-21 Thread spudaneco
Brute force testing is not a solution unless the testing is very complete and extensive.  Testing is not required for the case of m9dified default configuration settings.  A simple inspection of the Kconf files will detect the problem in all cases,Sent from my Galaxy Original message

RE: strdup & free in protected build

2021-02-10 Thread spudaneco
You could use lib_free()Sent from my Galaxy

Re: Problem with USB CDC initialization on board based on STM32F4DISCO

2021-01-17 Thread spudaneco
This probably explains why you get no USB log.  How could you?  It is configured to go to the console (i.e., /dev/console) but there is no console device.Sent from my Galaxy Original message From: Flavio Castro Alves Filho Date: 1/17/21 3:50 PM (GMT-06:00) To:

Re: Error in sninfo with argument

2021-01-07 Thread spudaneco
You really need to analyze the hard fault to have any understanding.  My guess would be something unrelated like a stack overrun.Sent from my Galaxy Original message From: Alan Carvalho de Assis Date: 1/7/21 6:15 AM (GMT-06:00) To: dev@nuttx.apache.org, thiha_...@yahoo.com

Re: interrupt priorities on nRF52

2020-10-25 Thread spudaneco
There is a Confluence page describing how to implement nested interrupts if you want them (see also the TizenRT implementation)Sent from Samsung tablet. Original message From: David Sidrane Date: 10/25/20 4:35 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: interrupt

RE: 68k?

2020-08-04 Thread spudaneco
Mike Smith was working on this years ago.  But it never came  upstream.Sent from Samsung tablet.

RE: Can we implement ctype functions through table?

2020-07-29 Thread spudaneco
I would consider option 3 to be the worst choice.  That could bloat can be enormous and unacceptable as I have seen in the past.  I saw growth by many kbyte in such cases. Not a good compromise.Sent from Samsung tablet. Original message From: Xiang Xiao Date: 7/29/20 12:54

Re: Markdown READMEs?

2020-07-20 Thread spudaneco
Versioning is important but I think that the most important reason to keep the docs in the repositories is because we have a visible, manageable process to update critical documents via PRs.  For example,changes to the coding standard need careful review and approval.Sent from Samsung tablet.

RE: driver question about memory and calloc

2020-07-07 Thread spudaneco
I don't know anything about the DMA, but you should not call calloc() from within the OS.  That does not work in all configurations.Instead  include nuttx/kmalloc,h and call kmm_malloc().  If you want aligned memory, call kmm_memalgn().Sent from Samsung tablet. Original message

Re: ftw/fts

2020-06-23 Thread spudaneco
The core of these functions should be the same as the logic in apps/insulin in cmd_ls() that handles the 'lsd _R' command.Sent from Samsung tablet. Original message From: Alan Carvalho de Assis Date: 6/23/20 5:22 AM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: ftw/fts

RE: nrf51822 and BLE

2020-06-16 Thread spudaneco
Why not use the BLE provided by NuttX?Sent from Samsung tablet. Original message From: "Matias N." Date: 6/16/20 6:42 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: nrf51822 and BLE Hi,I'm picking up a project based on a NRF51822 module and I'm currently trying out Zephyr

RE: [EXT] Re: NuttX Wiki Porting Guide SocketCAN addition

2020-06-16 Thread spudaneco
That document is in the repository at incubator-nuttx/Documents/NuttxPrtingGuide.html.  You change via PR.  After the PR checks complete, the massaged document will be available as build artifacts and can be placed in Confluence.Sent from Samsung tablet. Original message From:

Hold off merging PRs

2020-06-14 Thread spudaneco
I see a few new PRs coming in.  I want to remind everyone that tomorrow we plan the branch for release/9.1.  If committers could hold off merging until that branch is in place, the I think we have a chance for a good release candidate!Thanks! Then, after the branch , if any merges cause issues,

Re: NuttX config browser

2020-05-31 Thread spudaneco
The configuration document he is referring to is not in the repository.  I used to create it only for releases using a custom tool at tools/mkconfigvars.shMaciej's tool is much easier to use.Maciej has several other cool NuttX tools.  In a meritocracy, I think contributing these to the project

Re: MSYS2 build slow

2020-05-31 Thread spudaneco
Build performance has not been a priority for us yet.  Johannes' 30 minute build rocked us into some stopgap action.  If and when it becomes a priority there is probably more we can do in the future.Sent from Samsung tablet. Original message From: Nathan Hartman Date: 5/31/20

Re: kconfig (Re: mbedtls)

2020-05-25 Thread spudaneco
Don't forget, you are not a user anymore.  You are a maintainer and you are responsible for keeping a stable environment for all users.Sent from Samsung tablet. Original message From: Takashi Yamamoto Date: 5/25/20 6:41 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re:

RE: enter/leave_critical_section() calls in the user space library

2020-05-11 Thread spudaneco
I don't understand why you need to do that.But for the SMP case there is a better, lighter weight critical section called spinlock_irqsave.  It is intended to protect very short code sequences with a spin lock.  Very efficient.enter_critical_section is a big, fat pig in SMP and the lighter

Re: Build errors with inline functions

2020-03-21 Thread spudaneco
> Another example, we use MPU to protect the code section for NOXIP casein the > flat mode.Some have used the MPU to catch runtime NULL pointer accesses.  > There is a HowTo for this case in the Wiki.Sent from Samsung tablet. null

Re: Should we relax precheck a little bit?

2020-03-15 Thread spudaneco
I am oppose to modyfing source files to support the tool.  I don't think we should go that direction.Sent from Samsung tablet. Original message From: "Schock, Johannes - NIVUS GmbH" Date: 3/15/20 5:47 AM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: Should we relax

RE: IMXRT 1060 USB Device (copy of LPC43/LPC31 driver) - Set-up buffer problems

2020-02-20 Thread spudaneco
This sounds like a data cache problem.  One difference between the i.MXRT and the LPC43 is that it has a data cache.  So you must flush the cache before starting any DMA operation and invalidate the cache before reading any DMAdata.GregSent from Samsung tablet. Original message

RE: Re: NuttX SocketCAN implementation

2020-02-11 Thread spudaneco
The requirements from Pavel are inconsistent with the current character driver.  Certainly it could be possible to use a common backend, but I suspect it would be simpler not to.Sent from my Samsung Galaxy smartphone. Original message From: Peter Van Der Perk Date: 2/11/20

Lost Repository History

2020-01-18 Thread spudaneco
It appears we have lost the first 6 year of history in the NuttX repository.  The oldest commit looks like it is from 2013.  The oldest should be from february 2007.If i look at the statistics, it says I have 19 thousand commits.  That should be 36 thousand,Is the repository permanently broken?

Re: ILI9341 port to STM32F4

2020-01-01 Thread spudaneco
Sent from Samsung tablet. It seems strange that by not selecting CONFIG_NX_KBD it stil is trying tocompile stuff that has relations with this config?src/cnxwidget.cxx:691:65: error: 'class NXWidgets::CWidgetControl' has nomember named 'doubleClick'   if (m_flags.doubleClickable && hasFocus()

Re: Software release life cycle choices could have implications on workflow (was RE: Single Committer)

2019-12-27 Thread spudaneco
+1Singin' to choir!Sent from my Samsung Galaxy smartphone. null

Re: 404 on site (Project status Nuttx)

2019-12-27 Thread spudaneco
How does this effect ongoing Confuence development on Brennan's old site?  This needs to move to a new URL. What is the URL? Will additional changes to Brennan's site be lost?Thanks,GregSent from Samsung tablet. Original message From: Hans Date: 12/27/19 4:16 AM (GMT-06:00)

RE: Workflow Development

2019-12-26 Thread spudaneco
We should get a quick read from Justin: is developing substantial code outside of incubator acceptable? And how do we get a proper review againet the workflow requirements before merging upstream?You really should wait for the workflow requirements first or be completely open to rework.Will we

Re: User Email Account

2019-12-26 Thread spudaneco
I may grumble a bit bur I always follow Justin's advice.I do think that NuttX is diferent from other new podlings because  began with a huge user base and has a few different needs on day 1 as a mature project.I don't believe that finding new committers will be a problem.Sent from Samsung

Re: Community

2019-12-23 Thread spudaneco
It is too early to be digging holes.  Let's agree where the whole should be dug before we start digging.  Then there will be no one looking over your shoulder.Sent from Samsung tablet. Original message From: David Sidrane Date: 12/23/19 4:10 AM (GMT-06:00) To:

Re: Project Emails

2019-12-12 Thread spudaneco
Sent from Samsung tablet. I think we should use release branches, unless we want to lock downthe repo against all changes for the duration of the release prep ->release candidate -> testing -> debating -> voting cycle, which couldtake a non trivial amount of time.You could carry on business as