Re: Vote for rename modlib to libelf

2025-04-07 Thread Maciej Wójcik
+1 Am Mo., 7. Apr. 2025 um 16:49 Uhr schrieb Laczen JMS : > +1 > > On Mon, Apr 7, 2025, 11:36 chao an wrote: > >> Hi community, >> >> Some green hand and individual developer who are not familiar with nuttx >> may be confused by the naming of modlib, in currect implement, modlib as an >> elf loa

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Maciej Wójcik
Most of us have some spare PC around, such PC can have fresh Linux with a gitlab-runner service and this gitlab-runner can build, flash and run tests, a pipeline that gives positive or negative results. With binaries already built it could just download instead. I know that with GitLab this is mo

Re: Custom apps outside the tree

2023-09-12 Thread Maciej Wójcik
There is an inexistent, ignored entry in apps called external. By creating a symlink called external you should end up with no, as you called "poop". I assume that you mean no extra files or modifications in NuttX repositories. On Tue, 12 Sep 2023, 19:58 Mike Moretti, wrote: > Hi, > > Is there a

Re: Touchscreen scaling/LVGL

2023-05-23 Thread Maciej Wójcik
bration that Greg created for TWM4NX: > apps/graphics/twm4nx/apps/ccalibration.cxx > > BR, > > Alan > > On 5/23/23, Maciej Wójcik wrote: > > It would be great if NuttX would offer calibration of touch screens out > of > > the box. > > > > I am not sur

Re: Touchscreen scaling/LVGL

2023-05-23 Thread Maciej Wójcik
It would be great if NuttX would offer calibration of touch screens out of the box. I am not sure where it should go, but I think it could be a wrapper that is used by many drivers. I think we have a similar situation with flash filesystems. There are multiple layers that stack on each other. Fo

Re: CI tests (was: Re: [OT] Learning Makefiles)

2023-05-22 Thread Maciej Wójcik
Checking different configurations is an academic problem, I think they call it configuration sampling and it is part of variability modelling. There were some papers about sampling of Linux configurations. The simplest approach is to enable all possible, disable all possible, but it is not trivial

Re: [OT] Learning Makefiles

2023-05-19 Thread Maciej Wójcik
I see the following advantages of having CMake: - Everything is way more readable then the current Make files. - Easier on-boarding. - Less build-related bugs. - Less boiler-plate code. - Faster builds. - Great IDE integration. Adding CMake as an optional feature seems to be a great solution. Mai

Re: New names of repositories

2022-11-19 Thread Maciej Wójcik
If some toolchain has an issue with hyphen separated name, then it should be solved in scope of that toolchain. In particular, instructions for that particular toolchain should suggest different clone name as a workaround. One broken toolchain should not lead to violating of URL naming standards.

Re: New names of repositories

2022-11-18 Thread Maciej Wójcik
Isn't it possible to have a nuttx namespace with two repositories inside? This would also open a possibility to host other projects related to NuttX in the same place in the future. On Fri, 18 Nov 2022, 17:30 Gregory Nutt, wrote: > > > why can’t we just have : > > > > nuttx, apps > > > > as it h

Re: New names of repositories

2022-11-17 Thread Maciej Wójcik
It is of course subjective, but dashes are typically used for URLs, not underscores. Just to quote a Google recommendation https://developers.google.com/search/docs/crawling-indexing/url-structure?hl=en&visit_id=638043215091036715-3041335353&rd=1 [image: image.png] In case some tools have an issu

Re: Can 2 UARTs coexist in nuttx?

2021-08-11 Thread Maciej Wójcik
- Enable another UART in blue configuration menu, section called Device drivers - It will appear in /dev in NSH as ttySX - Open it in your code and write to it. For examples search in NuttX apps. It is not documented because it is POSIX. On Wed, 11 Aug 2021, 04:59 Sathish Touch energy, wrote: >

Re: ./tools/configure.sh | find -L | to follow symlinks

