Commit graph

3701 commits

Author SHA1 Message Date
Florian La Roche
1aa47857a0
Various Qemu Cortex M3 ports now support picolibc (#1364)
* Various Qemu Cortex M3 ports now support picolibc

Allow various Qemu Cortex M3 ports to compile against
picolibc. Also support "-flto" to work correctly.
Tested with picolibc in current Debian 13.
Just use "PICOLIBC=1 make" to switch over from default newlib.

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

* Add ffreestanding

Signed-off-by: Ubuntu <ubuntu@ip-172-31-15-241.ap-south-1.compute.internal>

* Fix formatting check

Signed-off-by: Ubuntu <ubuntu@ip-172-31-15-241.ap-south-1.compute.internal>

---------

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Signed-off-by: Ubuntu <ubuntu@ip-172-31-15-241.ap-south-1.compute.internal>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-15-241.ap-south-1.compute.internal>
2025-08-13 20:15:54 +05:30
Dinh Van Nam
51467d89e0
Update code to correct function pointer casting (#1366)
* Update code to correct function pointer casting

Signed-off-by: Dinh Van Nam <vannam.dinh.xt@renesas.com>

* Update function signature

Signed-off-by: Dinh Van Nam <vannam.dinh.xt@renesas.com>

* Continue updating the function signature and revert a variable

Signed-off-by: Dinh Van Nam <vannam.dinh.xt@renesas.com>

* Fix format

Signed-off-by: Dinh Van Nam <vannam.dinh.xt@renesas.com>

* Fix CI check

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

* Fix CI checks

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

---------

Signed-off-by: Dinh Van Nam <vannam.dinh.xt@renesas.com>
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2025-08-05 22:09:20 +08:00
Aniruddha Kanhere
5cf13754a5 Update auto-release.yml 2025-07-09 13:15:21 -07:00
AniruddhaKanhere
b67ef3e3e2 Add artifact backup action 2025-07-09 13:15:21 -07:00
Florian La Roche
e0aa5eac74
Fix optimization bug and cleanup (#1363)
- Compiling Demo/Common/Minimal/TimerDemo.c with "gcc -flto" breaks the
  tests, so add "volatile" modifier to "ucOneShotTimerCounter" to fix
  this.
- In Demo/FreeRTOS_Plus_TCP_Echo_Qemu_mps2/main_networking.c print the
  network configuration even more visible.
- In MessageBufferDemo.c and Demo/Posix_GCC/main_full.c fix compiler
  warnings from "gcc -Wwrite-strings" by adding a const modifier.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2025-07-08 11:05:01 +05:30
Florian La Roche
722d17b13a
POSIX Demo: clang warnings cleanup (#1359)
Cleanup for clang compiler warnings:
- add "#include" to proper header files
- add "static" modifier to some vars
- if tracing is disabled, do not compile helper functions
- remove unused macro "mainFLASH_TASK_PRIORITY"

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2025-06-19 14:02:36 +05:30
Dan Petrisko
9b5e277a6f
update alignment in RISC-V-spike-htif_GCC (#1357) 2025-06-13 12:42:47 +05:30
Florian La Roche
d1136b4857
Demo/CORTEX_MPS2_QEMU_IAR_GCC: fix warnings (#1352)
* Demo/CORTEX_MPS2_QEMU_IAR_GCC: fix warnings

* fix compiler warning "gcc -Wmissing-prototypes" in startup_gcc.c
* fix compiler warning "gcc -Wredundant-decls" in main.c
* change stack size from 88 to 128
* change heap from 60 to 64 Kbyte

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

* Increase heap size for tracing on

---------

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2025-06-11 20:41:51 +05:30
Florian La Roche
1fb5ee4dad
Demo/Common/Minimal/StreamBufferInterrupt.c: more strict result checking (#1356)
From looking at the code, I think this more strict error checking
was intended in xIsInterruptStreamBufferDemoStillRunning().
If not, then the else part and var could be completely removed
as dead code.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2025-06-11 12:47:56 +05:30
Rahul Kar
c4da4ef1a7
Update download locations to outside repository content (#1355)
Update curl command to download in a non user accessible folder
2025-06-05 23:21:31 +05:30
Florian La Roche
67bc5a930d
Demo/Posix_GCC: fix compiler flags and compiler warnings (#1351)
- Change CMakeLists.txt to set the C compiler flags instead
  of the C++ compiler flags.
- Change to compiler warnings from "gcc -Wconversion" in
  main_full.c.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
2025-06-04 11:15:09 +08:00
Florian La Roche
9d9bbd0e61
Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC: support "gcc -flto" and fixes (#1353)
* Fix compiler warning "gcc -Wmissing-prototypes" in startup.c.
* For "gcc -flto" fix duplicate labels in asm (startup.c) and mark
  some functions as "used" in startup.c and syscalls.c.
* Fix "gcc -Wredundant-decls" in main.c.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2025-05-26 15:47:12 +05:30
Archit Gupta
9b50dc160b
Remove formatting bot workflow (#1348) 2025-05-09 14:09:20 -07:00
Florian La Roche
1ca9fd442f
clean up warnings from "gcc -Wconversion" (#1344)
* clean up warnings from "gcc -Wconversion"

clean up warnings from "gcc -Wconversion"

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

* Fix formatting

---------

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Rahul Kar <karahulx@amazon.com>
2025-04-29 21:24:39 +05:30
Florian La Roche
0d2a5ae534
FreeRTOS_Plus_TCP_Echo_Qemu_mps2: fix compile with "gcc -flto" (#1343)
FreeRTOS_Plus_TCP_Echo_Qemu_mps2: fix compile with "gcc -flto"
by adding "__attribute__( used )" to isr_vector and _fstat().

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2025-04-28 13:52:16 -07:00
Rahul Kar
0cbfaab47d
Update network_transport files based on MbedTLSv3.6.3 (#1340)
Update network_transport files based on MbedTLSv3.6.3
2025-04-21 20:21:08 +05:30
Florian La Roche
1325aaaad6
FreeRTOS_Plus_TCP_Echo_Qemu_mps2: cleanup (#1336)
* FreeRTOS_Plus_TCP_Echo_Qemu_mps2: cleanup

FreeRTOS_Plus_TCP_Echo_Qemu_mps2:
- Add missing include for header files.
- Remove redundant function declarations.
- Add "static" modifier if possible.
- No need to use "weak" for EthernetISR().

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2025-04-21 19:13:02 +05:30
Luca Mannella
9165944664
Align stack size to 16-byte boundary by changing __stack_size from 350 to 352​ (#1335)
This commit updates the __stack_size definition in the
linker flags, changing its value from 350 to 352. This
change ensures that the stack size is a multiple of 16,
aligning the stack pointer (sp) to a 16-byte boundary
as required by the system architecture.​
2025-04-08 11:24:31 +05:30
Jonathan Cubides
2625a12c04
Update demo RISCV qemu demo to check the vector context save (#1334)
Demo: RISC-V_RV32_QEMU_VIRT_GCC: Add a test for vector registers
2025-03-31 21:08:39 +05:30
Jonathan Cubides
881305dcb8
Update RV32 qemu Demo to support RVA23 (#1329)
* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Increase the memory for RVA23 compilation

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Update the regtest to include fpu registers

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Fix small issues for 64-bit configs

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Enable FPU unit

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Enable compilation for RVA23 platforms

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Fix copyright related CI issues

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Update submodule manifest

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Update a few typos and left overs

* Demo: RISC-V_RV32_QEMU_VIRT_GCC: Apply @aggarg's sugestions

* Update pointer to Freertos-Kernel
2025-03-10 17:06:13 +05:30
Florian La Roche
2abeb3e52f
Demo/CORTEX_MPS2_QEMU_IAR_GCC: increase min stack size from 80 to 88 (#1332)
Compiling this demo with picolibc 1.8.9 (as packaged with Debian trixie)
results in a stack overflow. Increasing the minimal stack size from
80 to 88 bytes resolves this. (Debian trixie arm crosscompiler defaults
to compile/link against picolibc and not newlib anymore.)

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2025-03-07 00:14:29 +05:30
Dakshit Babbar
fda472bbd6
Update the coreMQTT submodule pointer (#1331)
* Update the coreMQTT submodule pointer

* [coreMQTT Version Update] Include core_mqtt_config.h in mqtt helper files

* Update the coreMQTT-Agent Submodule pointer to the updated fork branch

* Update manifest.yml file

* Add readme for OTA demos transitioning

* Update the pointer to coreMQTT-Agent to the upstream main and update manifest file

* Update manifest file

---------

Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2025-03-06 11:08:38 +05:30
Tony Josi
8eba8b5c9f
Update URI for FreeRTOS Quick start guide and FAQ (#1328) 2025-02-16 11:24:31 +05:30
Tony Josi
200e13bbe7
Update URI for Quick_Start_Guide (#1327) 2025-02-14 10:50:54 +05:30
Johan Kraft
617657c57f
Added TraceRecorder also in IAR project for CORTEX_MPS2_QEMU_IAR_GCC demo (#1325)
* * Added TraceRecorder also in IAR project for demo CORTEX_MPS2_QEMU_IAR_GCC.

* * Added TraceRecorder also in IAR project for demo CORTEX_MPS2_QEMU_IAR_GCC.
2025-02-10 12:32:38 +05:30
Gaurav-Aggarwal-AWS
3d927557dc
Add tests to cover xQueueCreateSetStatic (#1323)
Add tests to cover xQueueCreateSetStatic

This API was recently added in the following PR:
https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1228

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2025-01-28 20:44:20 +05:30
Johan Kraft
6d364f0b1f
TraceRecorder demo added in CORTEX_MPS2_QEMU_IAR_GCC (#1320)
* * Added TraceRecorder demo for Percepio View in CORTEX_MPS2_QEMU_IAR_GCC (only gcc supported at the moment)

* * Added TraceRecorder demo instructions in readme.md.

* * Updated FreeRTOS-Plus-Trace pointer

* * Using FreeRTOS-Plus-Trace submodule (TraceRecorder) instead of a static TraceRecorder copy.
2025-01-23 10:11:33 +05:30
Gaurav-Aggarwal-AWS
642e2ecfc7
Fix CI failures (#1322)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2025-01-22 22:30:10 +05:30
chinglee-iot
2dcc47ecba
Update unit test for TASK and ISR lock macros (#1319)
This is needed for PR - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1212.
2024-12-30 13:13:03 +05:30
Tony Josi
365a47921f
Update TCP Qemu echo demo port number macro naming in readme (#1306)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2024-12-27 10:21:02 +05:30
Tony Josi
7f748546a1
Fix FreeRTOS+TCP IPv6 demo with latest version of FreeRTOS+TCP (#1307) 2024-12-27 10:02:15 +05:30
Gaurav-Aggarwal-AWS
66de13ce1b
Update FreeRTOS-Kernel submodule pointer (#1316)
Update FreeRTOS-Kernel submodule pointer

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-12-26 10:57:39 +05:30
Tony Josi
a3c047d22f
Update FreeRTOS+TCP to latest version V4.3.1 (#1305)
Update FreeRTOS+TCP to latest version V4.3.1
2024-12-23 16:38:33 +05:30
Gaurav-Aggarwal-AWS
93ba585fb9
Fix coverage tests for Kernel PR 1203 (#1315)
Fix coverage tests for Kernel PR 1203

PR Link - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1203.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-12-20 10:56:23 +05:30
Sudeep Mohanty
f430a10431
fix(freertos/tasks): Updated the xTaskGetIdleTaskHandle Test (#1314)
This commit updates the xTaskGetIdleTaskHandle unit test as per the idle
task naming logic.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2024-12-19 22:32:48 +05:30
Gaurav-Aggarwal-AWS
dfb7b28f72
Fix SMP coverage tests for kernel PR 1206 (#1313)
PR Link - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1206

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-12-19 11:41:41 +05:30
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