mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #26 from c1728p9/mirror_changes
Mirror changes
commit
5828ebdb90
|
@ -1 +1,2 @@
|
||||||
https://github.com/ARMmbed/uvisor-mbed-lib/#9b296077
|
https://github.com/ARMmbed/uvisor-mbed-lib/#32b6df4a39df
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
https://github.com/bridadan/greentea-client.git#398d96e25630ed62dfa7436bda8556d8d7e16969
|
https://github.com/bridadan/greentea-client.git/#398d96e25630
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
/* mbed Microcontroller Library
|
||||||
|
* Copyright (c) 2006-2013 ARM Limited
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
#ifndef MBED_STUB_H
|
||||||
|
#define MBED_STUB_H
|
||||||
|
|
||||||
|
#include "../mbed.h"
|
||||||
|
|
||||||
|
#endif
|
|
@ -461,9 +461,7 @@ extern "C" void __iar_argc_argv() {
|
||||||
// Linker defined symbol used by _sbrk to indicate where heap should start.
|
// Linker defined symbol used by _sbrk to indicate where heap should start.
|
||||||
extern "C" int __end__;
|
extern "C" int __end__;
|
||||||
|
|
||||||
#if defined(TARGET_CORTEX_A)
|
|
||||||
extern "C" uint32_t __HeapLimit;
|
extern "C" uint32_t __HeapLimit;
|
||||||
#endif
|
|
||||||
|
|
||||||
// Turn off the errno macro and use actual global variable instead.
|
// Turn off the errno macro and use actual global variable instead.
|
||||||
#undef errno
|
#undef errno
|
||||||
|
@ -486,11 +484,7 @@ extern "C" caddr_t _sbrk(int incr) {
|
||||||
unsigned char* prev_heap = heap;
|
unsigned char* prev_heap = heap;
|
||||||
unsigned char* new_heap = heap + incr;
|
unsigned char* new_heap = heap + incr;
|
||||||
|
|
||||||
#if defined(TARGET_CORTEX_A)
|
|
||||||
if (new_heap >= (unsigned char*)&__HeapLimit) { /* __HeapLimit is end of heap section */
|
if (new_heap >= (unsigned char*)&__HeapLimit) { /* __HeapLimit is end of heap section */
|
||||||
#else
|
|
||||||
if (new_heap >= (unsigned char*)__current_sp()) {
|
|
||||||
#endif
|
|
||||||
errno = ENOMEM;
|
errno = ENOMEM;
|
||||||
return (caddr_t)-1;
|
return (caddr_t)-1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ __StackTop:
|
||||||
#ifdef __HEAP_SIZE
|
#ifdef __HEAP_SIZE
|
||||||
.equ Heap_Size, __HEAP_SIZE
|
.equ Heap_Size, __HEAP_SIZE
|
||||||
#else
|
#else
|
||||||
.equ Heap_Size, 0x400
|
.equ Heap_Size, 0x20000
|
||||||
#endif
|
#endif
|
||||||
.globl __HeapBase
|
.globl __HeapBase
|
||||||
.globl __HeapLimit
|
.globl __HeapLimit
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
/* Socket
|
||||||
|
* Copyright (c) 2015 ARM Limited
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MESH_INTERFACE_H
|
||||||
|
#define MESH_INTERFACE_H
|
||||||
|
|
||||||
|
#include "NetworkInterface.h"
|
||||||
|
|
||||||
|
/** MeshInterface class
|
||||||
|
* Common interface that is shared between ethernet hardware
|
||||||
|
*/
|
||||||
|
class MeshInterface : public NetworkInterface
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
/** Start the interface
|
||||||
|
* @return 0 on success, negative on failure
|
||||||
|
*/
|
||||||
|
virtual int connect() = 0;
|
||||||
|
|
||||||
|
/** Stop the interface
|
||||||
|
* @return 0 on success, negative on failure
|
||||||
|
*/
|
||||||
|
virtual int disconnect() = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/atmel-rf-driver-mirror.git/#f4c48e5e98f6
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/coap-service-mirror.git/#0c7805098970
|
|
@ -1 +1 @@
|
||||||
http://developer.mbed.org/teams/sandbox/code/mbed-client-c/#5d91b0f5038c
|
https://github.com/ARMmbed/mbed-client-c-mirror.git/#753541105a6f
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
http://developer.mbed.org/teams/sandbox/code/mbed-client-classic/#723bfe4dd180
|
https://github.com/ARMmbed/mbed-client-classic.git/#0cf03c143a2a
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
http://developer.mbed.org/teams/sandbox/code/mbed-client-mbedtls/#840aa460b437
|
https://github.com/ARMmbed/mbed-client-mbedtls-mirror.git/#582821c96be8
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/mbed-client-randlib-mirror.git/#237b3fa0255f
|
|
@ -1 +1 @@
|
||||||
http://developer.mbed.org/teams/sandbox/code/mbed-client/#e36098b177a4
|
https://github.com/ARMmbed/mbed-client-mirror.git/#2a839d6c5bef
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/mbed-mesh-api-mirror.git/#f7a198bb1e66
|
|
@ -1 +1 @@
|
||||||
https://developer.mbed.org/teams/sandbox/code/mbed-trace/#506ad37c6bd7
|
https://github.com/ARMmbed/mbed-trace-mirror.git/#f9a11fcaa2b5
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/nanostack-hal-mbed-cmsis-rtos.git/#ab64e255deb9
|
|
@ -1 +1 @@
|
||||||
http://developer.mbed.org/teams/sandbox/code/nanostack-libservice/#a87c5afee2a6
|
https://github.com/ARMmbed/nanostack-libservice-mirror.git/#e3f7da74a143
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/sal-iface-6lowpan-morpheus-private-mirror.git/#2b4852e22679
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/sal-stack-nanostack-eventloop-mirror.git/#627b9769e352
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/ARMmbed/sal-stack-nanostack-private-mirror.git/#1374c77b03fb
|
Loading…
Reference in New Issue