-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Evagan2018/main
Remove --update-rte to ensure support of reproducible builds
- Loading branch information
Showing
166 changed files
with
32,501 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
cbuild-pack: | ||
resolved-packs: | ||
- resolved-pack: ARM::[email protected] | ||
selected-by-pack: | ||
- ARM::CMSIS | ||
- resolved-pack: ARM::[email protected] | ||
selected-by-pack: | ||
- ARM::CMSIS-Compiler | ||
- resolved-pack: ARM::[email protected] | ||
selected-by-pack: | ||
- ARM::CMSIS-RTX | ||
- resolved-pack: ARM::[email protected] | ||
selected-by-pack: | ||
- ARM::SSE_315_BSP | ||
- resolved-pack: ARM::[email protected] | ||
selected-by-pack: | ||
- ARM::V2M_MPS3_SSE_300_BSP | ||
- resolved-pack: ARM::[email protected] | ||
selected-by-pack: | ||
- ARM::V2M_MPS3_SSE_310_BSP | ||
- resolved-pack: Keil::[email protected] | ||
selected-by-pack: | ||
- Keil::V2M-MPS2_CMx_BSP | ||
- resolved-pack: Keil::[email protected] | ||
selected-by-pack: | ||
- Keil::V2M-MPS2_IOTKit_BSP | ||
- resolved-pack: Keil::[email protected] | ||
selected-by-pack: | ||
- Keil::V2M-MPS3_IOTKit_BSP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Copyright (c) 2013-2023 Arm Limited. All rights reserved. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the License); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an AS IS BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* ----------------------------------------------------------------------------- | ||
* | ||
* $Revision: V5.2.0 | ||
* | ||
* Project: CMSIS-RTOS RTX | ||
* Title: RTX Configuration | ||
* | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
|
||
#include "cmsis_compiler.h" | ||
#include "rtx_os.h" | ||
|
||
// OS Idle Thread | ||
__WEAK __NO_RETURN void osRtxIdleThread (void *argument) { | ||
(void)argument; | ||
|
||
for (;;) {} | ||
} | ||
|
||
// OS Error Callback function | ||
__WEAK uint32_t osRtxErrorNotify (uint32_t code, void *object_id) { | ||
(void)object_id; | ||
|
||
switch (code) { | ||
case osRtxErrorStackOverflow: | ||
// Stack overflow detected for thread (thread_id=object_id) | ||
break; | ||
case osRtxErrorISRQueueOverflow: | ||
// ISR Queue overflow detected when inserting object (object_id) | ||
break; | ||
case osRtxErrorTimerQueueOverflow: | ||
// User Timer Callback Queue overflow detected for timer (timer_id=object_id) | ||
break; | ||
case osRtxErrorClibSpace: | ||
// Standard C/C++ library libspace not available: increase OS_THREAD_LIBSPACE_NUM | ||
break; | ||
case osRtxErrorClibMutex: | ||
// Standard C/C++ library mutex initialization failed | ||
break; | ||
case osRtxErrorSVC: | ||
// Invalid SVC function called (function=object_id) | ||
break; | ||
default: | ||
// Reserved | ||
break; | ||
} | ||
for (;;) {} | ||
//return 0U; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Copyright (c) 2013-2023 Arm Limited. All rights reserved. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the License); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an AS IS BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* ----------------------------------------------------------------------------- | ||
* | ||
* $Revision: V5.2.0 | ||
* | ||
* Project: CMSIS-RTOS RTX | ||
* Title: RTX Configuration | ||
* | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
|
||
#include "cmsis_compiler.h" | ||
#include "rtx_os.h" | ||
|
||
// OS Idle Thread | ||
__WEAK __NO_RETURN void osRtxIdleThread (void *argument) { | ||
(void)argument; | ||
|
||
for (;;) {} | ||
} | ||
|
||
// OS Error Callback function | ||
__WEAK uint32_t osRtxErrorNotify (uint32_t code, void *object_id) { | ||
(void)object_id; | ||
|
||
switch (code) { | ||
case osRtxErrorStackOverflow: | ||
// Stack overflow detected for thread (thread_id=object_id) | ||
break; | ||
case osRtxErrorISRQueueOverflow: | ||
// ISR Queue overflow detected when inserting object (object_id) | ||
break; | ||
case osRtxErrorTimerQueueOverflow: | ||
// User Timer Callback Queue overflow detected for timer (timer_id=object_id) | ||
break; | ||
case osRtxErrorClibSpace: | ||
// Standard C/C++ library libspace not available: increase OS_THREAD_LIBSPACE_NUM | ||
break; | ||
case osRtxErrorClibMutex: | ||
// Standard C/C++ library mutex initialization failed | ||
break; | ||
case osRtxErrorSVC: | ||
// Invalid SVC function called (function=object_id) | ||
break; | ||
default: | ||
// Reserved | ||
break; | ||
} | ||
for (;;) {} | ||
//return 0U; | ||
} |
Oops, something went wrong.