Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
xQueueSend() -> xQueueSendToBack()
xQueueSendFromISR() -> xQueueSendToBackFromISR()
  • Loading branch information
quantum-leaps committed May 5, 2024
1 parent bffa680 commit 9affe05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Brought to you by:
[![Quantum Leaps](https://www.state-machine.com/attachments/logo_ql_400.png)](https://www.state-machine.com)
<hr>

--------------------------------------------------------------------------
![FreeACT](img/FreeACT.png)
<p align="center"><img src="img/FreeACT.png"/></p>

- [What is it?](#what-is-it)
- [Directories and Files](#directories-and-files)
Expand All @@ -13,7 +13,7 @@

# What is it?
"FreeACT" is a minimal real-time embedded framework (RTEF) based on the
FreeRTOS kernel. FreeACT implemetns the Active Object (a.k.a. Actor) design pattern.
FreeRTOS kernel. FreeACT implements the Active Object (a.k.a. Actor) design pattern.

This presentation explaining "FreeACT" is available on YouTube in the following playlist:

Expand All @@ -37,7 +37,7 @@ FreeACT/
| +---nucleo-h743zi/ - low-level code to support the STM32 NUCLEO-H743ZI board
|
+---examples/
| +---blinky_button/ - Blinky-Button exammple with FreeAct
| +---blinky_button/ - Blinky-Button exammple with FreeACT
| | +---armclang/ - projects for ARM/KEIL with "compiler 6" (armclang)
| | | efm32pg1b.uvprojx - project for EFM32PG1B (Pearl Gecko) board
| | | ek-tm4c123gxl.uvprojx - project for EK-TM4C123GX (TivaC LaunchPad) board
Expand Down Expand Up @@ -66,22 +66,22 @@ The examples are provided for the following embedded boards:
- **STM32 NUCLEO-H743ZI** (ARM Cortex-M7 with double-precision FPU)
<p align="center"><img src="img/bd-NUCLEO-H743ZI.png"/></p>

- other boards comong in the future...
- other boards coming in the future...

# Licensing
FreeACT is [licensed](LICENSE.txt) under the MIT open source license, which is the same
used in FreeRTOS.


# Invitation to Collaborate
**This project welcomes collaboration!** Please help to improve FreeAct,
**This project welcomes collaboration!** Please help to improve FreeACT,
port it to other processors, integrate it with other embedded software,
add interesting examples, etc. To avoid fragmentation, this repository is
intended to remain the home of SST. To contribute, please clone, fork,
intended to remain the home of FreeACT. To contribute, please clone, fork,
and submit **pull requests** to incorporate your changes.


# How to Help this Project?
If you like this project, please give it a star (in the upper-right corner of your browser window):

![GitHub star](img/github-star.jpg)
<p align="center"><img src="img/github-star.jpg"/></p>
6 changes: 3 additions & 3 deletions src/FreeAct.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ void Active_start(Active * const me,

/*..........................................................................*/
void Active_post(Active * const me, Event const * const e) {
BaseType_t status = xQueueSend(me->queue, (void *)&e, (TickType_t)0);
BaseType_t status = xQueueSendToBack(me->queue, (void *)&e, (TickType_t)0);
configASSERT(status == pdTRUE);
}

/*..........................................................................*/
void Active_postFromISR(Active * const me, Event const * const e,
BaseType_t *pxHigherPriorityTaskWoken)
{
BaseType_t status = xQueueSendFromISR(me->queue, (void *)&e,
pxHigherPriorityTaskWoken);
BaseType_t status = xQueueSendToBackFromISR(me->queue, (void *)&e,
pxHigherPriorityTaskWoken);
configASSERT(status == pdTRUE);
}

Expand Down

0 comments on commit 9affe05

Please sign in to comment.