This is the final version of Mini Gateway for Automation and Security desgined for Renesas GR Peach Design Contest
Dependencies: GR-PEACH_video GraphicsFramework HTTPServer R_BSP mbed-rpc mbed-rtos Socket lwip-eth lwip-sys lwip FATFileSystem
Fork of mbed-os-example-mbed5-blinky by
mbed-dev/platform/mbed_preprocessor.h@12:9a20164dcc47, 2017-01-11 (annotated)
- Committer:
- vipinranka
- Date:
- Wed Jan 11 11:41:30 2017 +0000
- Revision:
- 12:9a20164dcc47
This is the final version MGAS Project for Renesas GR Peach Design Contest
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vipinranka | 12:9a20164dcc47 | 1 | /** \addtogroup platform */ |
vipinranka | 12:9a20164dcc47 | 2 | /** @{*/ |
vipinranka | 12:9a20164dcc47 | 3 | /* mbed Microcontroller Library |
vipinranka | 12:9a20164dcc47 | 4 | * Copyright (c) 2006-2013 ARM Limited |
vipinranka | 12:9a20164dcc47 | 5 | * |
vipinranka | 12:9a20164dcc47 | 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
vipinranka | 12:9a20164dcc47 | 7 | * you may not use this file except in compliance with the License. |
vipinranka | 12:9a20164dcc47 | 8 | * You may obtain a copy of the License at |
vipinranka | 12:9a20164dcc47 | 9 | * |
vipinranka | 12:9a20164dcc47 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
vipinranka | 12:9a20164dcc47 | 11 | * |
vipinranka | 12:9a20164dcc47 | 12 | * Unless required by applicable law or agreed to in writing, software |
vipinranka | 12:9a20164dcc47 | 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
vipinranka | 12:9a20164dcc47 | 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vipinranka | 12:9a20164dcc47 | 15 | * See the License for the specific language governing permissions and |
vipinranka | 12:9a20164dcc47 | 16 | * limitations under the License. |
vipinranka | 12:9a20164dcc47 | 17 | */ |
vipinranka | 12:9a20164dcc47 | 18 | #ifndef MBED_PREPROCESSOR_H |
vipinranka | 12:9a20164dcc47 | 19 | #define MBED_PREPROCESSOR_H |
vipinranka | 12:9a20164dcc47 | 20 | |
vipinranka | 12:9a20164dcc47 | 21 | |
vipinranka | 12:9a20164dcc47 | 22 | /** MBED_CONCAT |
vipinranka | 12:9a20164dcc47 | 23 | * Concatenate tokens together |
vipinranka | 12:9a20164dcc47 | 24 | * |
vipinranka | 12:9a20164dcc47 | 25 | * @note |
vipinranka | 12:9a20164dcc47 | 26 | * Expands tokens before concatenation |
vipinranka | 12:9a20164dcc47 | 27 | * |
vipinranka | 12:9a20164dcc47 | 28 | * @code |
vipinranka | 12:9a20164dcc47 | 29 | * // Creates a unique label based on the line number |
vipinranka | 12:9a20164dcc47 | 30 | * int MBED_CONCAT(UNIQUE_LABEL_, __LINE__) = 1; |
vipinranka | 12:9a20164dcc47 | 31 | * @endcode |
vipinranka | 12:9a20164dcc47 | 32 | */ |
vipinranka | 12:9a20164dcc47 | 33 | #define MBED_CONCAT(a, b) MBED_CONCAT_(a, b) |
vipinranka | 12:9a20164dcc47 | 34 | #define MBED_CONCAT_(a, b) a##b |
vipinranka | 12:9a20164dcc47 | 35 | |
vipinranka | 12:9a20164dcc47 | 36 | /** MBED_STRINGIFY |
vipinranka | 12:9a20164dcc47 | 37 | * Converts tokens into strings |
vipinranka | 12:9a20164dcc47 | 38 | * |
vipinranka | 12:9a20164dcc47 | 39 | * @note |
vipinranka | 12:9a20164dcc47 | 40 | * Expands tokens before stringification |
vipinranka | 12:9a20164dcc47 | 41 | * |
vipinranka | 12:9a20164dcc47 | 42 | * @code |
vipinranka | 12:9a20164dcc47 | 43 | * // Creates a string based on the parameters |
vipinranka | 12:9a20164dcc47 | 44 | * const char *c = MBED_STRINGIFY(This is a ridiculous way to create a string) |
vipinranka | 12:9a20164dcc47 | 45 | * @endcode |
vipinranka | 12:9a20164dcc47 | 46 | */ |
vipinranka | 12:9a20164dcc47 | 47 | #define MBED_STRINGIFY(a) MBED_STRINGIFY_(a) |
vipinranka | 12:9a20164dcc47 | 48 | #define MBED_STRINGIFY_(a) #a |
vipinranka | 12:9a20164dcc47 | 49 | |
vipinranka | 12:9a20164dcc47 | 50 | |
vipinranka | 12:9a20164dcc47 | 51 | #endif |
vipinranka | 12:9a20164dcc47 | 52 | |
vipinranka | 12:9a20164dcc47 | 53 | /** @}*/ |