Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer my new and modified usr/app modifications and enhancements. #159

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

ab1aw
Copy link

@ab1aw ab1aw commented Feb 26, 2019

Modified the usr/app/gpioer/main.c (from benwei) to properly compile and execute within the master f-kernel branch.

Create a user app demonstration of a mechanism to work around the missing kernel support for passing an argument to a thread function.

Experimenting with user app examples demonstrating IPC among three (3) threads instead of two.

Modified ping-pong usr app to send incrementing message counter from ping thread to pong thread. Both threads display current counter value.

ab1aw added 27 commits February 7, 2019 14:14
…in CygWin environment using 8.2018-q4-mafor ARM toolset.
…g the version 8-2018-q4-major ARM toolchain. Revert back to using the 4_8-2013q4-major ARM toolchain when building on Windows 10 w/ CygWin.
…rom https://raw.githubusercontent.com/benwei/f9-kernel plus modifications to achieve successful build. Execution is faulty; execution halts without displaying boot info.
…ping thread to pong thread. Both threads display current counter value.
 NICTA L4-embedded API
 from m
http://ertos.nicta.com.au/ Mational ICT Australia.
…sing kernel support for passing an argument to a thread function.
…erly in button_monitor_thread() : gpio_config_input(GPIOA, BUTTON_CUSTOM_PIN, GPIO_PUPDR_DOWN);
…and USART sharing same GPIO of PA0,PA1. Moved USART to use PA2,PA3.
…ve this issue: support for pager_start_thread() arg parameter.
… platform/stm32f429/i2c.c to platform/stm32f4/i2c.c. Added calls to initialize I2C in main() of new i2c/main.c. Successfully compiled and executed.
…ion's parmater void*arg instead of sending a message to it for initialization data. Note that the generic thread (ping_thread(void *arg)) has now only a single L4_Receive() in the while(1) loop; the other L4_Receive() prior to the while(1) loop is removed in favor of using the (void *arg) for initialization data.
…PC timeout and receovery when a receiving thread timeout occurs in the case of no sending thread.
@slpbaby
Copy link
Contributor

slpbaby commented Mar 11, 2019

Should we put L4 User Manual link only instead of commit the pdf file? As I remember, git is not very good at handling binary file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants