Brian Daniels
b675e62aa5
Adding greentea-client library
2016-04-07 02:20:52 +01:00
Milosch Meriac
6893401a05
added latest uvisor-mbed-lib
2016-04-07 00:57:08 +01:00
Alessandro Angelino
2fe077d50a
Mirror huge PR from mbed OS
...
The following PRs have been mirrored:
https://github.com/ARMmbed/mbed-hal-k64f/pull/6 "All Freescale macros for memory access replaced"
https://github.com/ARMmbed/mbed-hal-k64f/pull/7 "Fix bug in union access macros"
https://github.com/ARMmbed/mbed-hal-k64f/pull/8 "Simpler and more universal macros for memory access"
https://github.com/ARMmbed/mbed-hal-k64f/pull/9 "Fixed bug in fallback macros for memory access"
https://github.com/ARMmbed/mbed-hal-k64f/pull/10 "Added volatile keyword to address for union read"
https://github.com/ARMmbed/mbed-hal-k64f/pull/14 "Removing copyright and revision from unmodified file"
2016-04-06 23:25:27 +01:00
Alessandro Angelino
3fcaed1eb0
Add uVisor to startup code
2016-04-06 23:25:27 +01:00
Alessandro Angelino
e32f969459
Add uninitialized section to linker script
2016-04-06 23:25:27 +01:00
Alessandro Angelino
ec980179bc
Add uVisor-specific sections to linker script
2016-04-06 23:25:27 +01:00
Alessandro Angelino
7818102156
Round the SRAM offset in linker script
2016-04-06 23:25:27 +01:00
Alessandro Angelino
057bc9a98a
Replace NVIC APIs with vIRQ ones
2016-04-06 23:25:27 +01:00
Alessandro Angelino
3ad0f0a430
Fix function to get sp when in unprivileged mode
2016-04-06 23:11:46 +01:00
Marcus Shawcroft
810ecc5b21
Fix merge of support for --source for exporters
...
The original merge of this patch was botched, this patch re-instantes
the missing part.
2016-04-06 20:55:17 +01:00
Martin Kojtal
a058ab98a4
Tools - project options.macros None fix
...
Handle when options.macros is None, which results in Traceback
2016-04-06 19:07:23 +01:00
Christopher Haster
88ebec607e
Added ESP8266Interface
...
- Blocking TCP/UDP
2016-04-06 13:01:08 -05:00
Christopher Haster
5b8b98a14b
Updated mbed-client libs
...
Fixes #19
2016-04-06 12:30:49 -05:00
Bogdan Marinescu
4ae6b059e0
Merge pull request #1 from 0xc0170/dev_update_rtos
...
RTOS - update to v4.79
2016-04-06 18:22:59 +01:00
Mihail Stoyanov
1ee1150924
Merge pull request #2 from mjs-arm/merge-from-classic
...
Merge from classic
2016-04-06 18:11:44 +01:00
Martin Kojtal
dd49382061
RTOS - update for RTX v4.79 for Cortex-M
...
Thread - stack methods are not available for now, as tcb pointer was removed from
internal structure. To obtain it, we could get it from the kernel, but this should be
reconsidered. Either RTOS should provide it, or these methods will become deprecated.
2016-04-06 17:41:08 +01:00
Christopher Haster
8a5121aaff
Reverted merge of FuncPtr ( #10 )
...
Replaced FuncPtr with FunctionPointer in NSAPI
2016-04-06 11:23:42 -05:00
screamer
ab0fc59e52
Add support for project naming based on current directory Cleanup print output
2016-04-06 16:08:11 +01:00
screamer
228d83193c
Properly support relative and absolute paths for source and build dirs
2016-04-06 16:08:07 +01:00
screamer
5094b10964
Add exception for TESTS folders to be excluded from the builds
2016-04-06 16:08:02 +01:00
screamer
1b4d69aa8f
The build system respects -DUVISOR_PRESENT and dynamically disables floating point support
2016-04-06 16:04:35 +01:00
bridadan
ef4376740b
Allowing "--source" to be specified multiple times.
...
Allowing you to compose builds from separate directories.
2016-04-06 16:02:11 +01:00
Martin Kojtal
e422824ea1
RTX - update to v4.79 for Cortex-M
...
Changes to the original kernel:
Cortex-M requires to define __CMSIS_OS_RTX, and __MBED_CMSIS_RTOS_CM. The macro __MBED_CMSIS_RTOS_CM
is mbed specific macro, to track changes to the kernel. This should keep us aware what has changed. For instance,
one breaking change was thread adding instances variable, which were not in mbed. This can be find as
it's protected via __MBED_CMSIS_RTOS_CM ifdef.
```
// added for mbed compatibility
// original RTX code
```
Startup for toolchains - mbed defines own stack pointer (set_main_stack()), therefore it should be called in the startup.
IAR added low level init calls and dynamic intialization to the IAR startup. All defined in RTX_CM_lib.h.
The timer thread has task id 0x01, main task 0x02. There are exception for main task not to check for
overflows. This is mbed specific, was reapplied from mbed code base.
IAR fixed SVC calls, this fix had to be reapplied (repo mbed PR 736 for more information).
2016-04-06 15:14:30 +01:00
Christopher Haster
03475f35bb
Matched changes NetworkSocketAPI
...
Responded to feedback from mbed-client implementation
to introduce a full feature set that should support most
of the use cases for the API.
2016-04-06 08:50:56 -05:00
Christopher Haster
f396e3165f
Added improved FuncPtr type
...
FuncPtr provides a more flexible templated function class as a
replacement for FunctionPointer.
FuncPtr provides an intuitive template interface:
void doit(int, char *);
FuncPtr<void(int, char *)> doit_ptr(doit);
doit_ptr(10, "hi!");
FuncPtr places memory management on the user, only supporting
storing an extra pointer for pointers to externally stored objects
that can be passed to the function. Additional binding can be
supplied by an external class.
FuncPtr<void(int)> hello(&object, &Object::method);
Additionally FuncPtr provides a copy constructor, allowing FuncPtrs
themselves to be passed to existing interfaces.
FuncPtr<void()> hello(doit); ticker.attach(hello, 1000);
2016-04-06 08:01:28 -05:00
Marcus Shawcroft
f040936ed7
Revert "Remove yaml exporter"
...
This reverts commit 4f7804b221
.
2016-04-05 23:50:48 +01:00
Bogdan Marinescu
a215fe48fd
Fixed build tools
2016-04-05 19:00:39 +03:00
Bogdan Marinescu
35e8c143cc
Removed non needed tools/data directory
2016-04-05 16:46:18 +01:00
Bogdan Marinescu
c786800234
Added reference to mbedtls
2016-04-05 16:41:13 +01:00
Bogdan Marinescu
0c2d2b8c22
Preparing new layout - added networking deps
2016-04-05 16:40:58 +01:00
Bogdan Marinescu
dc939f27ce
Preparing new layout - ignored unused networking libs
2016-04-05 16:40:58 +01:00
Bogdan Marinescu
1fd427fc59
Preparing new layout - moving lwip (2)
2016-04-05 16:40:57 +01:00
Bogdan Marinescu
fa71088cdc
Preparing new layout - moving lwip (1)
2016-04-05 16:40:57 +01:00
Bogdan Marinescu
882d3f4e48
Preparing new layout - added net/NetworkSocketAPI
...
Origin: https://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/
2016-04-05 16:40:57 +01:00
Marcus Shawcroft
f2ddf68b80
Increase iteration count on toolchain wait loop
2016-04-05 16:40:50 +01:00
Marcus Shawcroft
d54b280afe
Support debug-info in build.
2016-04-05 16:40:16 +01:00
Marcus Shawcroft
1a7efa8787
Define __CMSIS_RTOS
2016-04-05 16:39:24 +01:00
Marcus Shawcroft
b0fa89205c
Define K64F_UV
2016-04-05 16:38:58 +01:00
Marcus Shawcroft
e74b59cc94
Adding --source and -D iptions on project.py
2016-04-05 16:38:34 +01:00
Marcus Shawcroft
dc7df8caeb
Switch MBED_BASE from .../mbed to .../sdk
2016-04-05 16:38:05 +01:00
Marcus Shawcroft
4f7804b221
Remove yaml exporter
2016-04-05 16:32:01 +01:00
Marcus Shawcroft
3b2b06197a
move workspace to tools
2016-04-05 16:30:51 +01:00
Bogdan Marinescu
dca69e022b
Preparing new layout - moved ./workspace_tools to ./tools
2016-04-05 16:26:31 +01:00
Bogdan Marinescu
3feff63592
Preparing new layout - moved hal+mbed-drivers to ./hal
2016-04-05 16:26:29 +01:00
Bogdan Marinescu
db76c7fc37
Preparing new layout - moved rtos in core/mbed-rtos
2016-04-05 16:26:11 +01:00
Bogdan Marinescu
1efcfd46b4
Preparing new layout - moving unused libraries
2016-04-05 16:26:10 +01:00
Martin Kojtal
582a1cb688
Export - add export log yaml file
...
Exporters should provide additional information - what templates
are they using. For progen, it should be version, and we might add more
information later.
2016-04-05 16:26:08 +01:00
dbestm
864ff2c937
[XXX_F746XG] Move erasing of BkUpR in RTC API
...
The erasing of back up register is only needed when using LSI in RTC API
2016-04-05 16:26:07 +01:00
dbestm
a3ff2c53fe
[XXX_F10XRB] enhance RTC API
...
Add a define to select between LSE or LSI
2016-04-05 16:26:07 +01:00
dbestm
10c9469b6d
[XXX_L15XX] Move erasing of BkUpR in RTC API
...
the erasing of back up register is only needed when using LSI
2016-04-05 16:26:07 +01:00