Callisto4Bootloader: test/excep_test_configuration.h Source File

Callisto4Bootloader

excep_test_configuration.h
Go to the documentation of this file.
1 /******************************************************************************
2 * @file project_configuration.h
3 * @brief Configuration file for the Faults_and_handler project
4 * @version V1.00
5 * @date 10. July 2017
6 ******************************************************************************/
7 /*
8 * Copyright (c) 2017 ARM Limited. All rights reserved.
9 *
10 * SPDX-License-Identifier: Apache-2.0
11 *
12 * Licensed under the Apache License, Version 2.0 (the License); you may
13 * not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 */
24
25
26 //-------- <<< Use Configuration Wizard in Context Menu>>> -----------------
27 //
28 // <h>Fault exception example configuration
29 // <i> Select the test case that you wish to execute.
30 //
31 // <o>Test case execution
32 // <0=> UNDEFINSTR
33 // <1=> INVSTATE
34 // <2=> DIVBYZERO
35 // <i> Test cases available:
36 // <i> UNDEFINSTR (default)
37 // <i> INVSTATE
38 // <i> DIVBYZERO
39 #ifndef TESTCASE
40 #define TESTCASE 2
41 #endif
42 // <q>HardFault handler enable
43 //
44 // <i> Enables exemplary HardFault handler.
45 #ifndef HARDFAULT_HANDLER
46 #define HARDFAULT_HANDLER 1
47 #endif
48 // </h>
49 //------------- <<< end of configuration section>>> -----------------------