2021-08-03 Thread Maciej Wójcik
ribed there. I am sorry for the inconvenience. It looks a bit complicated, but it is quite simple in the end. Am Di., 3. Aug. 2021 um 10:10 Uhr schrieb Maciej Wójcik : > In general, you probably don't want to change files in the OS repository > just to attach your board. > > I was su

Re: ./tools/configure.sh | find -L | to follow symlinks

2021-08-03 Thread Maciej Wójcik
In general, you probably don't want to change files in the OS repository just to attach your board. I was supposed to document how to do this correctly, more than a half year ago. I didn't, but what you need is described in this issue https://github.com/apache/incubator-nuttx/issues/2206#issuecomm

Re: Undefined reference to longjmp/setjmp

2021-06-10 Thread Maciej Wójcik
> as NuttX does not support the function system() Hmm, I don't think this is true. You just need to enable `system()` in configuration http://nuttx-config.nxtlabs.pl/#/?current=SYSTEM_SYSTEM Am Do., 10. Juni 2021 um 17:52 Uhr schrieb Fotis Panagiotopoulos < f.j.pa...@gmail.com>: > Regarding Lu

Re: [Discuss] Migrate the build system to CMake

2021-06-09 Thread Maciej Wójcik
Quoting Sebastien: > It it's not broken, dont fix it. > - it works for its intended purposes > - it is pretty complex > - ALL USERS have become used to it Sebastien, what tools are you using for development? Make has such poor support for any tooling. Some IDE's understand it partially, some not

Re: Handling of newbie-oriented fixes

2021-01-05 Thread Maciej Wójcik
Just fork again from main nuttx repository, to satisfy github. Then a) manually put yout changes back and commit, or b) add your current fork as additional remote, and get your commits from there. If fork doesn't have changes, you can pull it. Otherwise you might try to cherry pick. On Tue, 5 Jan

Re: Basic Documentation Update

2020-12-31 Thread Maciej Wójcik
Hello, I would suggest making merge request to the documentation inside repository. Confluence document could be copied there and then ascii art added. But it is my personal opinion. Not sure what was decided about confluence wiki. Yet, I had an impression that documentation should be gradually m

Re: UPD send delay

2020-11-09 Thread Maciej Wójcik
In case of board I was working with, the network traffic was handled by low priority work queue. It is probably the same with your network driver. Such work queue has configuration. Maybe you need to change some parameters of it. It might help if you send here your configuration file, or part of

Re: sim target failures 10.0 branch

2020-10-26 Thread Maciej Wójcik
Hi Brennan, I would gladly join you with checking some of the boards in this table. For example I have some nostalgic relation with `hymini-stm32v` my first board :D Just removed the dust from it and flashed with NuttX 10. It is almost working :) (it was hanging on the missing SD card for a min

Re: Color ANSI support in nsh

2020-08-17 Thread Maciej Wójcik
sions about if colour > terminals > > would ever take off cos folks couldn't see the point of them. That > argument > > got resolved. > > > > Colour certainly has utility. Small size does too. If we can accommodate > > both (KConfig) then everyone is a winner. > &

Re: Color ANSI support in nsh

2020-08-16 Thread Maciej Wójcik
I am confused a bit. Are you all guys talking about the same thing? If I understand correctly Christian just wanted to introduce colors to NSH. Colours in the terminal are not about looking good. Colours improve readability. The same text on the screen carries more information. This is why everyon

Re: Roadmap?

2020-08-05 Thread Maciej Wójcik
1) More opinionated documentation a) In particular clear instructions: – where to get compilers for C/C++ – how to setup project with an application outside of nuttx, and clear [apps], [libs], [board], [nuttx] structure – how to set up your own board These questions are recurring. The

Re: Markdown READMEs?

2020-07-22 Thread Maciej Wójcik
This PR changes all READMEs in `apps` repository into Markdown https://github.com/apache/incubator-nuttx-apps/pull/337 More in the description. Am Di., 21. Juli 2020 um 20:37 Uhr schrieb Adam Feuer : > Matias, > > Yes, I have the NuttX.html file partially converted. I'll see if I can get >

