Soren Ptak
aacae9f21c
Fix formatting in portmacro_asm.h
2024-01-04 12:16:55 -05:00
Soren Ptak
63dfe612be
Fix assert check in svc enter, remove un-used defines
2024-01-04 08:59:47 -05:00
Soren Ptak
0fc0a5fbba
Formatting fix
2024-01-03 17:14:36 -05:00
Soren Ptak
22ff9003bb
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into ARM_CRx_MPU
2024-01-03 17:05:06 -05:00
Soren Ptak
d23078088c
Remove the use of ulContext and a controlled SVC stack pointer for the port
2024-01-03 17:04:10 -05:00
Soren Ptak
96ab824bb9
Merge branch 'main' into ARM_CRx_MPU
2024-01-03 11:07:48 -05:00
Soren Ptak
ae127206fa
Formatting changes for the portASM.S file
2024-01-03 11:06:40 -05:00
Soren Ptak
56b400f1a2
Change the parameters for prvMpuSetRegion() to follow the naming convention a bit more
2024-01-03 11:05:50 -05:00
chinglee-iot
be880a1fc8
Fix portSET_INTERRUPT_MASK_FROM_ISR definition for atomic operation ( #940 )
...
* Introduce portHAS_NESTED_INTERRUPTS to identify if port has nested interrupt or not.
* Update atomic.h to use portHAS_NESTED_INTERRUPTS instead of portSET_INTERRUPT_MASK_FROM_ISR definition.
---------
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: ActoryOu <jay2002824@gmail.com>
2024-01-03 15:47:05 +08:00
dps.lwk
75c4044b7e
RP2040: Fix removal of idle_task_static_memory.c ( #935 )
...
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2024-01-03 11:06:04 +05:30
Soren Ptak
fd19c0ee52
Throw an error if configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS is set to 1
2024-01-02 15:15:34 -05:00
Soren Ptak
e25b6e145d
Formatting fix
2024-01-02 13:26:24 -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
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
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
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
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
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
c0ce725293
Add SMP template port and example ( #900 )
...
* Add SMP template port and example
* Add readme file for smp configuration
* Update SMP build flow and add CI build
---------
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2023-12-04 10:49:41 +08:00
Rahul Kar
f8ef5f605b
Fix prototype of MPU_vTimerSetReloadMode ( #913 )
2023-11-30 00:17:56 +00:00
Legend
592bfe0e01
Fix typo in comment ( #910 )
...
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
2023-11-29 21:02:30 +05:30
Soren Ptak
6a9f5a244a
Add portMEMORY_BARRIER() to RX MCU ports ( #864 )
...
* Add portMEMORY_BARRIER() to RX MCU ports
* Remove the memory barrier from the SH2A_FPU portable directory
---------
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
2023-11-29 15:52:16 +05:30
Soren Ptak
6a41432498
Upgrade msvc port to winsock2 ( #895 )
...
* Add the changes needed to the MSVC windows port to get it to build with winsock2.h
* Rely upon the WIN32_LEAN_AND_MEAN define to include winsock2.h
2023-11-28 20:16:16 +00:00
Soren Ptak
147f34ab5f
Revert Portable/Renesas formatting ( #876 )
...
* Revert the formatting on Renesas ports
2023-11-28 10:56:15 -08:00
Soren Ptak
cb196ddbb1
Revert Portable/WizC Formatting ( #888 )
...
* Revert formatting on WizC ports
* Fix spelling mistakes
---------
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>
2023-11-23 17:34:07 +05:30
Soren Ptak
b3febb7416
Revert formatting on Tasking ports ( #887 )
...
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>
2023-11-23 17:21:23 +05:30
Soren Ptak
92365c9784
Revert Portable/Softune Formatting ( #886 )
...
* Revert formatting on Softune ports
* Fix spelling mistakes
---------
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>
2023-11-23 17:09:28 +05:30
Soren Ptak
96cdeaa725
Revert formatting on SDCC ports ( #885 )
...
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>
2023-11-23 16:44:36 +05:30
Soren Ptak
9a2ce912ff
Revert formatting on Rowley ports ( #884 )
...
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>
2023-11-23 16:23:55 +05:30
Soren Ptak
8d1da77d0d
Revert Portable/MPLAB Formatting ( #883 )
...
* Revert the formatting PR
* Fix spelling mistakes
---------
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>
2023-11-23 15:59:40 +05:30
Soren Ptak
2dfc5142f4
Revert the formatting changes on MikroC ports. ( #882 )
...
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>
2023-11-23 15:50:15 +05:30
Soren Ptak
a8a17dc4b5
Revert formatting on CCS port files ( #881 )
...
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>
2023-11-23 15:39:09 +05:30
Gaurav-Aggarwal-AWS
76be28cdc6
Update system call entry mechanism ( #898 )
...
Earlier the System Call entry from an unprivileged task
looked like:
1. SVC for entering system call.
2. System call implementation.
3. SVC for exiting system call.
Now, the system call entry needs to make only one SVC
call and everything else is handled internally.
This PR also makes the following changes:
1. Update the Access Control List (ACL) mechanism to
grant access to all the kernel objects before the
scheduler is started.
2. Add one struct param for system calls with 5 parameters.
This removes the need for special handling for system
calls with 5 parameters.
3. Remove raise privilege SVC when MPU wrapper v2 is used.
4. Add additional run time parameter checks to MPU wrappers
for xTaskGenericNotify and xQueueTakeMutexRecursive APIs.
2023-11-23 10:47:47 +05:30