Commit Graph

3656 Commits (202411.00)
 

Author SHA1 Message Date
kar-rahul-aws 152cf36d67 [AUTO][RELEASE]: Bump submodules per manifest.yml for V202411.00 2 months ago
kar-rahul-aws 86092070b3 [AUTO][RELEASE]: Bump file header version to "202411.00" 2 months ago
Rahul Kar aad3f5eece
Update LTS versions in history.txt (#1302) 2 months ago
Dakshit Babbar 9749ebdf71
Rectify the format of democonfigMQTT_BROKER_PORT macro (#1301)
* Rectify the format of democonfigMQTT_BROKER_PORT macro
2 months ago
Rahul Kar 2ba53c402a
Update history for release [202411.00] (#1300)
* Update history for release [202411.00]

* Update corePKCS11 to v3.6.2

* Update manifest.yml file
2 months ago
Rahul Kar 61b42acbfb
Update Website links (#1297)
* Update Website links

* Fix spell check
2 months ago
Rahul Kar 89c685bb5c
Update version of third party libraries for P3 release (#1271)
* Update User Networking debug command for QEMU Demo

* Fix CI check fails

* Update version of third party libraries for P3 release

* Update submodule pointer for glib

* Update submodule pointer for libslirp

* Update submodule pointer for OTA

* Fix formatting

---------

Co-authored-by: Rohit Madan <rohitmdn@amazon.com>
3 months ago
Bhoomika R S e13d6abc78
Add readme.url for demos (#1289)
Add/update readme.url for the following FreeRTOS demos:

Device Defender Demo
Device Shadow Demo
Fleet Provisioning (CSR) Demo
Jobs Demo
OTA Over HTTP Demo
OTA Over MQTT Demo
Cellular Interface Demo
Trace CLI Demo
TCP/UDP CLI Demo
WolfSSL Demo
coreHTTP Demo
corePKCS11 MQTT Mutual Auth Demo
corePKCS11 Objects Demo
coreSNTP Demo
FreeRTOS+TCP Minimal Windows Simulator
3 months ago
Dakshit Babbar d6274466ef
Populate RSA key attributes in mbedtls context (#1287)
* Populate RSA key from mbedtls context to support TLSv1.3

* Fix formatting

---------

Co-authored-by: Rahul Kar <karahulx@amazon.com>
3 months ago
Rohit Madan 592fd043a3
Fix compilation issue for FreeRTOS Plus WolfSSL demo (#1278)
* Fix compilation issue for FreeRTOS Plus WolfSSL demo

* Upgrade VS toolset

* Remove vcxproj files from formatting check

---------

Co-authored-by: kar-rahul-aws <karahulx@amazon.com>
4 months ago
Dakshit Babbar 5fb0889c7b
Update readme for corePKCS MQTT Mutual Auth Demo (#1276)
Co-authored-by: Dakshit Babbar <dakshba@amazon.com>
4 months ago
Rohit Madan 70757a8614
Add readme.url for corePKCS11 Windows Simulator Demo (#1279) 4 months ago
Rohit Madan acafe10a1d
Update User Mode Networking debug command for QEMU Demo (#1269)
* Update User Networking debug command for QEMU Demo

* Fix CI check fails

---------

Co-authored-by: kar-rahul-aws <karahulx@amazon.com>
4 months ago
Dakshit Babbar d7e89b8125
Update readme.url for coreMQTT Multitask Demo (#1267)
Co-authored-by: Dakshit Babbar <dakshba@amazon.com>
5 months ago
Tony Josi 17848bf485
Add missing header include in FreeRTOS-Plus/Demo/Common/coreMQTT_Agent_Interface/freertos_command_pool.c (#1260) 5 months ago
Monika Singh 6d126f449f
[P3] Update FreeRTOS Cellular Interface demos (#1250) 5 months ago
Monika Singh 8c535099f6
[P3] Update wolfssl to v5.6.4-stable (#1257) 5 months ago
Monika Singh 97af9c0c14
[P3] Update coreMQTT agent (#1258) 5 months ago
Monika Singh 26d0c3041d [P3] Update FreeRTOS cmock to v2.5.3 (#1251)
* Update libraries to LTS version

* Fix doxygen link

* Update cmock to v2.5.3

* Update FreeRTOS/Test/CMock/CMoc
5 months ago
Monika Singh 7ce50582be [P3] Update Partner/Community supported demos (#1249) 5 months ago
Monika Singh 455e0f0414 Fix doxygen link 5 months ago
Monika Singh af4d9efe43 Update libraries to LTS version 5 months ago
Gaurav-Aggarwal-AWS 0bf833bb02 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>
5 months ago
Monika Singh 66e1e57e2a Remove redundant TCP includes in FreeRTOS CBMC proofs (#1254)
* Remove unnecessary TCP includes

* Update comment
5 months ago
Rahul Kar c39dcc81a7 Update ReadMe to add UserMode Networking (#1216)
Update ReadMe to add UserMode Networking
5 months ago
Rahul Kar 0841805823 Remove ipLOCAL_MAC_ADDRESS from demo files (#1244)
* Remove ipLOCAL_MAC_ADDRESS from demo files

* Add return variable for IP_Init fucntions
6 months ago
Rahul Kar e72d72c831 ARMv7-R No_GIC Port Demo (#1236)
Add ARM_CRx_No_GIC_Demo
6 months ago
Rahul Kar 784021aaa8 Update README to fix broken links (#1240) 6 months ago
Michael Tautschnig e6fd5d47e5 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>
6 months ago
Niklas 30d2805d14 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>
6 months ago
Florian La Roche 6fab57ad3c 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>
6 months ago
Florian La Roche 6872fc8f28 Posix_GCC: use complete function declaration (#1234)
complete function declaration for Posix_GCC

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
6 months ago
Rahul Kar 7ab86b7e05 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>
6 months ago
Florian La Roche b54c336854 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>
6 months ago
Florian La Roche 32bed35d2c 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>
6 months ago
Florian La Roche 0d8b8f8bd3 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>
6 months ago
Florian La Roche 491f9130cd 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>
6 months ago
Florian La Roche 625a18d8e1 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>
6 months ago
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
9 months ago
chinglee-iot 680a1255e2
Fix coreHTTP demo compile warning (#1219)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
9 months ago
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>
9 months ago
Tony Josi 8f3277f7eb
Fix MQTT wolfssl demo, add wolfssl config WOLFSSL_ALT_CERT_CHAINS (#1217) 9 months ago
Tony Josi 97b800e339
Update MQTT broker setup steps (#1215)
* Update MQTT broker setup in FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Multitask/mqtt_broker_setup.txt

* Minor fix

---------

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
9 months ago
Tony Josi 24ad46b7f8
Fix MQTT multitask demo build (#1214)
* Fix MQTT multitask demo build

* Fix formatting

* Update FreeRTOS-Plus/Demo/Common/coreMQTT_Agent_Interface/freertos_command_pool.c

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

---------

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
9 months ago
Florian La Roche 140ce29320
Demo/CORTEX_MPS2_QEMU_IAR_GCC cleanup (#1213)
Some small changes for Demo/CORTEX_MPS2_QEMU_IAR_GCC:
- FreeRTOSConfig.h: define configENABLE_BACKWARD_COMPATIBILITY to 0
- build/gcc/Makefile: remove unused SUB_MAKEFILE_DIR
- build/gcc/Makefile: no trailing slash(/) for FREERTOS_ROOT
- build/gcc/Makefile: commented out, but prepared:
   - CFLAGS += -Wpedantic -Wshadow -fanalyzer
   - CFLAGS += -flto
- build/gcc/startup_gcc.c:
   - "__attribute__( ( naked ) )" for Reset_Handler
   - "__attribute__( ( used ) )" for isr_vector and prvGetRegistersFromStack

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
9 months ago
Florian La Roche 022447b855
Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC: optimize _sbrk() (#1211)
Optimize _sbrk() from runtime to compiletime initialization.
Fix compiler warnings by adjusting (void *) and (char *) types.

Complete function declarations for uart_init() and _getpid().

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
10 months ago
Florian La Roche 17eeb79698
Demo/Posix_GCC cleanup (#1212)
Demo/Posix_GCC cleanup

- Guard prvSaveTraceFile() function definition.
- Remove "cid" as it is unused.
- handle_sigint(): quiet compiler warning about unused param.
- main_full.c: prvCheckTask(): Remove unused var "xHeapStats".

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
10 months ago
xuelix 2023ac6404
Fix the erroneous check (#1210)
This is to address this issue: https://github.com/FreeRTOS/FreeRTOS/issues/1206
10 months ago
Tony Josi 469b8ad175
Fix MQTT keep alive and winsim logging warnings (#1209)
* Fix MQTT keep alive and winsim logging warnigs

* Fix winsim logging warnings

* Fix winsim logging warnings
10 months ago
wat 2b499ab780
[WIN32-MingW Demo] Modify project setting files to resolve compiler errors on Eclipse (#1203)
* Exclude unnecessary directories from build.
1. "FreeRTOS/Source/example"
2. "FreeRTOS+Trace Recorder/extras"
3. "FreeRTOS+Trace Recorder/kernelports/BareMetal"
4. "FreeRTOS+Trace Recorder/kernelports/ESP-IDF_FreeRTOS"
5. "FreeRTOS+Trace Recorder/kernelports/ThreadX"
6. "FreeRTOS+Trace Recorder/kernelports/Zephyr"

1 is applied to both of "Debug" configuration and "Debug_CodeCoverage" configuration.
Others are applied to only "Debug" configuration because those directories are already excluded from build on "Debug_Coverage" configuration.

* Include path setting is modified.
1.Directory name is modified.("Include" -> "include")
2.New path is added.(FreeRTOS+Trace Recorder/kernelports/FreeRTOS/include)
These modifications are needed to build "Debug" configuration. They are not needed for "Debug_CodeCoverage" configuration because these paths are not used. But these modifications are applied to both of "Debug" configuration and "Debug_CodeCoverage" configuration because of future potential risk.

* [WIN32-MingW Demo] Replace "Exclude from Build" by "Resource Filter".

"Resource Filter" is better than "Exclude from Build" because "Resource Filter" makes excluded directories invisible on Eclipse GUI. But some directories are still "Exclude from Build" because they should be excluded only on "Debug_CodeCoverage" configuration. "Resource Filter" cannot be specified to each configuration separately.

* Code review suggestions

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

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
10 months ago