Commit Graph

5871 Commits (b0aea20317bf1dba3c416e298085455c6c6828b4)

Author SHA1 Message Date
Martin Kojtal 4b1a7a3f21 mbed-rtos tests move to rtos/TESTS/mbed-rtos folder 2016-04-07 18:17:50 +01:00
Marcus Shawcroft e3afc94f65 Merge pull request #30 from screamerbg/master
Update GCC toolchain to support the new format for the first line of …
2016-04-07 18:00:57 +01:00
Mihail Stoyanov fe75990e4c Update GCC toolchain to support the new format for the first line of .d files 2016-04-07 17:49:05 +01:00
Bogdan Marinescu 56f5eddcf1 Merge pull request #29 from ARMmbed/revert_rtos
Revert "Merge pull request #1 from 0xc0170/dev_update_rtos"
2016-04-07 17:45:11 +01:00
Yogesh Pande 34e24f7fb2 Revert "Merge pull request #1 from 0xc0170/dev_update_rtos"
This reverts commit 4ae6b059e0, reversing
changes made to 1ee1150924.
2016-04-07 19:05:24 +03:00
Bogdan Marinescu 4ac9644682 Merge pull request #25 from sg-/error-compiler-patch
update reference to uvisor-mbed-lib for extern patch
2016-04-07 16:52:15 +01:00
sg- 1dea6e8a34 update reference to uvisor-mbed-lib for extern patch 2016-04-07 10:41:26 -05:00
Bogdan Marinescu 640296520f Merge pull request #24 from sg-/error-compiler-patch
rename error.c to mbed_error.c. add toolchain.h to mbed.h exposing to…
2016-04-07 16:31:24 +01:00
sg- 034d3e9c27 track mbed_error.c 2016-04-07 10:25:29 -05:00
sg- 47ee2ed90f rename error.c to mbed_error.c. add toolchain.h to mbed.h exposing to all. add extern filler to toolchain.h 2016-04-07 10:22:59 -05:00
Bogdan Marinescu ec6c385aa0 Merge pull request #22 from bridadan/update-mbedtls
Updating mbedtls
2016-04-07 15:29:44 +01:00
Bogdan Marinescu 6122878a0c Merge pull request #15 from bridadan/basic-test
Adding basic test
2016-04-07 15:29:18 +01:00
Bogdan Marinescu 1fab13ea09 Merge pull request #23 from geky/esp8266
Added ESP8266Interface
2016-04-07 12:20:29 +01:00
Bogdan Marinescu 04447b6451 Merge pull request #21 from geky/mbed-client-fix
Updated mbed-client libs
2016-04-07 11:54:15 +01:00
Brian Daniels 05777c28c8 Updating mbedtls 2016-04-07 11:53:41 +01:00
Bogdan Marinescu 6093cb0300 Merge pull request #14 from geky/funcptr-undo
Reverted merge of FuncPtr (#10)
2016-04-07 11:11:30 +01:00
Brian Daniels 9e46a1c3c7 Adding basic test 2016-04-07 10:45:26 +01:00
Marcus Shawcroft 174d5c7df0 Merge pull request #12 from geky/nsapi
Matched changes in the NetworkSocketAPI
2016-04-07 09:28:22 +01:00
Marcus Shawcroft 567461e82d Merge pull request #11 from bridadan/add-greentea-client-lib
Adding greentea-client library
2016-04-07 09:26:23 +01:00
Marcus Shawcroft 0fbdad69ef Merge pull request #10 from geky/master
Added improved FuncPtr type
2016-04-07 09:23:21 +01:00
Marcus Shawcroft 5a3416def2 Merge pull request #9 from meriac/master
Migrate existing uVisor patches
2016-04-07 09:21:41 +01:00
Bogdan Marinescu f28588c3c2 Merge pull request #8 from mjs-arm/botch-fixing
Fix merge of support for --source for exporters
2016-04-07 09:16:56 +01:00
Bogdan Marinescu 0b593484db Merge pull request #5 from 0xc0170/fix_project
Tools - project options.macros None fix
2016-04-07 09:14:52 +01:00
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