Commit graph

1147 commits

Author SHA1 Message Date
swaldhoer
2b956b97c7
Update uncrustify configuration and improve CI setup (see FreeRTOS/FreeRTOS-Kernel/pull/445) (#782)
* pin uncrustify version and update configuration file

* Update AbortDelay.c

* Update BlockQ.c

* Update MessageBufferDemo.c

* Update QPeek.c

* Update StaticAllocation.c

* Update integer.c

* Update recmutex.c

* Update create.c

* Update prvCopyDataToQueue.c

* Update prvUnlockQueue.c

* Update vQueueDelete.c

* Update xQueueGenericSend.c

* Update xQueueGenericSendFromISR.c

* Update xQueuePeek.c

* Update xQueueReceive.c

* Update IntSemTest.c

* Update dynamic.c

* Update lexicon.txt

Co-authored-by: alfred gedeon <28123637+alfred2g@users.noreply.github.com>
2022-02-04 13:37:42 -08:00
Ming Yue
fea193d03c
Update Kernel Pointer. (#779)
* Update Kernel Pointer.

* Update manifest.yml.
2022-02-01 11:33:29 -08:00
RichardBarry
4629138a42
Extend qemu virt riscv demo (#774)
* Simple blinky demo working.  Not tried full demo yet.

* Get the full demo running.

* Add Eclipse project to build the RISC-V_RV32_QEMU_VIRT_GCC gcc makefile.

* Add regtest tasks to the RISC-V_RV32_QEMU_VIRT_GCC demo.

* Update priority of the timer task.

* Adjust timer frequency and optimisation level before committing prior to rearranging the Eclipse project.

* Reorganise Eclipse project slightly.

* Add note to the RISC-V-Qemu-virt_GCC readme file about the updated version in RISC-V_RV32_QEMU_VIRT_GCC.

* Update headers in newly added source files so they pass the automated header check.

* Update lexicon to pass automated spell check.

Co-authored-by: none <>
2022-01-26 17:55:06 -08:00
Oscar Shiang
0744c28749
RISC-V-Qemu-virt: Add assert macros in FreeRTOSConfig (#777)
vAssertCalled() is already defined in main.c. We need to set the
related macros in FreeRTOSConfig header as well, or the boundary
checking through assert could not be executed
2022-01-18 11:28:57 -08:00
Ming Yue
778ba90b96
GCC/Rx100 Demo project files update to e2 Studio v8 (#776)
* Upgrade GCC project files for e2 studio v7.8.0 in Demo/RX100-RSK_GCC_e2studio folder

* Update Demo project file to e2 Studio v8 and remove the .bat file.

* Update the choice of toolchain version.

* Update the link in file header.

Co-authored-by: NoMaY (a user of Japan.RenesasRulz.com) <NoMaY-jp@outlook.com>
2022-01-13 10:30:34 -08:00
Gaurav-Aggarwal-AWS
d6a415da70
Update FreeRTOS-Kernel submodule pointer (#771)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-01-06 17:53:35 -08:00
Gaurav-Aggarwal-AWS
2f5a633383
Add tests to increase queue code coverage (#770)
These tests cover the following portion in the queue code:

static void prvUnlockQueue( Queue_t * const pxQueue )
{
    ...

    if( prvNotifyQueueSetContainer( pxQueue ) != pdFALSE )
    {
        /* The queue is a member of a queue set, and posting to
            * the queue set caused a higher priority task to unblock.
            * A context switch is required. */
        vTaskMissedYield();
    }
    else
    {
        mtCOVERAGE_TEST_MARKER();
    }

    ...
}

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-01-05 21:05:11 -08:00
Gaurav-Aggarwal-AWS
89938537bc
Add tests to cover https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435 (#768)
Add tests to cover https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435

This ensures that the coverage does not go down with the PR
https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-01-05 11:53:53 -08:00
Gaurav-Aggarwal-AWS
26dcb22052
Fix tests needed for https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435 (#766)
* Fix tests needed for https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-01-04 16:14:54 -08:00
Joseph Julicher
598508a10b
added configUSE_TICKLESS_IDLE (#764) 2022-01-04 15:55:12 -07:00
Joseph Julicher
626b54819b
fix minor spelling issue by removing contraction (#763) 2021-12-28 14:00:26 -07:00
RichardBarry
a7507b082e
Correct the version in the header comments. (#760)
Co-authored-by: none <>
2021-12-23 15:28:02 -08:00
RichardBarry
4d9755d00e
Create Zynq demo using the latest Vitis tools (#746)
* Add hello world project for Vitis.

* Working hello world program.

* Remove the call to ps7_init().

* Demo moved from the XSDK project to Vitis is now compiling - not tried running yet though.

* Blink is printing out in blinky demo.

* Adjust the priorities of the demo tasks to enable them to run at once.
Update blocktim.c so it stores the line on which an error was detected in the error occurred variable rather than just setting the variable to true.

* Add launch configuration file.
Remove unused definitions from FreeRTOSConfig.h.
Edit the comments that describe what the demo does.

* Revert changes to blocktim.c, which should have been in a separate PR.

* Correct header comments in new files.

* Update headers for core checks.

* Third attempt at getting headers through the commit checks - copy headers from other files is not enough.

* Still trying to get core checks to pass.

* Update lexicon.txt

* Correct spelling in Cortex-A9 QEMU main.c.

Co-authored-by: none <>
2021-12-23 14:43:41 -08:00
johnrhen
43defa566c
Apply release changes to main branch (#759)
* Update History.txt and README.md for December release (#744)

* Update History.txt and README.md for release

* Bump mbedtls submodule to v2.28.0 (#745)

* Patch project files for mbedtls (#751)

* Apply group 1 patches

* Apply patches for group 2

* Update project files for mbedTLS new version

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Fix warnings in projects

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Fix warnings in HTTP_S3_Download demo

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>

* Update changelog and history for corePKCS11 update (#752)

* Update submodule pointer and manifest.yml for corePKCS11 (#754)

* Update readme and history.txt to show that Sigv4 is a newly added library (#756)

* Revert update to v143 of VS toolset (#757)

* [AUTO][RELEASE]: Bump file header version to "202112.00"

* Update file headers to satisfy core checks

Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: johnrhen <johnrhen@users.noreply.github.com>
2021-12-23 10:16:27 -08:00
RichardBarry
4f71a94a70
Correct include path in the MPS2 QEMU IAR project. (#748)
Co-authored-by: none <>
2021-12-19 20:27:29 -08:00
RichardBarry
dc263aa3a2
Add a GCC build to the QEMU/IAR project (#728)
* Rename the CORTEX_MPS2_QEMU_IAR directory to CORTEX_MPS2_QEMU_IAR_GCC

* Add makefile and startup.c.

* GCC build is working, but not yet running.

* Add eclipse project.

* Tidy up the linker file.
Add the debug launch file to the file system.

* Add printf-stdarg.c to the GCC build.

* Increase heap size for the GCC build.

* Copy IAR project files into a dedicated IAR build directory.

* Delete the IAR project from its original location now it is in its own build directory.

* Update headers to correct version number.

* Update lexicon.txt.

* Update core_checker.py.

* Change line endings in lexicon.txt.

* Increase the stack size of the task that prints out strings.

* Update linker script to build with older ld versions.

* Add links to the online documentation page for this demo.

* Fix line endings

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Remove linker and project files from header check

Eclipse project files have names .project and .cproject. Python splitext
will treat these as file names and not as extension and as a result, it
is not enough to just add these to ignored extension list. Instead, we
need to add them to ignored files list.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Remove startup files from header check

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Co-authored-by: RichardBarry <richardbarry.c@gmail.com>
Co-authored-by: none <>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-12-18 15:11:29 -08:00
Mark Tuttle
21f2799392
Always prepare source tree for cbmc proofs (#743)
Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
2021-12-17 10:59:10 -08:00
Joseph Julicher
1102a0df4e
Cortex M3 QEMU demo now builds with -Wall -Wextra (#727)
* Added -Wall -Wextra to the Coretex M3 QEMU demo

* Fixed warnings & errors in Cortex M3 QEMU demo

* Fixed the FULL demo to compile with full errors.

* Update FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/init/startup.c

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>

* Applied the ( void ) r0 pattern to prvGetRegisterFromStack

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2021-12-08 14:27:48 -07:00
Mark Tuttle
eb9caf9d98
Advance litani submodule for CBMC proofs (#725)
Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
2021-12-06 17:42:13 -07:00
Gaurav-Aggarwal-AWS
575acb8a1a
Enable C89 flag for unit tests (#718)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-11-18 12:47:04 -08:00
Gaurav Aggarwal
4a465406b4 Fix CI check failure
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-11-15 13:34:03 -08:00
Gaurav Aggarwal
a59838489b Update FreeRTOS-Kernel to main
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-11-15 13:34:03 -08:00
Gaurav Aggarwal
a86178136d Revert "Revert "UT: Add streambuffer test to make PR #391 pass (#690)""
This reverts commit 7340a72dee.
2021-11-15 13:34:03 -08:00
aggarg
74e03ddcfe [AUTO][RELEASE]: Bump submodules per manifest.yml for V202111.00 2021-11-13 02:38:32 +00:00
aggarg
ecd1a8f9f1 [AUTO][RELEASE]: Bump file header version to "202111.00" 2021-11-13 02:37:14 +00:00
Gaurav Aggarwal
7340a72dee Revert "UT: Add streambuffer test to make PR #391 pass (#690)"
This reverts commit a32ab34192.
2021-11-12 14:03:02 -08:00
Gaurav Aggarwal
dd28c8c376 Update FreeRTOS-Kernel to 10.4.6
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-11-12 14:03:02 -08:00
tianmc1
223d2d0e21
Updated Safer Interrupt Demo to yield in ISR if higher priority task was woken (#702)
Updated Safer Interrupt Demo to yield in ISR if higher priority task was woken
2021-11-09 14:35:55 -08:00
Seppe Soete
de3d043f74
Fixed some typos in the readme in the Posix_GCC demo (#697)
Co-authored-by: Seppe Soete <info@seppesoete.be>
Co-authored-by: Joshua Yan <52796499+yanjos-dev@users.noreply.github.com>
2021-11-03 14:25:38 -07:00
Joshua Yan
0592d1df00
Update FreeRTOS submodule to be on the latest main (#700)
* Update FreeRTOS submodule to be on the latest main

* Update the manifest to match the submodule pointer
2021-11-03 12:33:36 -07:00
alfred gedeon
a32ab34192
UT: Add streambuffer test to make PR #391 pass (#690)
UT: Add streambuffer test to make PR #391 pass
2021-10-15 16:07:59 -07:00
Mark Tuttle
409adde459
Advance litani submodule for cbmc proofs to latest version (#687)
Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
2021-10-15 07:41:30 -07:00
tianmc1
8216e02df7
Renamed demo for safer interrupt (#686) 2021-10-12 11:26:41 -07:00
tianmc1
4c779335d6
Added Safe interrupt demo (#685)
Add project to be used for safer interrupts
2021-09-30 12:06:16 -07:00
Mark Tuttle
0390b0fc9b
Add CBMC viewer configuration files (#683)
* Revert cbmc-viewer flags

* Add cbmc-viewer configuration files

* Repair CBMC patch to prvCopyDataToQueue

Authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
2021-09-13 21:23:35 -04:00
Gaurav-Aggarwal-AWS
fe6e501488
Update LPCXpresso55S69 SDK to 2.10.0 (#684)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-09-13 16:12:06 -07:00
Gaurav-Aggarwal-AWS
dfa1023504
Fix the license year in source files (#681)
This commit also fixes some other formatting issues including, tabs and
comments.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-09-02 16:01:57 -07:00
Gaurav-Aggarwal-AWS
008affa7bf
Add demo project for Polarfire board (#679)
Add the demo project for PolarFire SoC

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-09-02 14:02:46 -07:00
Gaurav-Aggarwal-AWS
5f21507703
Add prints for CI (#670)
* Add prints for CI markers

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-07-28 10:44:52 -07:00
Archit Aggarwal
d122d26d7d
Re-add submodules to Community and Partner Contribution repos (#669) 2021-07-27 10:26:37 -07:00
tianmc1
67e5d4e6ec [AUTO][RELEASE]: Bump submodules per manifest.yml for V202107.00 2021-07-24 00:33:46 +00:00
tianmc1
176f1cae02 [AUTO][RELEASE]: Bump file header version to "202107.00" 2021-07-24 00:32:35 +00:00
Archit Aggarwal
69b9155bad
Hygiene changes of old Demo folders and temporary removal of submodules (#666)
* Remove submodules of community and partner contribution repos, and stale directory of FreeRTOS+UDP

* Obselete NTP demo and rename of HTTP server demo folder

* Update manifest.yml
2021-07-23 12:07:34 -07:00
tianmc1
17efff0e34
Updated kernel submodule pointer to kernel V10.4.4 release (#664)
* Updated kernel submodule pointer to kernel V10.4.4 release

* Updated manifest.yml
2021-07-22 17:39:52 -07:00
alfred gedeon
ae92d8c6ee
Add uncrustify github workflow (#659)
* Add uncrustify github workflow

* Fix exclusion pattern

* fix find expression

* exclude uncrustify files

* Uncrustify common demo and test files

* exlude white space checking files

* Fix EOL whitespace checker

* Remove whitespaces from EOL

* Fix space at EOL

* Fix find spaces at EOL

Co-authored-by: Archit Aggarwal <architag@amazon.com>
2021-07-22 14:23:48 -07:00
Gaurav-Aggarwal-AWS
e2b1d46340
Update the template readme file (#658)
Update instructions to use repositories instead of directories.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-07-20 15:13:54 -07:00
Gaurav-Aggarwal-AWS
2fedeff332
Update BSP and SDK for HiFive board (#645)
* Update BSP and SDK for HiFive board

This commit also adds demo start and success/failure output messages.
2021-07-15 18:40:22 -07:00
alfred gedeon
e38c279b22
Fix: qemu mps2 demo bug (#649) 2021-07-15 14:32:37 -07:00
alfred gedeon
693a9994b0
Add static to a variable in Qemu mps2 demo (#646) 2021-07-14 10:05:22 -07:00
alfred gedeon
d663850e1b
Demo: Exit on Error with Qemu MPS2 Full Demo (#642) 2021-07-13 21:13:31 -07:00