Development mbed library for MAX32630FTHR
Dependents: blinky_max32630fthr
targets/TARGET_Maxim/mbed_rtx.h@3:1198227e6421, 2016-12-16 (annotated)
- Committer:
- switches
- Date:
- Fri Dec 16 16:27:57 2016 +0000
- Revision:
- 3:1198227e6421
- Parent:
- 0:5c4d7b2438d3
Changed ADC scale for MAX32625 platforms to 1.2V full scale to match MAX32630 platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
switches | 0:5c4d7b2438d3 | 1 | /* mbed Microcontroller Library |
switches | 0:5c4d7b2438d3 | 2 | * Copyright (c) 2016 ARM Limited |
switches | 0:5c4d7b2438d3 | 3 | * |
switches | 0:5c4d7b2438d3 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
switches | 0:5c4d7b2438d3 | 5 | * you may not use this file except in compliance with the License. |
switches | 0:5c4d7b2438d3 | 6 | * You may obtain a copy of the License at |
switches | 0:5c4d7b2438d3 | 7 | * |
switches | 0:5c4d7b2438d3 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
switches | 0:5c4d7b2438d3 | 9 | * |
switches | 0:5c4d7b2438d3 | 10 | * Unless required by applicable law or agreed to in writing, software |
switches | 0:5c4d7b2438d3 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
switches | 0:5c4d7b2438d3 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
switches | 0:5c4d7b2438d3 | 13 | * See the License for the specific language governing permissions and |
switches | 0:5c4d7b2438d3 | 14 | * limitations under the License. |
switches | 0:5c4d7b2438d3 | 15 | */ |
switches | 0:5c4d7b2438d3 | 16 | |
switches | 0:5c4d7b2438d3 | 17 | #ifndef MBED_MBED_RTX_H |
switches | 0:5c4d7b2438d3 | 18 | #define MBED_MBED_RTX_H |
switches | 0:5c4d7b2438d3 | 19 | |
switches | 0:5c4d7b2438d3 | 20 | #if defined(TARGET_MAX32600) |
switches | 0:5c4d7b2438d3 | 21 | |
switches | 0:5c4d7b2438d3 | 22 | #ifndef INITIAL_SP |
switches | 0:5c4d7b2438d3 | 23 | #define INITIAL_SP (0x20008000UL) |
switches | 0:5c4d7b2438d3 | 24 | #endif |
switches | 0:5c4d7b2438d3 | 25 | #ifndef OS_TASKCNT |
switches | 0:5c4d7b2438d3 | 26 | #define OS_TASKCNT 14 |
switches | 0:5c4d7b2438d3 | 27 | #endif |
switches | 0:5c4d7b2438d3 | 28 | #ifndef OS_MAINSTKSIZE |
switches | 0:5c4d7b2438d3 | 29 | #define OS_MAINSTKSIZE 256 |
switches | 0:5c4d7b2438d3 | 30 | #endif |
switches | 0:5c4d7b2438d3 | 31 | #ifndef OS_CLOCK |
switches | 0:5c4d7b2438d3 | 32 | #define OS_CLOCK 24000000 |
switches | 0:5c4d7b2438d3 | 33 | #endif |
switches | 0:5c4d7b2438d3 | 34 | |
switches | 0:5c4d7b2438d3 | 35 | #elif defined(TARGET_MAX32610) |
switches | 0:5c4d7b2438d3 | 36 | |
switches | 0:5c4d7b2438d3 | 37 | #ifndef INITIAL_SP |
switches | 0:5c4d7b2438d3 | 38 | #define INITIAL_SP (0x20008000UL) |
switches | 0:5c4d7b2438d3 | 39 | #endif |
switches | 0:5c4d7b2438d3 | 40 | #ifndef OS_TASKCNT |
switches | 0:5c4d7b2438d3 | 41 | #define OS_TASKCNT 14 |
switches | 0:5c4d7b2438d3 | 42 | #endif |
switches | 0:5c4d7b2438d3 | 43 | #ifndef OS_MAINSTKSIZE |
switches | 0:5c4d7b2438d3 | 44 | #define OS_MAINSTKSIZE 256 |
switches | 0:5c4d7b2438d3 | 45 | #endif |
switches | 0:5c4d7b2438d3 | 46 | #ifndef OS_CLOCK |
switches | 0:5c4d7b2438d3 | 47 | #define OS_CLOCK 24000000 |
switches | 0:5c4d7b2438d3 | 48 | #endif |
switches | 0:5c4d7b2438d3 | 49 | |
switches | 0:5c4d7b2438d3 | 50 | #elif defined(TARGET_MAX32620) |
switches | 0:5c4d7b2438d3 | 51 | |
switches | 0:5c4d7b2438d3 | 52 | #ifndef INITIAL_SP |
switches | 0:5c4d7b2438d3 | 53 | #define INITIAL_SP (0x20040000UL) |
switches | 0:5c4d7b2438d3 | 54 | #endif |
switches | 0:5c4d7b2438d3 | 55 | #ifndef OS_TASKCNT |
switches | 0:5c4d7b2438d3 | 56 | #define OS_TASKCNT 14 |
switches | 0:5c4d7b2438d3 | 57 | #endif |
switches | 0:5c4d7b2438d3 | 58 | #ifndef OS_MAINSTKSIZE |
switches | 0:5c4d7b2438d3 | 59 | #define OS_MAINSTKSIZE 256 |
switches | 0:5c4d7b2438d3 | 60 | #endif |
switches | 0:5c4d7b2438d3 | 61 | #ifndef OS_CLOCK |
switches | 0:5c4d7b2438d3 | 62 | #define OS_CLOCK 48000000 |
switches | 0:5c4d7b2438d3 | 63 | #endif |
switches | 0:5c4d7b2438d3 | 64 | |
switches | 0:5c4d7b2438d3 | 65 | #elif defined(TARGET_MAX32625) |
switches | 0:5c4d7b2438d3 | 66 | |
switches | 0:5c4d7b2438d3 | 67 | #ifndef INITIAL_SP |
switches | 0:5c4d7b2438d3 | 68 | #define INITIAL_SP (0x20028000UL) |
switches | 0:5c4d7b2438d3 | 69 | #endif |
switches | 0:5c4d7b2438d3 | 70 | #ifndef OS_TASKCNT |
switches | 0:5c4d7b2438d3 | 71 | #define OS_TASKCNT 14 |
switches | 0:5c4d7b2438d3 | 72 | #endif |
switches | 0:5c4d7b2438d3 | 73 | #ifndef OS_MAINSTKSIZE |
switches | 0:5c4d7b2438d3 | 74 | #define OS_MAINSTKSIZE 256 |
switches | 0:5c4d7b2438d3 | 75 | #endif |
switches | 0:5c4d7b2438d3 | 76 | #ifndef OS_CLOCK |
switches | 0:5c4d7b2438d3 | 77 | #define OS_CLOCK 96000000 |
switches | 0:5c4d7b2438d3 | 78 | #endif |
switches | 0:5c4d7b2438d3 | 79 | |
switches | 0:5c4d7b2438d3 | 80 | #elif defined(TARGET_MAX32630) |
switches | 0:5c4d7b2438d3 | 81 | |
switches | 0:5c4d7b2438d3 | 82 | #ifndef INITIAL_SP |
switches | 0:5c4d7b2438d3 | 83 | #define INITIAL_SP (0x20080000UL) |
switches | 0:5c4d7b2438d3 | 84 | #endif |
switches | 0:5c4d7b2438d3 | 85 | #ifndef OS_TASKCNT |
switches | 0:5c4d7b2438d3 | 86 | #define OS_TASKCNT 14 |
switches | 0:5c4d7b2438d3 | 87 | #endif |
switches | 0:5c4d7b2438d3 | 88 | #ifndef OS_MAINSTKSIZE |
switches | 0:5c4d7b2438d3 | 89 | #define OS_MAINSTKSIZE 256 |
switches | 0:5c4d7b2438d3 | 90 | #endif |
switches | 0:5c4d7b2438d3 | 91 | #ifndef OS_CLOCK |
switches | 0:5c4d7b2438d3 | 92 | #define OS_CLOCK 96000000 |
switches | 0:5c4d7b2438d3 | 93 | #endif |
switches | 0:5c4d7b2438d3 | 94 | |
switches | 0:5c4d7b2438d3 | 95 | #endif |
switches | 0:5c4d7b2438d3 | 96 | |
switches | 0:5c4d7b2438d3 | 97 | #endif // MBED_MBED_RTX_H |