Soren Ptak
e25b6e145d
Formatting fix
2024-01-02 13:26:24 -05:00
Soren Ptak
d965464f4e
Use my fork for the Demo builds
2024-01-02 13:09:29 -05:00
Soren Ptak
be4dc05b78
Slight format change
2024-01-02 13:06:59 -05:00
Soren Ptak
b2c406c3a3
Change to make the .clang-format file work with V14 of clang-format. Moving the comment for PRIVILEGED_FUNCTION to the front to help with formatting, also makes more sense when looking at the func imo
2024-01-02 12:58:46 -05:00
Soren Ptak
b701a46312
Merge branch 'main' into ARM_CRx_MPU
2024-01-02 12:52:35 -05:00
Soren Ptak
dc0e508008
Add the ARM_CRx_MPU Demos to the kernel build checks
2024-01-02 12:51:08 -05:00
Soren Ptak
bdd9f7129c
Add the CI-CD check for clang formatting the ARM_CRx_MPU port
2024-01-02 11:49:19 -05:00
Soren Ptak
4c53a433df
Add the .clang-format file that is being used to the port
2024-01-02 11:48:48 -05:00
Soren Ptak
7650690bef
Clang format portmacro.h with slight tweaks to the format options
2024-01-02 11:48:30 -05:00
Soren Ptak
4f65931294
Clang format port.c with slight tweaks to the format options
2024-01-02 11:48:21 -05:00
Soren Ptak
89227494cf
Clang format the mpu_wrappers_v2_asm.h file with slight tweaks to the format options
2024-01-02 11:48:07 -05:00
Jeff Tenney
5544c78299
Fix build error for MSP430 and Cortex A with IAR ( #937 )
...
* fix whitespace in asm macros
* Revert formatting ARM_CA5_No_GIC and ARM_CA9
2023-12-29 11:48:56 -08:00
Soren Ptak
43946db07b
Refactoring xPortIsAuthorizedToAccessBuffer
2023-12-29 11:18:27 -05:00
Soren Ptak
a1191243f9
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into ARM_CRx_MPU
2023-12-28 17:51:47 -05:00
Soren Ptak
80d09879d1
Add in Access Control List support to the port
2023-12-28 17:51:42 -05:00
Soren Ptak
26019cd2d7
Fix copyright headers in the new port files
2023-12-27 21:44:04 -05:00
Soren Ptak
a33a6ddc76
Add new spell check words
2023-12-27 20:31:08 -05:00
Soren Ptak
d8b08270d0
Add support for the port in the CMakeLists.txt files
2023-12-27 19:39:38 -05:00
Soren Ptak
4a74745eb2
First draft of a CRx MPU Port for FreeRTOS
2023-12-27 18:50:31 -05:00
Soren Ptak
58f0d36e76
Export MPU Section Attributes ( #931 )
...
Export the PRIVILEGED_FUNCTION, PRIVILEGED_DATA, and FREERTOS_SYSTEM_CALL
attributes to make it easier for end users to add their own privileged functions and
system calls.
2023-12-26 16:06:50 +05:30
dps.lwk
93380c02a1
RP2040: FreeRTOS-Kernel-Static use configKERNEL_PROVIDED_STATIC_MEMORY ( #934 )
...
Remove the idle_task_static_memory.c and use the new default implementations
to allows for FreeRTOS-Kernel-Static to be used with configNUMBER_OF_CORES > 1
2023-12-26 17:02:47 +08:00
Forty-Bot
ec93432a59
Fix build with modern GCC ( #933 )
...
* GCC: MSP430F449: Add missing attributes
Apparently at some point in the past, GCC (or TI's GCC) used to define
these attributes. Define them ourselves so that we can compile the demo
application.
* GCC: MSP430F449: Make interrupts return void
If a return type of a function is not specified, it defaults to int. Set
the return type of interrupts to void to avoid warnings.
* GCC: MSP430F449: Define portPOINTER_SIZE_TYPE
portPOINTER_SIZE_TYPE defaults to uint32_t if undefined. Define it to
uint16_t, which is correct for this port.
2023-12-22 14:09:55 -07:00
Rahul Kar
4e7ca2d704
Update History.txt for V11.0.1 ( #932 )
...
* Update History for V11.0.1
2023-12-21 11:43:30 +05:30
chinglee-iot
5bb2b59db4
Update History.txt for v11.0.0 ( #926 )
...
* Update History.txt for v11.0.0
2023-12-18 17:16:22 +08:00
Rahul Kar
b0439d3283
Rename sample configuration to template configuration ( #927 )
...
* Rename sample configuration to template configuration
* Rename sample configuration to template configuration in cmake example file
2023-12-18 10:43:08 +05:30
Soren Ptak
553b0ad5d3
Update comments related to portYIELD_FROM_ISR() in queue.h #925
2023-12-15 09:34:52 -08:00
Rahul Kar
1384c68dc7
Update sample configuration file ( #923 )
...
* Update sample configuration file in the examples folder
* Add SMP Configuration definitions
* Fix build issue in cmake example
* Add CoRoutine Configuration definitions
* Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix formatting
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-12-15 12:31:18 +08:00
chinglee-iot
e0bb21f832
Remove the sample smp configuration folder ( #922 )
...
* Remove the sample smp configuration folder
2023-12-13 13:41:29 +05:30
Darian
bd0f87c18b
Add portTASK_SWITCH_HOOK ( #867 )
...
This commit adds a portTASK_SWITCH_HOOK() macro which allows ports to inject
behavior immediately after a context switch. For example, this macro could be
used by ports that need to set an end of stack watchpoint after a context
swtich.
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-12-11 15:12:53 +08:00
Jeff Tenney
30e6b8a5ea
Detect more startup config errors on Cortex M ( #832 )
...
Verify that the application has correctly installed PendSV
and SVCall handlers. The application can choose to
disable these checks by setting configCHECK_HANDLER_INSTALLATION
to 0 in their FreeRTOSConfig.h.
2023-12-11 10:27:47 +05:30
RichardBarry
553caa18ce
Update the memory alignment within the Cortex-A9 port asm code ( #426 )
...
Update alignment in ARM_CA9 port.
2023-12-09 14:49:39 +05:30
chinglee-iot
a79752a04a
Remove lint suppression comment ( #920 )
...
Remove lint suppression comment
2023-12-08 12:19:42 +05:30
chinglee-iot
a2712b5e38
Add constanst suffix to prevent potential type conversion ( #921 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
2023-12-08 11:36:55 +05:30
chinglee-iot
5dbfd380f0
Add coverity example ( #870 )
...
* Add coverity example
* Update for CI
* Fix for CI 2
* Update kernel_misra.config
* Rename coverity example to coverity
* Update FreeRTOSConfig.h for coverity project
* Update MISRA.md
* Move coverity config to coverity_misra.config
* Update coverity misra config
* Add README.md file
* Update FreeRTOSConfig.h for coverity
* Fix uncrustify and spell
* Update README.md for relative link path
Update README.md for relative link path
* Update README.md for relative link 2
* Update MISRA.md for relateive path
* Fix for format
* Update coverity_misra.config
* Update configuration folder
* Update README.md for link
* Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-12-08 00:54:20 +05:30
Soren Ptak
ac7fc396a0
Revert Portable/BCC formatting ( #828 )
...
Revert Portable/BCC formatting
2023-12-07 22:21:11 +05:30
Soren Ptak
bcf7bdaa13
Revert Portable/oWatcom formatting ( #829 )
...
Revert the formatting on oWatcom ports
2023-12-07 22:10:50 +05:30
Soren Ptak
0debe8c669
Revert Portable/Paradigm formatting ( #830 )
...
Revert the formatting on Paradigm ports
2023-12-07 22:02:49 +05:30
Soren Ptak
db5df4bfde
Revert Portable/CodeWarrior formatting ( #831 )
...
Revert the formatting on CodeWarrior ports
2023-12-07 21:46:33 +05:30
chinglee-iot
de2c0c1a95
Update partner and community supported port submodule pointer ( #919 )
2023-12-07 19:43:02 +08:00
chinglee-iot
d95b05ea5f
Suppress MISRA C:2012 rule 21.6 for snprintf ( #877 )
...
Suppress MISRA C:2012 rule 21.6 for snprintf
2023-12-07 16:21:14 +05:30
chinglee-iot
877484cd7e
Fix MISRA C 2012 Rule 11.1 deviations ( #856 )
...
* Update callback function prototype to align with definition
* Suppress unused function pointer parameter
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-12-07 18:15:19 +08:00
chinglee-iot
15af8e072d
Add description about overrun warning in queue.c ( #869 )
...
* Add description about overrun warning in queue.c
* Remove the unreachable configASSERT
* Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix formatting
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-12-07 15:22:21 +05:30
Rahul Kar
93ef558fa8
Declare variable without initializer ( #841 )
...
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-12-07 14:56:44 +05:30
chinglee-iot
51437bf943
Fix MISRA C 2012 rule 8.6 errors ( #862 )
...
* Fix MISRA C 2012 rule 8.6 errors
* Add suppression for hook function
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-12-07 14:23:02 +05:30
Rahul Kar
55094e2ddf
Fix MISRA_C_2012 rule 13.2 violation ( #855 )
...
* Assign volatile variables to local non-volatile variables before read
* Fix stack macro overflow check volatile access
* Explicit the read order of volatile variable
* Fix issue : ISO C90 forbids mixed declarations and code
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Monika Singh <moninom@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-12-07 12:15:09 +05:30
Rahul Kar
d1a0202125
Fix MISRA_C_2012 rule 8.4 violation ( #844 )
...
Fix MISRA_C_2012 rule 8.4 violation
2023-12-07 11:27:50 +05:30
Rahul Kar
22eb827b3d
Add parameter name for function type ( #845 )
...
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-12-06 21:53:52 +05:30
Rahul Kar
ce41f6ec74
Fix MISRA_C_2012 rule 7.2 violation ( #842 )
...
* Add a u or U suffix for unsigned numerical literals
* Fix formatting
* Replace u with U for naming convention
---------
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-12-06 21:37:52 +05:30
Rahul Kar
71d86f9a6e
Fix MISRA_C_2012 rule 17.7 violation ( #848 )
...
* Assign return value of xPortStartScheduler API to a variable
* Add void datatype
---------
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-12-06 16:33:18 +05:30
Rahul Kar
edce1e94b3
Fix MISRA_C_2012 rule 20.7 violation ( #843 )
...
* Wrap macro parameter expansion by parentheses
* Update parentheses in SMP macro definition
---------
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Monika Singh <moninom@amazon.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
2023-12-06 16:27:10 +08:00