Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NUCLEO-F030R8_ExtXtalTest
Fork of mbed-src by
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h@535:35ad5cbb2f6a, 2015-05-06 (annotated)
- Committer:
- mbed_official
- Date:
- Wed May 06 14:15:12 2015 +0100
- Revision:
- 535:35ad5cbb2f6a
- Parent:
- 525:c320967f86b9
- Child:
- 548:1abac31e188e
Synchronized with git revision 53280295abca097d107e8afe7f31871a2b65dc9f
Full URL: https://github.com/mbedmicro/mbed/commit/53280295abca097d107e8afe7f31871a2b65dc9f/
Silicon Labs - Add the no-rtti C++ compilation flag required for linking libmbed.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_official | 525:c320967f86b9 | 1 | /* mbed Microcontroller Library |
| mbed_official | 525:c320967f86b9 | 2 | * Copyright (c) 2006-2013 ARM Limited |
| mbed_official | 525:c320967f86b9 | 3 | * |
| mbed_official | 525:c320967f86b9 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| mbed_official | 525:c320967f86b9 | 5 | * you may not use this file except in compliance with the License. |
| mbed_official | 525:c320967f86b9 | 6 | * You may obtain a copy of the License at |
| mbed_official | 525:c320967f86b9 | 7 | * |
| mbed_official | 525:c320967f86b9 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| mbed_official | 525:c320967f86b9 | 9 | * |
| mbed_official | 525:c320967f86b9 | 10 | * Unless required by applicable law or agreed to in writing, software |
| mbed_official | 525:c320967f86b9 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| mbed_official | 525:c320967f86b9 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| mbed_official | 525:c320967f86b9 | 13 | * See the License for the specific language governing permissions and |
| mbed_official | 525:c320967f86b9 | 14 | * limitations under the License. |
| mbed_official | 525:c320967f86b9 | 15 | */ |
| mbed_official | 525:c320967f86b9 | 16 | #ifndef MBED_DEVICE_H |
| mbed_official | 525:c320967f86b9 | 17 | #define MBED_DEVICE_H |
| mbed_official | 525:c320967f86b9 | 18 | |
| mbed_official | 525:c320967f86b9 | 19 | #define DEVICE_PORTIN 1 |
| mbed_official | 525:c320967f86b9 | 20 | #define DEVICE_PORTOUT 1 |
| mbed_official | 525:c320967f86b9 | 21 | #define DEVICE_PORTINOUT 1 |
| mbed_official | 525:c320967f86b9 | 22 | |
| mbed_official | 525:c320967f86b9 | 23 | #define DEVICE_INTERRUPTIN 1 |
| mbed_official | 525:c320967f86b9 | 24 | |
| mbed_official | 525:c320967f86b9 | 25 | #define DEVICE_ANALOGIN 1 |
| mbed_official | 525:c320967f86b9 | 26 | #define DEVICE_ANALOGOUT 0 |
| mbed_official | 525:c320967f86b9 | 27 | |
| mbed_official | 525:c320967f86b9 | 28 | #define DEVICE_SERIAL 1 |
| mbed_official | 525:c320967f86b9 | 29 | #define DEVICE_SERIAL_ASYNCH 1 |
| mbed_official | 525:c320967f86b9 | 30 | |
| mbed_official | 525:c320967f86b9 | 31 | #define DEVICE_I2C 1 |
| mbed_official | 525:c320967f86b9 | 32 | #define DEVICE_I2CSLAVE 1 |
| mbed_official | 525:c320967f86b9 | 33 | #define DEVICE_I2C_ASYNCH 1 |
| mbed_official | 525:c320967f86b9 | 34 | |
| mbed_official | 525:c320967f86b9 | 35 | #define DEVICE_SPI 1 |
| mbed_official | 525:c320967f86b9 | 36 | #define DEVICE_SPISLAVE 1 |
| mbed_official | 525:c320967f86b9 | 37 | #define DEVICE_SPI_ASYNCH 1 |
| mbed_official | 525:c320967f86b9 | 38 | |
| mbed_official | 525:c320967f86b9 | 39 | #define DEVICE_CAN 0 |
| mbed_official | 525:c320967f86b9 | 40 | |
| mbed_official | 525:c320967f86b9 | 41 | #define DEVICE_RTC 1 |
| mbed_official | 525:c320967f86b9 | 42 | |
| mbed_official | 525:c320967f86b9 | 43 | #define DEVICE_ETHERNET 0 |
| mbed_official | 525:c320967f86b9 | 44 | |
| mbed_official | 525:c320967f86b9 | 45 | #define DEVICE_PWMOUT 1 |
| mbed_official | 525:c320967f86b9 | 46 | |
| mbed_official | 525:c320967f86b9 | 47 | #define DEVICE_SLEEP 1 |
| mbed_official | 525:c320967f86b9 | 48 | |
| mbed_official | 525:c320967f86b9 | 49 | #define DEVICE_STDIO_MESSAGES 1 |
| mbed_official | 525:c320967f86b9 | 50 | |
| mbed_official | 525:c320967f86b9 | 51 | #define DEVICE_LOWPOWERTIMER 1 |
| mbed_official | 525:c320967f86b9 | 52 | |
| mbed_official | 535:35ad5cbb2f6a | 53 | // Redefine OPEN_MAX from sys_limits.h to save on RAM. |
| mbed_official | 535:35ad5cbb2f6a | 54 | // Effect: maximum amount of file handlers = OPEN_MAX |
| mbed_official | 535:35ad5cbb2f6a | 55 | // This is not going to have an impact, since this is a RAM-limited part anyway. |
| mbed_official | 535:35ad5cbb2f6a | 56 | #define OPEN_MAX 8 |
| mbed_official | 535:35ad5cbb2f6a | 57 | |
| mbed_official | 525:c320967f86b9 | 58 | #include "objects.h" |
| mbed_official | 525:c320967f86b9 | 59 | #include "Modules.h" |
| mbed_official | 525:c320967f86b9 | 60 | #include "device_peripherals.h" |
| mbed_official | 525:c320967f86b9 | 61 | |
| mbed_official | 525:c320967f86b9 | 62 | #endif |
