Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
source/nanostack_heap_region.h@108:0c14bd1d3334, 2019-11-27 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Nov 27 10:02:22 2019 +0000
- Revision:
- 108:0c14bd1d3334
- Parent:
- 105:d9f83743ed4f
Fix conflicting declarations of main() (#197)
Update the main() to be compatible with the declaration from
platform/mbed_toolchain.h that adds the MBED_USED attribute.
Without the attribute the main() symbol is not emitted with the
GCC toolchain using "-Wl,--wrap,main" and "-flto" flags.
.
Commit copied from https://github.com/ARMmbed/nanostack-border-router
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 105:d9f83743ed4f | 1 | /* |
mbed_official | 105:d9f83743ed4f | 2 | * Copyright (c) 2019 ARM Limited. All rights reserved. |
mbed_official | 105:d9f83743ed4f | 3 | */ |
mbed_official | 105:d9f83743ed4f | 4 | |
mbed_official | 105:d9f83743ed4f | 5 | #ifndef NANOSTACK_HEAP_REGION_H |
mbed_official | 105:d9f83743ed4f | 6 | #define NANOSTACK_HEAP_REGION_H |
mbed_official | 105:d9f83743ed4f | 7 | |
mbed_official | 105:d9f83743ed4f | 8 | #ifdef __cplusplus |
mbed_official | 105:d9f83743ed4f | 9 | extern "C" |
mbed_official | 105:d9f83743ed4f | 10 | { |
mbed_official | 105:d9f83743ed4f | 11 | #endif |
mbed_official | 105:d9f83743ed4f | 12 | |
mbed_official | 105:d9f83743ed4f | 13 | void nanostack_heap_region_add(void); |
mbed_official | 105:d9f83743ed4f | 14 | |
mbed_official | 105:d9f83743ed4f | 15 | |
mbed_official | 105:d9f83743ed4f | 16 | #ifdef __cplusplus |
mbed_official | 105:d9f83743ed4f | 17 | } |
mbed_official | 105:d9f83743ed4f | 18 | #endif |
mbed_official | 105:d9f83743ed4f | 19 | |
mbed_official | 105:d9f83743ed4f | 20 | #endif /* NANOSTACK_HEAP_REGION_H */ |