RTEMS / RTOS / Examples¶
Go to Issues or Merge Requests
Issues¶
6 - Add Portable Hello World Example¶
Id |
6 |
State |
closed |
Type |
ISSUE |
Author |
Joel Sherrill |
Assignee(s) |
Joel Sherrill |
Closed by |
Gedare Bloom |
Created |
2024-12-06T18:30:23.188Z |
Closed |
2024-12-07T02:56:57.187Z |
Updated |
2024-12-07T02:56:57.199Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/6 |
Merges |
0 |
Summary¶
Add an example hello world that shows how a “normal” POSIX program can be used with RTEMS. The pattern of putting RTEMS initialisation and configuration in a dedicated file (e.g. rtems_config.c) is done in some other examples but not in a simple one just to highlight this pattern.
Pre-set options¶
Author: Joel Sherrill
2024-12-06T18:30:28.380Z
assigned to @joel
Author: Joel Sherrill
2024-12-06T18:30:28.789Z
Author: Joel Sherrill
2024-12-06T18:30:33.013Z
created branch 6-add-portable-hello-world-example to address this issue
Author: Joel Sherrill
2024-12-06T18:50:23.094Z
mentioned in merge request !11
4 - Build fails on regulator test¶
Id |
4 |
State |
closed |
Type |
ISSUE |
Author |
Kinsey Moore |
Assignee(s) |
Kinsey Moore |
Closed by |
Chris Johns |
Created |
2024-11-15T20:45:18.209Z |
Closed |
2024-11-22T02:58:09.523Z |
Updated |
2024-11-26T15:32:00.307Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/4 |
Merges |
1 |
Summary¶
This currently fails to build when it gets to misc/regulator due to what appears to be a renamed struct member.
Steps to reproduce¶
Pre-set options¶
Author: Kinsey Moore
2024-11-15T20:45:18.298Z
assigned to @opticron
Author: Amar Takhar
2024-11-15T21:00:14.910Z
Doesn’t this get included with the release are we okay not having this for %6.1 @chris ??
Author: Kinsey Moore
2024-11-15T21:00:14.876Z
I was going to ask. If it’s included with the release it needs to get fixed.
Author: Kinsey Moore
2024-11-15T21:01:16.222Z
Yeah, it’s part of RC4.
Author: Joel Sherrill
2024-11-15T21:32:47.780Z
I’m sorry. I think I had a branch with this fixed but between switching development OSes and removing and cloning after moving to Gitlab, I must have lost it.
It is just renaming from what I recall.
If @opticron doesn’t fix it first you can assign it to me.
Author: Kinsey Moore
2024-11-22T02:49:04.479Z
mentioned in merge request !6
Author: Chris Johns
2024-11-22T02:58:21.702Z
mentioned in commit 4fad14ae6476a9314ab99efe2534310ab2c03bb2
Author: Chris Johns
2024-11-22T02:58:55.742Z
mentioned in merge request !7
Author: Kinsey Moore
2024-11-26T15:32:00.281Z
mentioned in merge request !10
1 - Update rtems_waf to gitlab¶
Id |
1 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Closed by |
Chris Johns |
Created |
2024-06-11T09:49:09.224Z |
Closed |
2024-06-13T02:21:29.300Z |
Updated |
2024-06-13T02:21:29.353Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/1 |
Merges |
1 |
Update the rtems_waf
submodule to point to gitlab.rtems.org
Author: Kinsey Moore
2024-06-12T15:48:59.280Z
mentioned in merge request !1
5 - Update waf to 2.1.4 (opened)¶
Id |
5 |
State |
opened |
Type |
ISSUE |
Author |
Gedare Bloom |
Assignee(s) |
Amar Takhar |
Created |
2024-12-04T22:18:05.464Z |
Updated |
2024-12-04T22:46:42.296Z |
Milestone |
6.1 |
Labels |
backport, tool::waf |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/5 |
Merges |
0 |
Summary¶
The latest verison of waf fixes several issues on Windows. We also have a huge inconsistency in the version we’re running which we should probably fix:
./rtems-deployment/waf waf 2.0.24 (1af97c71f5a6756abf36d0f78ed8fd551596d7cb)
./rtems-docs/waf waf 2.1.3 (ee9a11d51e94d31c548fd5b6a8103c68327b3354)
./rtems-examples/waf waf 2.0.25 (2db0b41b2805cd5db3b55476c06b23c1e46d319f)
./rtems-libbsd/waf waf 2.0.25 (2db0b41b2805cd5db3b55476c06b23c1e46d319f)
./rtems-littlevgl/waf waf 2.0.25 (2db0b41b2805cd5db3b55476c06b23c1e46d319f)
./rtems-lwip/waf waf 2.0.18 (314689b8994259a84f0de0aaef74d7ce91f541ad)
./rtems-net-legacy/waf waf 2.1.2 (8504c212ce81919a5858a5118570613422338852)
./rtems-net-services/waf waf 2.0.25 (2db0b41b2805cd5db3b55476c06b23c1e46d319f)
./rtems-tools/waf waf 2.1.2 (8504c212ce81919a5858a5118570613422338852)
./rtems/waf waf 2.1.3 (ee9a11d51e94d31c548fd5b6a8103c68327b3354)
Steps to reproduce¶
Pre-set options¶
Author: Amar Takhar
2024-11-16T20:21:25.689Z
marked this issue as blocking rtems/docs/rtems-docs#54
Author: Amar Takhar
2024-11-16T20:21:31.439Z
changed the description
Author: Gedare Bloom
2024-11-17T00:11:44.128Z
Should we automate an approach to keep all our repos in sync with waf version?
Author: Amar Takhar
2024-11-17T00:19:39.724Z
Yeah I already have that written down but it’s not that easy. We need to think about the workflow of how this should happen. There needs to be a process to test the new version against all the repositories to make sure it works and then update so we need to be more deliberate about it.
I have some ideas about it but the procedural part needs to be discussed: what’s important enough to upgrade for and do we want to support one repo getting ahead of others to avoid increasing the size of our repositories or whether we care or not. Clearly the above is not great having
2.0
vs2.1
Having said that2.1.4
has fixes we really want for Windows.
Author: Amar Takhar
2024-11-17T01:08:46.506Z
Author: Amar Takhar
2024-11-17T03:50:21.836Z
assigned to @amar
Author: Amar Takhar
2024-11-17T04:22:19.639Z
After this update is done I’ll create another issue for the next update. As we require an update we should collect reasons, issues and MRs until we trigger the next update. Of course a critical issue should be an immediate update but smaller things for instance if it’s specific to one repo we can let that one repo get out of sync until we have more of are reason to update project-wide. otherwise we may end up update too often.
Author: Amar Takhar
2024-11-18T20:19:26.807Z
mentioned in merge request rtems!318
Author: Amar Takhar
2024-11-20T23:35:55.569Z
mentioned in commit amar/rtems-deployment@c8fd177b03fb5130697a7411d716f1542c6175b1
Author: Amar Takhar
2024-11-20T23:36:01.722Z
mentioned in commit amar/rtems-docs@ff70333104a0aaa05877df336d1bb1672b205b73
Author: Amar Takhar
2024-11-20T23:36:04.790Z
mentioned in commit amar/rtems-examples@8056cf5ccaaff51477096bdd3ae3850cecee957d
Author: Amar Takhar
2024-11-20T23:36:05.900Z
mentioned in commit amar/rtems-libbsd@2cac334d6a21b6006dfee4613d3da78eec26b1c8
Author: Amar Takhar
2024-11-20T23:36:08.424Z
mentioned in commit amar/rtems-littlevgl@7831e7125a6efe283e3c65efec1e24a96fdfc2ac
Author: Amar Takhar
2024-11-20T23:36:10.195Z
mentioned in commit amar/rtems-lwip@24f46d35dedf08807d6088443ab5c82e95c36ed8
Author: Amar Takhar
2024-11-20T23:36:12.174Z
mentioned in commit amar/rtems-net-legacy@8845824db452168140610db037ea0359e363cf1d
Author: Amar Takhar
2024-11-20T23:36:14.636Z
mentioned in commit amar/rtems-net-services@7bcc152d49267e5b5ca3c00c1707cc40b2ef95b6
Author: Amar Takhar
2024-11-20T23:36:17.086Z
mentioned in commit amar/rtems-tools@12a94b63506ad84ec1c4feed56d3ce2e85475d85
Author: Amar Takhar
2024-11-20T23:36:21.347Z
mentioned in commit amar/rtems@62baa874b823fea35b7cdea78734d277ada7b455
Author: Amar Takhar
2024-11-20T23:39:31.029Z
mentioned in merge request rtems!323
Author: Amar Takhar
2024-11-20T23:39:48.843Z
mentioned in merge request rtems/tools/rtems-tools!44
Author: Amar Takhar
2024-11-20T23:40:09.031Z
mentioned in merge request rtems/pkg/rtems-net-services!9
Author: Amar Takhar
2024-11-20T23:40:25.975Z
mentioned in merge request rtems/pkg/rtems-net-legacy!6
Author: Amar Takhar
2024-11-20T23:40:33.280Z
mentioned in merge request rtems/pkg/rtems-lwip!11
Author: Amar Takhar
2024-11-20T23:40:41.082Z
mentioned in merge request rtems/pkg/rtems-littlevgl!4
Author: Amar Takhar
2024-11-20T23:40:53.742Z
mentioned in merge request rtems/pkg/rtems-libbsd!25
Author: Amar Takhar
2024-11-20T23:41:01.964Z
mentioned in merge request rtems-examples!5
Author: Amar Takhar
2024-11-20T23:41:10.912Z
mentioned in merge request rtems/docs/rtems-docs!89
Author: Amar Takhar
2024-11-20T23:41:24.453Z
mentioned in merge request rtems/tools/rtems-deployment!13
Author: Gedare Bloom
2024-11-21T00:03:44.787Z
mentioned in commit gedare/rtems-docs@2f1694269539dc59177b203df1b8481ee52f989a
Author: Gedare Bloom
2024-11-21T00:04:29.322Z
mentioned in merge request rtems/docs/rtems-docs!85
Author: Gedare Bloom
2024-11-21T00:06:48.926Z
mentioned in commit gedare/rtems-docs@816d14787b8bb89e7830c9885946fa8dc6dadf79
Author: Amar Takhar
2024-11-22T10:02:29.944Z
mentioned in commit amar/rtems-docs@24cf46b966d77bada338422de2ead632f79beb89
Author: Amar Takhar
2024-11-24T23:02:01.254Z
mentioned in commit amar/rtems-docs@7582461dbcff0287bb8bc1a615734696a416b266
Author: Amar Takhar
2024-11-24T23:03:10.673Z
mentioned in commit amar/rtems-examples@ac68170083fc3b2e5ce9a63a6c64b4b2e5d7915f
Author: Amar Takhar
2024-11-24T23:03:49.371Z
mentioned in commit amar/rtems-libbsd@a2d65d78fbe832a50ca6c986936c9b0c16647739
Author: Amar Takhar
2024-11-24T23:06:27.181Z
mentioned in commit amar/rtems@03c5b7e88f165ea56487e78822cf0b8595c79cfa
Author: Amar Takhar
2024-11-25T01:33:09.501Z
mentioned in commit amar/rtems-docs@b9af7d8fad94c310f7d973c10b5a7c2da8d4e7e8
Author: Amar Takhar
2024-12-04T21:56:00.650Z
mentioned in commit amar/rtems@8d71cc5dc4a0e11fd7b8d7b5b94bb2e54d3a6f9e
Author: Gedare Bloom
2024-12-04T22:16:38.325Z
cloned to rtems/docs/rtems-docs#62
Author: Gedare Bloom
2024-12-04T22:17:50.530Z
cloned to rtems/tools/rtems-deployment#3
Author: Gedare Bloom
2024-12-04T22:18:09.529Z
cloned from rtems#5153
Author: Gedare Bloom
2024-12-04T22:18:05.641Z
assigned to @amar
Author: Gedare Bloom
2024-12-04T22:21:47.621Z
Author: Gedare Bloom
2024-12-04T22:46:42.192Z
Merge Requests¶
11 - portable_hello: Add example of using standard portable POSIX source.¶
Id |
11 |
State |
merged |
Merged by |
Gedare Bloom |
Merged at |
2024-12-07T02:56:49.105Z |
Assignee(s) |
Joel Sherrill |
Created |
2024-12-06T18:50:08.067Z |
Updated |
2024-12-07T02:56:50.726Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/11 |
Commit |
Summary¶
portable_hello: Add example of using standard portable POSIX source.
Closes #6
Author: Joel Sherrill
2024-12-06T18:50:10.819Z
assigned to @joel
Author: Gedare Bloom
2024-12-07T02:56:44.679Z
approved this merge request
10 - regulator: Update for a change in attributes¶
Id |
10 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2024-11-27T02:16:47.455Z |
Assignee(s) |
Kinsey Moore |
Created |
2024-11-26T15:31:54.228Z |
Updated |
2024-11-27T02:16:48.792Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/10 |
Commit |
Summary¶
regulator: Update for a change in attributes
(cherry picked from commit 664ea9425d7d986df96d6fe3e23c646bf9938808)
Co-authored-by: Kinsey Moore <kinsey.moore@oarcorp.com>
Author: Kinsey Moore
2024-11-26T15:31:54.639Z
assigned to @opticron
Author: Kinsey Moore
2024-11-26T15:32:52.802Z
changed target branch from
main
to6
Author: Chris Johns
2024-11-27T02:16:42.742Z
approved this merge request
8 - Fix regulator compile problem and warnings in other examples¶
Id |
8 |
State |
merged |
Merged by |
Kinsey Moore |
Merged at |
2024-11-25T03:08:27.883Z |
Assignee(s) |
Joel Sherrill |
Created |
2024-11-22T17:22:38.337Z |
Updated |
2024-11-26T15:31:20.853Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/8 |
Commit |
Summary¶
Fixed regulator_example.c to use delivery not output thread in structure member names
Fixed warnings in other examples.
Close #3.
Author: Joel Sherrill
2024-11-22T17:24:20.677Z
changed title from regulator{-_exa-}mple{-.c: Update to use delivery not output thread-} to {+Fix +}regulator{+ co+}mp{+i+}le{+ problem and warnings in other examples+}
Author: Joel Sherrill
2024-11-22T17:24:20.704Z
changed the description
Author: Joel Sherrill
2024-11-22T17:24:20.754Z
assigned to @joel
Author: Kinsey Moore
2024-11-22T17:57:22.367Z
added 4 commits
664ea942 - 1 commit from branch
rtems/rtos:main
c250628b - psx_sched_report.c: Include unistd.h for getpid()
f151e33b - psx_example_3: Fix warnings from printf format specifiers
84278630 - LocalMessageQueuePOSIX10031c.h: Address used before initialized warning
Author: Chris Johns
2024-11-22T23:45:15.138Z
Is this to be back ported to 6?
Author: Kinsey Moore
2024-11-25T03:03:35.915Z
added 4 commits
ac681700 - 1 commit from branch
rtems/rtos:main
864ccbbd - psx_sched_report.c: Include unistd.h for getpid()
5d4dd01c - psx_example_3: Fix warnings from printf format specifiers
c03799ad - LocalMessageQueuePOSIX10031c.h: Address used before initialized warning
Author: Kinsey Moore
2024-11-25T03:08:18.157Z
approved this merge request
Author: Chris Johns
2024-11-26T15:31:20.867Z
@opticron a new MR for %”6.1” needs to be created
Author: Kinsey Moore
2024-11-26T15:31:20.836Z
It looks like 2 of these commits are already on 6 branch. I’ll create a MR for the missing one.
Author: Kinsey Moore
2024-11-26T15:32:00.341Z
mentioned in merge request !10
9 - Fix warnings in other examples¶
Id |
9 |
State |
merged |
Merged by |
Joel Sherrill |
Merged at |
2024-11-25T22:31:08.135Z |
Assignee(s) |
Chris Johns |
Reviewer(s) |
Joel Sherrill |
Created |
2024-11-25T22:00:27.316Z |
Updated |
2024-11-25T22:31:09.388Z |
Milestone |
6.1 |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/9 |
Commit |
Fix warnings in examples
(cherry picked from commit c03799ad80276ef11b460b6ae272214ef476401c)
Co-authored-by: Joel Sherrill joel@rtems.org
Author: Chris Johns
2024-11-25T22:00:27.492Z
assigned to @joel
Author: Chris Johns
2024-11-25T22:24:41.677Z
added 1 commit
4a87b221 - psx_example_3: Fix warnings from printf format specifiers
Author: Chris Johns
2024-11-25T22:27:56.474Z
changed title from Fix {-regulator compile problem and -}warnings in other examples to Fix warnings in other examples
Author: Chris Johns
2024-11-25T22:27:56.496Z
changed the description
Author: Chris Johns
2024-11-25T22:27:56.521Z
requested review from @joel
Author: Chris Johns
2024-11-25T22:27:56.539Z
assigned to @chris and unassigned @joel
Author: Joel Sherrill
2024-11-25T22:31:01.649Z
approved this merge request
2 - Convert README* to MarkDown.¶
Id |
2 |
State |
merged |
Merged by |
Gedare Bloom |
Merged at |
2024-07-10T06:04:30.898Z |
Assignee(s) |
Amar Takhar |
Created |
2024-07-08T00:47:32.314Z |
Updated |
2024-08-10T00:40:02.693Z |
Milestone |
6.1 |
Labels |
doc |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/2 |
Commit |
Summary¶
Convert README* to MarkDown.
Coalesce the three README files into one. Does not make sense to have them seperate especially with MarkDown.
This does not make any other changes.
Author: Amar Takhar
2024-07-08T00:47:32.467Z
assigned to @amar
Author: Amar Takhar
2024-07-08T08:15:42.191Z
added 1 commit
98b8da78 - Convert README* to MarkDown.
Author: Amar Takhar
2024-07-08T08:17:40.938Z
Updated to fix two of the
shell
block markers. I looked at it online and saw it was still brokengrip
showed it as broken to me locally but I thought maybe it was a rendering issue. It wasn’t the issue was the level was off by 1 character needed to be indented further in the list.
Author: Amar Takhar
2024-07-08T08:19:36.600Z
added 1 commit
437d3c94 - Convert README* to MarkDown.
Author: Gedare Bloom
2024-07-10T06:04:23.558Z
approved this merge request
3 - Convert LICENSE.* to MarkDown¶
Id |
3 |
State |
merged |
Merged by |
Kinsey Moore |
Merged at |
2024-07-25T22:32:05.036Z |
Assignee(s) |
Amar Takhar |
Created |
2024-07-20T05:02:03.445Z |
Updated |
2024-07-25T22:32:08.265Z |
Milestone |
6.1 |
Labels |
doc |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/3 |
Commit |
Summary¶
Author: Amar Takhar
2024-07-20T05:02:03.616Z
assigned to @amar
Author: Kinsey Moore
2024-07-25T22:32:01.528Z
approved this merge request
1 - Update rtems_waf location¶
Id |
1 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2024-06-13T02:21:28.694Z |
Assignee(s) |
Kinsey Moore |
Created |
2024-06-12T15:48:55.861Z |
Updated |
2024-06-13T02:21:30.829Z |
Milestone |
6.1 |
Labels |
tool::waf |
Link |
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/1 |
Commit |
Summary¶
Closes #1
Author: Kinsey Moore
2024-06-12T15:48:56.001Z
assigned to @opticron
Author: Chris Johns
2024-06-13T02:21:25.628Z
approved this merge request