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

Introduce portMEMORY_BARRIER(), prvTaskExitError() and xPortIsInsideInterrupt() into RX generic port #10

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

Conversation

NoMaY-jp
Copy link

Description

This PR fixes issue #8 and #7 and also introduces xPortIsInsideInterrupt() into RX generic port similaly such as Cortex-Mxx ports.

Test Steps

(1) It was tested by full demo of RX72N Envision Kit with CC-RX/ICCRX/GUNURX.
(2) Additionally full demos of TB-RX130/RX231/RX65N with CC-RX/ICCRX/GUNURX were executed to check that there were no problems.

Somehow GitHub complains that "Can't automatically merge.".

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

paulbartell and others added 19 commits May 28, 2021 23:03
* Adds SemphrGetCountFromISR with QMsgWaitingFromISR
event_wait_timed() was ignoring a timeout of 1000 ms.
Presumably this is because pthread_cond_timedwait() only
considers tv_nsec less than one second.

Convert the timeout in miliseconds to second and nanosecond
components to fix this.

Co-authored-by: alfred gedeon <[email protected]>
…RTOS#350)

* Introduce configRUN_TIME_COUNTER_TYPE which enables developers to define the type used to hold run time statistic counters.  Defaults to uint32_t for backward compatibility.  #define configRUN_TIME_COUNTER_TYPE to a type (for example, uint64_t) in FreeRTOSConfig.h to override the default.

Introduce ulTaskGetIdleRunTimePercent() to complement the pre-existing ulTaskGetIdleRunTimeCounter().  Whereas the pre-existing function returns the raw run time counter value, the new function returns the percentage of the entire run time consumed by the idle task.  Note the amount of idle time is only a good measure of the slack time in a system if there are no other tasks executing at the idle priority, tickless
idle is not used, and configIDLE_SHOULD_YIELD is set to 0.

* Add ultaskgetidleruntimepercent to lexicon.txt.

* Update History file.
Add the MPU version of ulTaskGetIdleRunTimePercent().

* Update include/FreeRTOS.h to correct comment as per aggarg@ suggestion.
* Fix alignment in mpu_wrappers.h.
Commit changes to mpu_prototypes.h which were missed from the original commit.
* Add new submodules

* Update submodule location
…access (FreeRTOS#357)

The difference between this port and portable/GCC/ARM_CA53_64_BIT is
that this port uses System Register interface to access CPU interface
while the other one uses Memory-mapped interface.

Signed-off-by: Gaurav Aggarwal 
Co-authored-by: Cobus van Eeden <[email protected]>
This issue was reported here: FreeRTOS#358

Signed-off-by: Gaurav Aggarwal <[email protected]>
* Add RP2040 support

* remove spurious tab/spaces comments

* add .cmake to ignored kernel checks

* Apply suggestions from code review

Co-authored-by: Paul Bartell <[email protected]>

* license and end of file newline fixes

* Rename LICENSE.TXT to LICENSE.md

Co-authored-by: Paul Bartell <[email protected]>
Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
* Use cast to fix warnings.

* Remove all empty definitions of portCLEAN_UP_TCB( pxTCB ) and
  portALLOCATE_SECURE_CONTEXT( ulSecureStackSize ) from ports.
  When these are undefined, the default empty definition is defined
  in FreeRTOS.h.
* Add ReadMe for third party port contributions

Signed-off-by: Gaurav Aggarwal <[email protected]>
* uncrustify with github workflows

* Fix find expression

* Add uncrustify configuration file

* Uncrustify some files

* uncrustify some more files

* uncrustify more files

* Fix whitespace at end of lines

Co-authored-by: Cobus van Eeden <[email protected]>
…eRTOS#348)

* Indent contents of a taskENTER_CRITICAL/taskEXIT_CRITICAL block.
Move a few configASSERT() statements out of a path where they would always be triggered to prevent "condition is always true" compiler warnings.

* Replace configASSERT() positions due to unintended semantic change from the version where asserts were at the top of the file.

Co-authored-by: RichardBarry <[email protected]>
Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
…TOS V10.4.4 and also xPortIsInsideInterrupt() and prvTaskExitError()
@NoMaY-jp
Copy link
Author

すみません、ひとつ思ったのですが、フォルダの一本化に手間が掛かるようでしたら、フォルダ構造は個別フォルダのままにして、それぞれのフォルダに同じファイルを入れてしまうのも、ひとつの手かなと思いました。

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.