Commit graph

3665 commits

Author SHA1 Message Date
Gaurav-Aggarwal-AWS
f6672f99df
Fix unit tests for Kernel PR 1206 (#1312)
PR - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1206

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-12-17 22:49:00 +05:30
Rahul Kar
e62f73927b
Add readme for v202411.00 release (#1308) 2024-12-11 12:59:34 +05:30
Gaurav-Aggarwal-AWS
6aa244f6fe
Update Community-Supported-Demos submodule pointer (#1303)
* Update Community-Supported-Demos submodule pointer

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-12-02 17:11:05 +05:30
Tony Josi
a3a526569f
Enable release from forks (#1299)
* Enable release from forks

* Update Kernel submodule pointer

* Update manifest file

---------

Co-authored-by: Rahul Kar <karahulx@amazon.com>
2024-11-19 15:19:14 +05:30
Jeff Tenney
1469448e3e
Don't expect call to xTaskResumeAll in some cases (#1295) 2024-11-12 12:31:58 +05:30
ActoryOu
ad0ea05f57
Fix CI spelling check (#1294) 2024-11-05 15:39:00 +08:00
ActoryOu
4cab1bb358
Follow Security Guide to update release.yml (#1293) 2024-11-05 15:18:59 +08:00
Bhoomika R S
6615f8026c
Add readme.url for FreeRTOS-Plus demos (#1290)
* Add readme.url for demos

* Updated FreeRTOS+TCP Minimal Windows Simulator Demo's readMe
2024-11-04 18:10:47 +05:30
Dakshit Babbar
86d6312da0
[mainline update] Populate RSA key attributes in mbedtls context (#1288)
* Populate RSA key attributes in mbedtls context

* Fix formatting

---------

Co-authored-by: Rahul Kar <karahulx@amazon.com>
2024-10-21 10:22:15 +05:30
Gaurav-Aggarwal-AWS
349d8a87d4
Add support for custom check in header checker (#1285)
This allows derived classes to override customCheck method to inject
additional checks for some files. This is currently needed to accept
ARM copyright in ARMv8-M files - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1147.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-10-17 18:25:28 +05:30
Gaurav-Aggarwal-AWS
28a20d5a69
Add volatile qualifier (#1283)
Add volatile qualifier

This is needed to ensure that the memory mapped address it always read.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-10-17 11:08:16 +05:30
Ian Thompson
b3e6cff1f2
Xtensa Demos updated and moved to Partner-Supported submodules (#1281)
Cadence/Xtensa: Move Tensilica demos to Partner-Supported-Demos submodule

Add a README to this deprecated demos directory indicating where to
find the latest Tensilica test code.

Signed-off-by: Ian Thompson <ianst@cadence.com>
2024-10-16 10:06:05 +05:30
Rohit Madan
0e8d2bf66c
Add readme.url for corePKCS11 Windows Simulator Demo (#1277)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2024-10-15 09:32:54 +05:30
Gaurav-Aggarwal-AWS
c502e5f9a5
Update runtime library support to automatic (#1280)
This ensures that CCS builds this library when the project is
first built after CCS installation.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-10-11 10:31:48 +05:30
Matt Ryall [Mawson Rovers]
6dc7737eff
Update CORTEX R4 demo to use linked resources #1272 (#1273)
* Cortex R4 demo: replace setup script with linked resources

* Cortex R4 demo: remove Eclipse user settings
2024-10-10 15:23:25 +05:30
Matt Ryall [Mawson Rovers]
59f1c570cf
Fix build: unique names required for v4 upload-artifact task (#1274) (#1275)
- fixes kernal unit test build broken since 9245b4aaa
2024-09-30 11:17:06 +05:30
Florian La Roche
d80937d050
Cortex M3 MPS2: modernize assembler syntax and also add .ltorg (#1268)
Cortex M3 MPS2: modernize assembler syntax and also add .ltorg

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-09-25 16:09:47 +05:30
Rohit Madan
2067506cc1
Update User Mode Networking debug command for QEMU Demo (#1270) 2024-09-23 20:11:14 +05:30
Florian La Roche
9245b4aaac
Cortex M3 MPS2: fix alignment warning from assembler (#1266)
* Cortex M3 MPS2: fix alignment warning from assembler

Fix assembler alignment warnings for Cortex M3 MPS2:
Warning: section does not have enough alignment to ensure safe PC-relative loads

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-09-16 12:19:39 +05:30
ericwu13
b0c9468ad6
Update RTOSDemo Debug Renode.launch (#1261)
SoftConsole failed to execute MI command to load the RTOSDebug.elf built in this project. Since the debugger couldn't find  address `0xe000ed00` defined in ARM processor. 

We need to set `$target_riscv` to 1 so that the gdb can be initialized correctly.
2024-09-03 11:41:27 +05:30
joejoseph08
3b34f8028d
Add cygwin option for compilation (#1230)
Add Cygwin option for compilation
2024-08-23 15:36:40 +05:30
Gaurav-Aggarwal-AWS
059165fbf1
Fix crash on Ubuntu 24.04 ARM64 (#1253)
On Ubuntu 24.04 ARM64, PTHREAD_STACK_MIN is 0x20000 which does not fit
in unsigned short, size of which is 2 bytes. Casting PTHREAD_STACK_MIN
to unsigned short in FreeRTOSConfig.h results in
configMINIMAL_STACK_SIZE getting defined to 0 which leads to SIGSEV.

This change removes the not needed casting of PTHREAD_STACK_MIN to
unsigned short.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-08-23 12:47:47 +05:30
Monika Singh
c304913b64
Remove redundant TCP includes in FreeRTOS CBMC proofs (#1254)
* Remove unnecessary TCP includes

* Update comment
2024-08-23 12:18:51 +05:30
chinglee-iot
9febcedd91
Add async core yield test for SMP (#1247)
Add async core yield test for SMP

Add async core yield test for SMP to verify set core affinity
  implementation
2024-08-21 16:02:18 +05:30
Rahul Kar
1a82df09df
Update ReadMe to add UserMode Networking (#1216)
Update ReadMe to add UserMode Networking
2024-08-21 13:41:43 +05:30
chinglee-iot
4b039b82e9
Remove no new core added coverage test for coreAffinitySet (#1248)
* Remove this unit test due to implementation change
2024-08-20 12:23:21 +08:00
chinglee-iot
520fc225eb
Add SMP task delete on target test (#1176)
Add SMP task delete on target test
2024-08-16 14:38:01 +05:30
chinglee-iot
6ed67f54bb
Add SMP one task enter critical on target test (#1180)
Add SMP one task enter critical on target test
2024-08-16 14:23:22 +05:30
chinglee-iot
98c2b04bbc
Add SMP interrupt wait critical secton on target test (#1181)
Add SMP interrupt wait critical secton on target test
2024-08-16 14:06:05 +05:30
Rahul Kar
a004a21b13
Remove ipLOCAL_MAC_ADDRESS from demo files (#1244)
* Remove ipLOCAL_MAC_ADDRESS from demo files

* Add return variable for IP_Init fucntions
2024-08-14 11:56:38 +05:30
Rahul Kar
8582188293
ARMv7-R No_GIC Port Demo (#1236)
Add ARM_CRx_No_GIC_Demo
2024-08-11 19:07:30 +05:30
Rahul Kar
d3d6893489
Update README to fix broken links (#1240) 2024-08-09 10:50:04 +05:30
Gaurav-Aggarwal-AWS
5f52d71cee
Update kernel submodule pointer (#1239)
* Update kernel submodule pointer

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

* Update manifest

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

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-08-06 22:12:13 +05:30
Gaurav-Aggarwal-AWS
a57ee50f67
Unit test updates for kernel PR #1111 (#1238)
* Unit test updates for kernel PR #1111

https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1111

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

* Fix doxygen check

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

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-08-06 10:10:45 +05:30
Michael Tautschnig
c1d2ba94c0
Use CBMC version 5.95.1 (#1226)
The upcoming CBMC version 6 release includes changes that may affect
existing proofs. This PR will make sure that FreeRTOS PRs are not
negatively impacted by this release. After releasing CBMC version 6 we
will issue a follow-up PR that will return FreeRTOS to using CBMC's
latest release, and will include any changes to proofs that may be
necessary to support the new version.

Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
2024-08-01 11:27:53 +05:30
Niklas
36b803e358
fix AbortDelay.c Test (#1237)
* fix AbortDelay.c Test

* Uncrustify: triggered by comment.

* Update comment

* Fix formatting

---------

Co-authored-by: Niklas Jenner <niklas.jenner@ifta.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Monika Singh <moninom@amazon.com>
2024-07-22 12:15:03 +05:30
Florian La Roche
82099c32a0
CORTEX_MPU_M3_MPS2_QEMU_GCC: remove unused defines (#1233)
From CORTEX_MPU_M3_MPS2_QEMU_GCC remove unused configNUM_TX_DESCRIPTORS
define and remove HEAP3 from as heap_4.c is used.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2024-07-01 12:46:15 +05:30
Florian La Roche
29d3e527ec
Posix_GCC: use complete function declaration (#1234)
complete function declaration for Posix_GCC

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-06-30 10:33:21 +05:30
Rahul Kar
ba4f37f3bb
Fix compilation issue in WinSim Demo (#1232)
* Fix compilation issue

* Fix formatting

* Uncrustify: triggered by comment.

* Remove commented line

---------

Co-authored-by: GitHub Action <action@github.com>
2024-06-21 16:51:45 +05:30
Florian La Roche
a33d259b0c
FreeRTOS_Plus_TCP_Echo_Qemu_mps2: remove unused defines/functions (#1229)
For FreeRTOS_Plus_TCP_Echo_Qemu_mps2:
- remove unused defines
- disable unused functions
- typo: ipconfigUSE_DNS -> ipconfigUSE_DHCP

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Anubhav Rawal <113639451+rawalexe@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2024-06-20 13:23:12 -07:00
chinglee-iot
b2b177aa59
Remove the configASSERT unit test for prvCheckForRunStateChange (#1231) 2024-06-19 17:30:18 +08:00
Gaurav-Aggarwal-AWS
bf046c15f7
Fix unit test for kernel PR #1082 (#1228)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-06-10 08:30:21 -07:00
Florian La Roche
5f85f43c39
Posix_GCC: update compiler options (#1227)
Posix_GCC: update compiler options

1. Add to CFLAGS
   - add -O0 optimization for debug builds.
   - add -O3 optimization for release builds. 
2. Update signal handler `handle_sigint()` to use
  `_exit()` instead of `exit()`. Normal exit() is not allowed
  within a signal handler.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-06-10 11:32:23 +05:30
Florian La Roche
995a030a92
MPS2_AN385 improvements (#1225)
* MPS2_AN385 improvements

Sync various MPS2_AN385 CORTEX-M3 QEMU targets and improve their
Makefiles and cleanup gcc support:
- FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Qemu_mps2:
  - Makefile
    - output image size after linking
    - move -nostartfiles from compiler to linker flags
    - modernize compiler warning flags
    - add --gc-sections to linker flags
  - TCPEchoClient_SingleTasks.c: fix compiler warnings
  - main.c: fix compiler warnings (remove unused code)
  - main_networking.c
    - remove ipLOCAL_MAC_ADDRESS (unknown)
    - fix compiler warnings about unused params
  - startup.c: main(void), remove unused includes,
    silence  unused params
  - syscalls.c: remove unused defines, silence unused params,
    more compact _sbrk()
- FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/build/gcc:
  - Makefile
    - CFLAGS/LDFLAGS in more readable lines
    - move -nostartfiles to linker flags
    - comment out -specs=rdimon.specs as it is not needed
  - startup_gcc.c: fix typo in comment, remove unused uart code
- FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC
  - Makefile
    - after compilation output size of image
    - remove -DQEMU_SOC_MPS2, not needed
    - update many CFLAGS/LDFLAGS settings to more modern gcc/source
    - -ffunction-sections -fdata-sections is moved to CFLAGS
  - startup.c: sync with other ports
  - syscall.c: _write(): param buf is not unused, silence unused params

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>

* remove ipLOCAL_MAC_ADDRESS completely and fix formatting errors

remove ipLOCAL_MAC_ADDRESS completely and fix formatting errors

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-06-04 20:08:16 +05:30
Florian La Roche
49bbe71166
Demo/CORTEX_MPS2_QEMU_IAR_GCC add path to IMAGE and remove mapfile (#1223)
For Demo/CORTEX_MPS2_QEMU_IAR_GCC gcc Makefile:
- simplify IMAGE var to already include full path
- clean target also removes mapfile

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2024-05-24 12:56:03 +05:30
Florian La Roche
8e54579341
Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC/syscall.c: remove unused g_ulBase (#1224)
In FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC/syscall.c the
extern definition of g_ulBase ist not used, so remove it.
Also move _heap_bottom and _heap_top to where they are used
in syscall.c.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-05-24 11:57:01 +05:30
chinglee-iot
6518cb153d
Update cellular comm interface to generate interrupt from windows thread (#1221)
* Make use of vPortGenerateSimulatedInterruptFromWindowsThread to generate interrupt from windows thread
2024-05-20 16:15:02 +08:00
Tony Josi
a3f42a78e7
Fleet provisioning winsim demo - fix warnings and reduce demo path length (#1222)
* Rename .\FreeRTOS-Plus\Demo\AWS\Fleet_Provisioning_Windows_Simulator\Fleet_Provisioning_With_CSR_Demo\ to .\FreeRTOS-Plus\Demo\AWS\Fleet_Provisioning_Windows_Simulator\CSR_Demo\ to reduce path length limit on Windows (260)

* Fix warnings in fleet provisioning demo

* Update path in CI actions script

* Fix formatting
2024-05-17 11:29:10 +05:30
chinglee-iot
680a1255e2
Fix coreHTTP demo compile warning (#1219)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2024-05-08 11:23:02 +05:30
Rahul Kar
6cda0cf7fc
Update coreSNTP demo file to fix warnings (#1218)
* Update demo file to fix warnings

* Remove extra overflow check in sntpClient_GetTime function

* Add assert checking for UTC rollover

* Fix configASSERT condition

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Ching-Hsin,Lee <chinglee@amazon.com>
2024-05-03 12:47:33 +05:30