Re: rtems-docs fail to build

2022-08-12 Thread Joel Sherrill
On Fri, Aug 12, 2022 at 1:06 AM Chris Johns  wrote:

> On 12/8/2022 6:10 am, Joel Sherrill wrote:
> >
> > Subject says it. This is the error and a git bisect which points to Chris
> > updating the arm section of the user guide. I don't see the issue
> looking at the
> > patch.
> >
> > From f028448e5f21f4317a0a7b9b336d7e492ebea6c7 Mon Sep 17 00:00:00 2001
> > From: Chris Johns mailto:chr...@rtems.org>>
> > Date: Wed, 3 Aug 2022 14:20:52 +1000
> > Subject: [PATCH rtems-docs] versions: Update arm
> >
> > Error output followed by git bisect.
> >
> > Build: 6.f028448 (3rd August 2022)
> > [4/7] Compiling build/user/latex/user.tex
> > first pass on pdflatex
> > This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded
> > format=pdflatex)
> >  \write18 enabled.
> > entering extended mode
>
> The issue is the change I made to the ARM BSP to correctly handle section
> numbering and TOC. This changed the depth the source builds from and that
> has
> changed the relative path to the BBB P2 debug connector image. HTML does
> not
> generate an error however PDF does. I will push the fix.
>

Thank you. I can confirm this works.

I know it takes longer but every time I build docs, I build pdf and html.
It is
odd cases like this that point out why it is good to let it build and come
back
to check on it.


>
> I will also push a change to the pdflatex build that sets the TEXINPUTS env
> variable to include some sphinx latex support that was being silently
> ignored.
>

Great! Will this have any visible change on output?

--joel

>
> Chris
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Binary CPU / Thread information.

2022-08-12 Thread Sam Price
Is there a preferred api style, or just mimic the linux kernel task?
https://docs.huihoo.com/doxygen/linux/kernel/3.7/structtask__struct.html

FreeRTOS has
https://www.freertos.org/a00021.html#xTaskGetTickCount

vxworks has a spy interface.
https://www.ecb.torontomu.ca/~courses/ee8205/Data-Sheets/Tornado-VxWorks/vxworks/ref/spyLib.html#top

I would probably prefer a function and pass in a const task identifier, and
a pointer to a struct task to populate.
(Similar to the linux kernel example, possibly with the same names that get
populated?)

Sam
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

rtems-central: Error trying to add FACE POSIX Timer Behavior

2022-08-12 Thread Joel Sherrill
Hi

I've just attached the patch as a work in progress since spec2modules.py is
unhappy with what I've done so far. I'd appreciate some guidance. I checked
that spec2modules.py ran OK before my changes. I added a group-face and
hope I did that much right. But something is wrong. Help appreciated.

$ ./spec2modules.py
Traceback (most recent call last):
  File "./spec2modules.py", line 85, in 
main()
  File "./spec2modules.py", line 76, in main
rtemsspec.applconfig.generate(config["appl-config"], item_cache)
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/applconfig.py",
line 336, in generate
_generate(group, options, enabled, sphinx_content)
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/applconfig.py",
line 264, in _generate
content.add_option_notes(content.substitute(item["notes"]))
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/items.py", line
210, in __getitem__
return self._data[key]
KeyError: 'notes'

Thanks.

--joel


0001-Add-POSIX-Timer-FACE-Behavior-Configuration.patch
Description: Binary data
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: rtems-docs fail to build

2022-08-12 Thread Chris Johns
On 13/8/2022 1:24 am, Joel Sherrill wrote:
> On Fri, Aug 12, 2022 at 1:06 AM Chris Johns  > wrote:
> I will also push a change to the pdflatex build that sets the TEXINPUTS 
> env
> variable to include some sphinx latex support that was being silently 
> ignored.
> 
> Great! Will this have any visible change on output?

Not that I could see.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel