Commit Graph

2939 Commits (553d44886530117484bd127b12641f51a102b0d9)
 

Author SHA1 Message Date
Aniruddha Kanhere b9e4ecfaf7
Remove Empty and Un-referenced folder from Demo (#86) 5 years ago
Aniruddha Kanhere f11bcc8acc
Fix a Bug and corresponding CBMC patch (#84)
* Update remove-static-in-freertos-tcp-ip.patch

* Update FreeRTOS_TCP_IP.c

* Update remove-static-in-freertos-tcp-ip.patch

* Update remove-static-in-freertos-tcp-ip.patch

Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
5 years ago
Yuhui Zheng bb9f92f771
Submodule FreeRTOS/Source 10bbbcf0b..6199b72fb (#82) 5 years ago
Aniruddha Kanhere 6efc39f44b
Add Project for running integration tests v2 (#80)
* Project for integration tests

* relative paths in project files

* relative paths in project files-1

* relative paths in project files-2

* addressed comments

* addressed comments v2

Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
5 years ago
Yuhui Zheng 0eb5909fb0
readme.md for ATmega328PB Xplained Mini. (#76)
readme.md to get users jump started.
5 years ago
Aniruddha Kanhere cb7edd2323
Sync with a:FR (#75)
* AFR sync

* AFR sync: CBMC

* AFR sync: CBMC: remove .bak files

* AFR sync: CBMC: more cleanup

* Corrected CBMC proofs

* Corrected CBMC patches

* Corrected CBMC patches-1

* Corrected CBMC patches-2

* remove .bak files (3)

Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
5 years ago
alfred gedeon 6557291e54
Test: Add Linux Networking support with demo application (#71)
* Test: Add Linux Networking support with demo application

* Test: revert files affected by uncrustify

* Test: revert files affected by uncrustify

Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
5 years ago
Yuhui Zheng 8b079bc394
ATmega328PB Xplained Mini -- demo project for ATmega port. (#70)
* Bootstrap a demo from START. No driver is added in this commit.

* Add FreeRTOS source code to project. Remove unnecessary folder nesting.

Heap_4 is used here.

* Copy over main.c, FreeRTOSConfig.h, and regtest.{c, h}.

This commit compiles, but will need some work on timer used.

* This port has 2KB RAM. We are using 1KB for heap.

Further decreasing minimum stack size, and also use stack overflow check 1 to save some stack space.

* Preserve EEPROM set to false.

* End of the line.

* Reduce register test stack size.

32 8-bit register + 10 bytes for stack frame cost. Round up to 50.

* Adding Queue test in Integer test.

- g3 to easy debugging.
- mainCHECK_PERIOD is set to 1000 ticks. Note that this port for now use WDT as tick timer, and period is set to 15ms.
- vErrorChecks, is of highest priority. So if this task gets run before other tasks, the very first check will fail.

* Avoid false alarm.

Since we don't know in which order the tasks are scheduled, clearing any error for the first entry of vErrorChecks.

Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>

* ParTest.c to init, set, toggle onboard user LED at PB5.

* Added a task to blink onboard user LED.

Need a magic number for stack size.

Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>

* Explicitly setting timing slicing to 0.
This is to avoid unecessary context switch when multiple tasks are of the same priority.


Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>

* Add taskYIELD() at the end of the loop in each register test task.

This is to give other tasks of the same priority a chance to run, regardless of scheduling algorithm.

Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>

* minor, update comment in main.c.
5 years ago
Aniruddha Kanhere 95a3a02f95
FreeRTOS-Plus: Unit testing Infrastructure and examples (#72)
* Added CMock as submodule

* Makefile added

* Removed TEMP from Makefile

* Added configuration files and header files

* Update Makefile

* Test runner working

* make clean

* Example added with README

* Update README.md

* Restored +TCP files

* Cleared +TCP changes

* removed comments from Makefile

* Update README.md

* Update README.md

* Update README.md

* Updated Test/Unit-test/readme.md
5 years ago
Hein Tibosch 5003d17fed
FreeRTOS+TCP : renewing DHCP lease while network is down (#53)
Co-authored-by: Hein Tibosch <hein@htibosch.net>
Co-authored-by: Gary Wicker <14828980+gkwicker@users.noreply.github.com>
5 years ago
AniruddhaKanhere d95624c5d6
Move CBMC proofs to FreeRTOS+ directory (#64)
* move CBMC proofs to FreeRTOS+ directory

* Failing proofs corrected

* ParseDNSReply proof added back

* removed queue_init.h from -Plus/Test

Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
5 years ago
markrtuttle 95ae7c6575
Change cbmc-viewer invocation in CBMC makefile (#63)
* Exclude FreeRTOS/Demo from CBMC proof reports.

The script cbmc-viewer generates the CBMC proof reports.  The script
searches source files for symbol definitions and annotates source
files with coverage information.  This patch causes cbmc-viewer to
ignore the directory FreeRTOS/Demo containing 348M of data.  The
script now terminates in a few seconds.

* Make report default target for CBMC Makefile.

Modify the Makefile for CBMC proofs to generate the report by default
(and not just property checking) and modify property checking to
ignore failures (due to property assertions failing) and terminating
report generation.

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
5 years ago
Yuhui Zheng d421ccc89f
Reword readme.md under ./Test. (#61) 5 years ago
Carl Lundin 3841286598
Removed a:FR reference. (#60) 5 years ago
AniruddhaKanhere 4db195c916
Adding FreeRTOS+TCP CBMC proofs to FreeRTOS/FreeRTOS (#56)
ParseDNSReply is to be added in the next PR.
5 years ago
AniruddhaKanhere 40a31b6d35 'uL' -> 'UL' 5 years ago
AniruddhaKanhere 5b3a289b69 Changes after Gary's comments 5 years ago
AniruddhaKanhere edf68637dd Update FreeRTOS_ARP.c 5 years ago
AniruddhaKanhere 35f3ac32a8 correct debug output 5 years ago
AniruddhaKanhere 5e12a70db4 Debugging flag check added 5 years ago
AniruddhaKanhere 4e8ac8de25 Comment style consistency and Yuhui's suggestions 5 years ago
AniruddhaKanhere e43f7cd086 Cleanup 5 years ago
AniruddhaKanhere ab3b51c7a0 Update after Gary's comments 5 years ago
AniruddhaKanhere 97f7009699 Update after richard's comments 5 years ago
AniruddhaKanhere a9fcafc074 Corrected the formatting
- visual studio had messed up the formatting
5 years ago
AniruddhaKanhere c381861014 commit 2 after gary's comments 5 years ago
AniruddhaKanhere 75677a8d85 Commit after Gary's comments 5 years ago
AniruddhaKanhere 666c0da366 Update after Yuhui's comments
- removed (void) from before memcpy, memset etc.
- corrected memcpy style as suggested by Yuhui
- Added logging for xNetworkInterfaceOutput. No need to configASSERT
5 years ago
AniruddhaKanhere 4a1148d15b Coverity + MISRA compliance
Modified code to conform to the MISRA directives more closely.
5 years ago
Yuhui Zheng fa74f7dccf Removing writes to read-only PLIC interrupt pending registers.
Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
5 years ago
Yuhui Zheng 5b9777e11e A readme file to introduce what ./Test directory is about. 5 years ago
Yuhui Zheng 211bb4cbd9 Ignore whitespace when working with patches. 5 years ago
Yuhui Zheng 8156f64d1c Copying CBMC proofs from aws/amazon-freertos repo ./tools/cbmc to this repo ./FreeRTOS/Test/CBMC as is.
The commit ID in aws/amazon-freertos is 0c8e0217f2a43bdeb364b58ae01c6c259e03ef1b.
5 years ago
David Vrabel 9f316c246b Demo/Posix_GCC: add demo application for Posix port using GCC
This is largely a copy of the Windows demo application with a few key
changes:

- heap_3 (use malloc()/free()) so tools like valgrind "just work".

- printf() wrapped in a mutex to prevent deadlocks on the internal
  pthread mutexes inside printf().

SCons (https://scons.org/) is used as the build system.

This will be built as a 64-bit application, but note that the memory
allocation trace points only record the lower 32-bits of the address.
5 years ago
Markus Rinne f78f919b3e Fix function comments 5 years ago
David Chalco 1cd2d38d96 unix separators for path and remove .exe suffix from risc compiler (works on windows/mac) 5 years ago
Yuhui Zheng 938b19419e Removing ./FreeRTOS-Labs directory, since:
- IoT libraries are now in LTS branch.
- FAT/POSIX/Light-weight MQTT are in https://github.com/FreeRTOS/FreeRTOS-Labs.
5 years ago
Yuhui Zheng 1a4abbc9e9
Maintenance -- clean up readme.txt and add url to GitHub. (#38)
* Removing readme.txt, as now we have README.md in place.

The only information missing from README.md is about FAQ.

* Adding FAQ information in README.md.

* Adding a .url to root to redict user to FreeRTOS github home page.
5 years ago
Yuhui Zheng 47bb466aa1 Update issue templates
Template maintenance. 

- adding title prefix.
- adding examples to "additional context" section.
5 years ago
Yuhui Zheng f506290041
Create SECURITY.md
Apply the recommended SECURITY.md from AWS to our repo.
5 years ago
Yuhui Zheng 8982a2f80a Add ./lib directory to make sure Zynq project compiles. 5 years ago
AniruddhaKanhere ecf0f12aa1
Sync up with Amazon-freertos repo (10th March 2020) (#34)
* Sync up with amazon-freertos

* Sync up with amazon-freertos

* Sync up with amazon-freertos
5 years ago
Yuhui Zheng 0acffef047
GitHub PR template. (#29) 5 years ago
AniruddhaKanhere c40a6da2e4
pass payload length when calling UDP callback (#30)
* pass payload length when calling UDP callback
5 years ago
Yuhui Zheng 12d580e93d Update issue templates
Initial issue template. Created following https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser. 

If change is needed, we could go another round.
5 years ago
Yuhui Zheng 9debffb5e0
Update README.md to remove dead link.
See the conversation 42c627b2b8 (comments) .

Linkage for both ```./FreeRTOS/Source``` and ```./FreeRTOS/Demo``` are removed, since it looks weird to only provide linkage to Demo.
5 years ago
AniruddhaKanhere 7e1a4bf563
Fix DHCP option Client-identifier (#28) 5 years ago
Yuhui.Zheng 42c627b2b8
Update readme and revert relative URL. (#27)
* Reordering: bumping cloning instruction up.

* Rewording readme.md to be clear kernel code is a submodule of this repository.

* Reverting relative URL, since user cannot click through on GitHub page.

(With URL, user could still download the correct version of the code. Reverting simply due to UI issue.)
5 years ago
Gaurav-Aggarwal-AWS 5751ae9b60
Update CORTEX_MPU_M33F_NXP_LPC55S69_MCUXpresso project (#26)
This commit updates the project for LPC55S69 so that it works with the
latest version of MCUXpresso and SDK.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
5 years ago
Carl Lundin a9ffffe1f0
Using Relative URL For Submoduling. (#24) 5 years ago