Skip to content

Commit c9e63f1

Browse files
authored
Merge pull request ARMmbed#4596 from ARMmbed/release-candidate
Release candidate for mbed-os-5.5.1
2 parents 3179b1c + bdaeaf5 commit c9e63f1

File tree

244 files changed

+30026
-20465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+30026
-20465
lines changed

.travis.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,22 @@ python:
22
- "2.7"
33

44
script:
5-
- mkdir BUILD && doxygen doxyfile_options
5+
- mkdir BUILD
6+
# Assert that the Doxygen build produced no warnings.
7+
# The strange command below asserts that the Doxygen command had an
8+
# output of zero length
69
- |
7-
[ -z "`doxygen doxyfile_options 2>&1`" ]
10+
doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ]
11+
# Assert that all binary libraries are named correctly
12+
# The strange command below asserts that there are exactly 0 libraries that do
13+
# not start with lib
14+
- |
15+
find "(" -name "*.a" -or -name "*.ar" ")" -and -not -name "lib*" | tee BUILD/badlibs | sed -e "s/^/Bad library name found: /" && [ ! -s BUILD/badlibs ]
16+
# Assert that all assebler files are named correctly
17+
# The strange command below asserts that there are exactly 0 libraries that do
18+
# end with .s
19+
- |
20+
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
821
- make -C events/equeue test clean
922
- PYTHONPATH=. python tools/test/config_test/config_test.py
1023
- PYTHONPATH=. python tools/test/build_api/build_api_test.py
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/* Copyright (c) 2017 ARM Limited
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
16+
#ifndef LWIPOPTS_CONF_H
17+
#define LWIPOPTS_CONF_H
18+
19+
#define LWIP_TRANSPORT_ETHERNET 1
20+
21+
/* The IEEE 802.3ac standard says the maximum Ethernet frame */
22+
/* size is 1522 bytes to accommodate the four-byte VLAN tag. */
23+
#define ETH_MAX_FLEN 1522u /* recommended size for a VLAN frame */
24+
25+
/* Maximum Transfer Unit
26+
* The IEEE 802.3 specification limits the data portion of the 802.3 frame
27+
* to a minimum of 46 and a maximum of 1500 bytes, this is on L3 level.
28+
*/
29+
#define ETH_L2_HEADER_LEN 22u
30+
31+
#define ETH_MAX_PAYLOAD_LEN (ETH_MAX_FLEN - ETH_L2_HEADER_LEN)
32+
33+
#endif /* LWIPOPTS_CONF_H */

0 commit comments

Comments
 (0)