3046 Commits

Author SHA1 Message Date
ab70c1ce33 Add 20Mhz support by overwriting MCLKCTRLB default register value 0x11 by 0 (#295) 2020-09-27 23:41:32 -07:00
ea0033a85d Fix a breaking build by removing const (#301) 2020-09-25 11:08:35 -07:00
3f21957cc8 FreeRTOS+TCP: MISRA rules 10.4, 10.8, & 21.15 (#280)
* Use unsigned types/constants where needed.
* Address MISRA 21.15 violations in FreeRTOS_Sockets.c
* Address MISRA rule violations in code (primarily Rule 2.2)
* Inline had been disabled for Coverity builds, preventing
Coverity from correctly identifying dead code; this change
removes the disabling of inline during Coverity builds.
* Added an explanation for the inline suppression of Rule
11.4 in prvSocketValid().
* Address MISRA Rule Violations (10.4 & 10.8)
* MISRA: Rule 21.15 changes

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-09-25 08:47:01 -07:00
5d0908b23f FreeRTOS+TCP Fix usGenerateChecksum on 8-bit platforms with odd-aligned buffers (#286)
* Change type of usGenerateChecksum's ulAlignBits to intptr_t

Not all platforms have 32-bit pointers. 8-bit machines such as avr8 have
16-bit pointers.

This patch changes the type of ulAlignBits and renames it to uxAlignBits to
reflect the type change.

This fixes a compiler warning on machines with pointers that aren't
32-bits.

Signed-off-by: Andy Bennett <andyjpb@ashurst.eu.org>

* Fix usGenerateChecksum on odd-aligned buffers with non zero usSum

usGenerateChecksum would generate an incorrect checksum when pucNextData
was odd-aligned and usSum was non-zero.

This was caused by the byte order of usSum not matching the byte order of
the subsequent summing operation.

Odd-aligned buffers are common on 8-bit platforms such as avr8 when using
one of the FreeRTOS dynamic heap allocators.

Signed-off-by: Andy Bennett <andyjpb@ashurst.eu.org>

* Feedback from PR#122

https://github.com/FreeRTOS/FreeRTOS/pull/122

 + Use a uintptr_t rather than an intptr_t.

Changes supplied by Hein Tibosch.

Signed-off-by: Andy Bennett <andyjpb@ashurst.eu.org>

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-09-24 21:53:43 -07:00
7bcc5b48b1 Move ./scripts --> FreeRTOS/Test/CMock/scripts (#298) 2020-09-24 17:17:34 -07:00
190c9e780d Inititial stub for cmock tests (#297) 2020-09-24 17:06:28 -07:00
1fc1bd4321 Add CBMC proofs for FreeRTOS-Plus-CLI (#296) 2020-09-24 13:32:10 -07:00
de502afcb2 Fix rendezvous test failure in EventGroupsDemo (#294)
The rendezvous test in EventGroupsDemo assumed that one tick is not
enough for rendezvous to complete. Turns out that it is not true on a
system with 1ms tick and rendezvous does get complete within one tick.
This commit removes the test with one tick assumption.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-09-24 10:24:33 -07:00
dea347fb9a Add Renesas RX72N Envision Kit RTOS Demo using Renesas RXv3 port layer (#167)
* Add Renesas RX72N Envision Kit RTOS Demo using Renesas RXv3 port layer

* Refactor the workaround which makes CC-RX linker optimization working better

To be robust for future updates of Renesas RX SmartConfigurator until the cause of the problem is fixed by Renesas.

* Fix vApplicationMallocFailedHook()'s argument type generated by e2 studio.

No changes are caused in the MOT and SREC files which are built.

* Merge update of submodule (submodule's commit id)

Changes are caused in the MOT and SREC files which are built for Renesas RX72N Envision Kit RTOS Demo.
Theses RTOS Demo programs work after changes.

* Fix: Add checking DPFPU register in RegTest inline asm functions in main_full.c

* Fix and sync kernel pointer (submodule's commit id) to the same as 'upstream/master'

* Revert "Fix and sync kernel pointer (submodule's commit id) to the same as 'upstream/master'"

This reverts commit d684f749bc40fa34c6b87b943f3b866fbe33acd1.

* Revert "Merge remote-tracking branch 'upstream/master' into rx700v3dpfpu"

This reverts commit 3a44473b4ed76a5450eb45febc39a96454b6f5e0, reversing
changes made to 0f4f024fe212617355224989cb37e96d4a28523b.

* Merge remote-tracking branch 'upstream/master' into rx700v3dpfpu

* Fix and sync kernel pointer (submodule's commit id) to the same as 'upstream/master'

* Test: Fix unnecessary update of SiFive_HiFive1_RTOS_demo.url.

* Fix? unnecessary update of SiFive_HiFive1_RTOS_demo.url.

* Fix unnecessary update of SiFive_HiFive1_RTOS_demo.url.
2020-09-22 12:46:11 -07:00
5cc6512986 Fix warnings in CORTEX_M4F_STM32F407ZG-SK project (#287)
The existing startup code was generating some warnings of the form
"Label 'xxxxx' is defined pubweak in a section implicitly declared
root". This change replaces the startup file with the one generated from
latest STM32CubeMX to fix the above warnings.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-09-21 13:30:57 -07:00
7e1e35e179 Fix: Demo/RX600_RX64M_RSK_GCC_e2studio RTOS demo project build error (#245)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-18 17:18:13 -07:00
80e23dde57 Upgrade GCC project files for e2 studio v7.8.0 in Demo/RX600_RX64M_RSK_GCC_e2studio folder (#263)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-18 16:55:43 -07:00
886e29e2bd Upgrade GCC project files for e2 studio v7.8.0 in Demo/RX100_RX113-RSK_GCC_e2studio_IAR folder (#258)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-18 16:22:42 -07:00
723dd35cad Upgrade_GCC_project_for_e2v780_in_RX700_RX71M_RSK_GCC_e2studio_IAR (#257)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-18 16:04:15 -07:00
cfc6672336 Upgrade GCC project files for e2 studio v7.8.0 in Demo/RX200_RX231-RSK_GCC_e2studio_IAR folder (#255)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-18 15:40:04 -07:00
ec7694384f Maintenance: Make Demo/RX600_RX64M_RSK_Renesas_e2studio RTOS demo project better (#231)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-18 14:25:02 -07:00
080f975c7b version string update to 10.4.1 -- irrespective of file extension (#284)
Update the remaining files that have reference to the version number in them.
2020-09-18 12:53:06 -07:00
0573fea3ee Update (.s, .S) kernel version numbers to 10.4.1 (#283)
* version bump to 10.4.1
* update .s file version numbers
* Update FreeRTOS/History.txt
2020-09-18 10:55:01 -07:00
d5862dbe01 Sync back V10.4.1 (#282)
* Move Kernel submodule pointer to 10.4.1
* Update version number to V10.4.1 (#281)
2020-09-17 17:16:33 -07:00
4ca66b336a Fix: Demo/RX200_RX231-RSK_GCC_e2studio_IAR RTOS demo project IAR build error (#239)
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-17 17:00:00 -07:00
fb7881cfeb Build: Fix Demo/RX100-RSK_Renesas_e2studio RTOS demo project build error (#228)
* Fix: Demo/RX100-RSK_Renesas_e2studio RTOS demo project build error

* Update project files for e2 studio v4.0.2.008 (the same as Demo/RX100_RX113-RSK_Renesas_e2studio RTOS demo project)

Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-09-17 16:37:52 -07:00
616b2d22d2 Sync kernel history.txt to this repo. (#275) 2020-09-16 15:58:45 -07:00
c997d887e0 Address MISRA Rule violations (#274)
* Use unsigned types/constants where needed.

* Address MISRA 21.15 violations in FreeRTOS_Sockets.c

* Address MISRA rule violations in code (primarily Rule 2.2)

* Inline had been disabled for Coverity builds, preventing
Coverity from correctly identifying dead code; this change
removes the disabling of inline during Coverity builds.
* Added an explanation for the inline suppression of Rule
11.4 in prvSocketValid().

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-09-16 14:53:57 -07:00
50dc98a5a6 MISRA v5 (#272) 2020-09-16 12:32:21 -07:00
d977f21940 Update kernel pointer V10.4.0 2020-09-15 03:04:09 -07:00
3747710159 Move released kernel pointer to the one where ASM files have the updated version number (#270) 2020-09-14 11:42:53 -07:00
20842a58fa Update submodule pointer for Kernel to 10.4.0 version 2020-09-10 19:58:14 -07:00
89d475e9b1 Update Version number to 10.4.0 (#237) 2020-09-10 19:40:24 -07:00
759fe85853 Tracelyzer version updates (#261)
* Update Tracelyzer version numbers
2020-09-10 18:52:20 -07:00
989924f6cb Adding some url files and moving the kernel pointer along (#260)
* Added some URL files and move submodule pointer along
* Add SiFive_HiFive1_RTOS_demo.url
2020-09-10 18:37:20 -07:00
0f5e3aa88a Fix: Typo in posix networking demo (#259)
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
2020-09-10 18:05:34 -07:00
1a55c8779f Update main.c
Remove unused variable from the MingW demo's main.c file.
2020-09-09 21:26:07 -07:00
d0cff20709 Added some URL files and move submodule pointer along (#254) 2020-09-09 14:31:07 -07:00
1d2e0ebee2 Update History.txt (#253) 2020-09-09 12:56:28 -07:00
4c6c4d2e84 Update kernel pointer to include Synopsis PR #110 2020-09-09 01:34:40 -07:00
f78ee3536a Reset error message on next check and update interval to 10s 2020-09-09 01:27:53 -07:00
04cf45fdbc Increase tracelyzer parameters to accomodate full demo scope 2020-09-09 01:26:46 -07:00
34d9175ce0 Sync main_full demo to match the Windows Simulator test list 2020-09-09 00:02:07 -07:00
0d571fb2f1 Implement dumping the Tracelyzer trace when pressing enter (#252)
* Test: Press Enter to Trace dump on posix demo
* Test: allow tracedump multiple times
* Fix: main full demo
2020-09-09 00:02:07 -07:00
9b8258504c Added -D_WINDOWS_ which expands the timing margin on the Linux port full demo, and turned optimization off for better debugging 2020-09-08 22:47:11 -07:00
c0df730de7 Various small formatting and wording changes in Linux demo 2020-09-08 20:51:54 -07:00
8ada8156e0 Fix the Posix port demo libpcap lib linking order issue in staic linking for WSL. (#251) 2020-09-08 18:24:28 -07:00
27d341e5ab Fixed spelling in main.c 2020-09-08 18:12:22 -07:00
939daef2f2 Fix: Make demo selector more user friendly (#249)
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
2020-09-08 14:50:15 -07:00
21644934d7 Removed reference to kbhit() which is no longer in the code 2020-09-08 14:43:56 -07:00
bcc41c97fd Fix references to Linux instead of Windows 2020-09-08 14:42:09 -07:00
2621e60124 TCP: Update version number and History.txt (#247)
* Update the version number
* Update History.txt
2020-09-08 14:05:31 -07:00
40e410ee8e Create winbase.h (#248) 2020-09-08 12:15:59 -07:00
013b3d4b23 Move Kernel source pointer forward to latest 2020-09-08 00:35:56 -07:00
00891e0c88 Remove unused variable from TaskNotifyArray.c that was causing a compiler warning. (#233) 2020-09-06 21:48:00 -07:00