Re: Markdown READMEs?

2020-07-17 Thread Maciej Wójcik
Sure, Matias. I was not addressing your proposition in any way. I was just commenting on existing format of READMEs. I am neutral regarding separate repository with documentation. At least at the moment, I need to sleep with the idea (more). Some if not all READMES will stay in the repository and

Re: Markdown READMEs?

2020-07-17 Thread Maciej Wójcik
Regarding Markdown: I don't feel like I contribute here enough to have meaningful vote, but: Readmes in Markdown are present in almost every GitHub, GitLab project. In particular in almost every Python, Node.js, React/Angular/Vue project. Also quiclky looking at some C projects - https://github.

Re: Markdown READMEs?

2020-07-15 Thread Maciej Wójcik
> what do you think about using Markdown for README files? Since the project was very conservative so far, I used regular expression to parse some existing files into Markdown. Although it is not completely reliable. I also think that markdown in repository would be great. Even trying to sneak in

Re: NuttX 9.X C++11 Support

2020-06-20 Thread Maciej Wójcik
t; compatible with NuttX. See > > > https://cwiki.apache.org/confluence/display/NUTTX/Integrating+with+Newlib > > > > This should be used instead: > > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629545 > > > > On 6/19/2020 3:54 PM, M

Re: NuttX 9.X C++11 Support

2020-06-19 Thread Maciej Wójcik
I was using newlib. It is bundled with ARM GCC toolchain, at least on Ubuntu and Arch. Worked out of the box, except I remember having minor build issues from time to time, when adding additional headers. This question was appearing here in the past. I am also not sure what is the official answer.

Re: NuttX config browser

2020-06-18 Thread Maciej Wójcik
at online version has the full feature as the local > version because vscode is built from JS, CSS, and HTML. > > > -Original Message- > > From: Maciej Wójcik > > Sent: Monday, June 1, 2020 11:23 AM > > To: dev@nuttx.apache.org > > Subject: Re: NuttX co

Re: NuttX config browser

2020-05-31 Thread Maciej Wójcik
have a way to compile NuttX in the > browser, like MBED is doing for a long time (more than 8 years at > least). > > BR, > > Alan > > On 5/31/20, Maciej Wójcik wrote: > >> > >> Maciej's tool is much easier to use. Maciej has several other cool Nut

Re: NuttX config browser

2020-05-31 Thread Maciej Wójcik
g > tablet. > Original message From: Brennan Ashton < > bash...@brennanashton.com> Date: 5/31/20 11:04 AM (GMT-06:00) To: > dev@nuttx.apache.org Subject: Re: NuttX config browser On Sun, May 31, > 2020, 9:17 AM Maciej Wójcik wrote:> That document is > old, f

Re: MSYS2 build slow

2020-05-31 Thread Maciej Wójcik
Thanks for explanation. I went through that PR right now. I was just reporting as a good citizen :) I will check Issue pane next time before spamming.

NuttX config browser

2020-05-31 Thread Maciej Wójcik
Hello, On many occasions I want to lookup configuration options in NuttX and I found it inconvenient to run `menuconfig` for this. So I quickly created a small web interface and deployed it here http://nuttx-config.nxtlabs.pl It allows browsing and simple filtering of configuration entries.

Re: MSYS2 build slow

2020-05-31 Thread Maciej Wójcik
> > PR 1149 has been merged. That means that the incdir.c program has now > been incorporated into the build system. There might be some regression within this solution. When I simply clone and configure NuttX, I get a repeated error. It might be related to recent change mkdir test cd test git

Re: Should we relax precheck a little bit?

2020-03-13 Thread Maciej Wójcik
Are you sure that clang-format cannot indent macros? What about IndentPPDirectives: PPDIS_AfterHash It also treats the outmost macro in headers in a special way. On Sat, 14 Mar 2020, 01:03 Adam Feuer, wrote: > David, > > Re: whatstyle, I ran it overnight on the c files in sched/ and came up