Last change
on this file was 439, checked in by coas-nagasima, 4 years ago |
mrubyを2.1.1に更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
1.4 KB
|
Line | |
---|
1 | // The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches.
|
---|
2 | // Check the 'features' section of the target description in 'targets.json' for more details.
|
---|
3 | /* mbed Microcontroller Library
|
---|
4 | * Copyright (c) 2006-2013 ARM Limited
|
---|
5 | *
|
---|
6 | * Licensed under the Apache License, Version 2.0 (the "License");
|
---|
7 | * you may not use this file except in compliance with the License.
|
---|
8 | * You may obtain a copy of the License at
|
---|
9 | *
|
---|
10 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
11 | *
|
---|
12 | * Unless required by applicable law or agreed to in writing, software
|
---|
13 | * distributed under the License is distributed on an "AS IS" BASIS,
|
---|
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
15 | * See the License for the specific language governing permissions and
|
---|
16 | * limitations under the License.
|
---|
17 | */
|
---|
18 | #ifndef MBED_DEVICE_H
|
---|
19 | #define MBED_DEVICE_H
|
---|
20 |
|
---|
21 | /* ->Take measures about optimization problems of web compiler */
|
---|
22 | /* Web compiler has problem that inlining code may not be generated correctly */
|
---|
23 | /* when "-O3 -Otime" was specified. */
|
---|
24 | #if defined(__CC_ARM) && (__ARMCC_VERSION <= 5040027)
|
---|
25 | #pragma Ospace
|
---|
26 | #endif
|
---|
27 | /* <-Take measures about optimization problems of web compiler */
|
---|
28 |
|
---|
29 |
|
---|
30 |
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
34 | #define TRANSACTION_QUEUE_SIZE_SPI 16
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
39 |
|
---|
40 | #define DEVICE_ID_LENGTH 32
|
---|
41 | #define DEVICE_MAC_OFFSET 20
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 | #include "objects.h"
|
---|
48 | #include "hal/dma_api.h"
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.