Commit Graph

6110 Commits (820d79d84bf0cb31ab8bcecfd9e7090cdb6872cc)

Author SHA1 Message Date
Sam Grove 7f1306f2f0 Merge pull request #55 from bridadan/fix-circle-gcc
Fixing package name for gcc arm
2016-04-19 14:44:27 -05:00
Brian Daniels afc83e6b38 Fixing package name for gcc arm 2016-04-19 10:07:24 -05:00
Martin Kojtal 647cf23cf1 Exporters - add relative paths handling
If we use source option, the paths should be relative to the source dir.
Otherwise, mbed export scripts copies sources to temp dir.
2016-04-19 14:55:16 +01:00
Sam Grove 28334b00bb Merge pull request #53 from bridadan/circle-gcc-4_9
Make CircleCI install GCC ARM 4.9 instead of 5.x or 6.x
2016-04-18 15:23:39 -05:00
Brian Daniels 1e34af2b15 Make CircleCI install GCC ARM 4.9 instead of 5.x or 6.x 2016-04-18 15:13:06 -05:00
Bogdan Marinescu 365a4a0ec3 Merge pull request #51 from 0xc0170/exporters_dir
Exporters - virtual dirs support for progen exporters
2016-04-18 15:42:09 +03:00
Martin Kojtal fc005d50cd Exporters - use relative project dirnames
For file like mbed-os\net\sal-stack-nanostack-private\source\BorderRouter\br_rf_interface.c,
virtual dir is: mbed-os\net\sal-stack-nanostack-private\source\BorderRouter.

This sould better organize virtual folders in IDE. The next step would be to break into
groups. For instance hal could be groped together, net together and other components.
2016-04-18 11:55:48 +01:00
Bogdan Marinescu 1e19d0470f Merge pull request #36 from 0xc0170/dev_update_rtos
RTOS - update to v4.79
2016-04-18 11:50:11 +03:00
Bogdan Marinescu 6bbaf3fa85 Merge pull request #47 from bridadan/master
Add Circle CI Testing
2016-04-18 11:41:49 +03:00
Russ Butler ac454782da RTX: Support stacks larger than 64k
Cherry pick commit d587474778 -
"RTX: Support stacks larger than 64k"

This allows the latest version of the RTOS to run mbed client over
ethernet without crashing.
2016-04-14 16:56:34 -05:00
Martin Kojtal a573214eff RTX - fix missing header guards for Cortex-M4 (GCC ARM)
The HAL CM4 is valid only for FPU present. These guards were added
to mbed SDK, as there are targets Cortex-M4.
2016-04-14 21:47:19 +01:00
Martin Kojtal 1524c5fca9 lwip - fix size of sys mutex for RTX 4.79
The size was increased to 4 bytes. Thanks @c1728p9 for spotting this.
2016-04-14 21:47:17 +01:00
Martin Kojtal 3bffe3d0f5 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-14 21:47:14 +01:00
Martin Kojtal 0c4a1674fe 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-14 21:47:12 +01:00
Mihail Stoyanov edaf2bfa8d Merge pull request #45 from bridadan/add-threaded-blinky-test
Adding threaded blinky integration test
2016-04-13 15:33:35 +01:00
Mihail Stoyanov ed1952d316 Merge pull request #46 from bridadan/return-code-make
Adding a proper exit return code on a toolchain failure
2016-04-13 15:32:24 +01:00
Brian Daniels 5b36a4cfd0 Adding a proper exit return code on a toolchain failure 2016-04-12 18:32:33 -05:00
Brian Daniels bf80094ead Updating circle.yml 2016-04-12 18:18:18 -05:00
Brian Daniels b91995c5b0 Merge pull request #1 from bridadan/add-circle-ci
Add circle ci
2016-04-12 17:49:12 -05:00
Brian Daniels 1add211f45 Adding Circle CI config 2016-04-12 17:43:18 -05:00
Brian Daniels 7dc3159b69 Adding threaded blinky integration test 2016-04-12 17:26:11 -05:00
Bogdan Marinescu 7996649d96 Merge pull request #43 from screamerbg/master
Add reponse files for GCC, ARMCC and IAR linking
2016-04-12 14:17:30 +03:00
Mihail Stoyanov 76f6374f4a Merge pull request #42 from meriac/mainline
Fix check on UVISOR_PRESENT=1 macro
2016-04-12 12:15:10 +01:00
Mihail Stoyanov 61298334c2 Introduce response file for linking with IAR toolchain 2016-04-12 12:11:22 +01:00
Mihail Stoyanov 40fc10401b Merge https://github.com/screamerbg/mbed-os 2016-04-12 11:37:43 +01:00
Mihail Stoyanov 927caca09f Introduce response files for ARMCC and GCC toolchains and also document code 2016-04-12 11:37:15 +01:00
Bogdan Marinescu b37d50e8ec Merge pull request #40 from 0xc0170/fix_debug_symbols
Add debug tables to all builds (release/debug)
2016-04-12 13:32:00 +03:00
Alessandro Angelino ec0e403bf9 Fix check on UVISOR_PRESENT=1 macro 2016-04-12 11:11:02 +01:00
Martin Kojtal 75d04a3903 Add debug symbols to all builds (release/debug)
All toolchains affected. Fixes #39.
2016-04-12 09:35:55 +01:00
Bogdan Marinescu 5828ebdb90 Merge pull request #26 from c1728p9/mirror_changes
Mirror changes
2016-04-11 12:55:39 +03:00
Bogdan Marinescu 6656fbf9e1 Merge pull request #31 from 0xc0170/rtos_tests
Rtos tests
2016-04-11 12:11:13 +03:00
Russ Butler e161aad0c1 Create mbed-drivers/mbed.h for compatibility
Create a second mbed.h in the mbed-drivers directory to support
projects using 3.0 style includes.
2016-04-10 23:43:34 -05:00
Russ Butler 6b4dfeb1ab Fix heap allocation when used with RTOS
Remove the code which checks the heap against the stack to determine
if there is space left.  Using the stack pointer as a limit causes
problems when used with an RTOS since the stack pointer depends
on the current thread which can use a user-allocated stack residing
anywhere in memory.
2016-04-10 23:37:42 -05:00
Russ Butler 98a8c49f00 Add mesh interface header file
Add the mesh interface header file.
2016-04-10 23:37:23 -05:00
Russ Butler f23d6ce673 Add mirrored repos
Check in the mirrored repos
2016-04-10 23:37:22 -05:00
Bogdan Marinescu 55e68380cd Merge pull request #32 from 0xc0170/fix_build_dir
Fix build dir for uvision and IAR
2016-04-08 10:05:59 +01:00
Martin Kojtal 5b8e65b80e Exporters - uvision and iar appends its name to build dir 2016-04-07 18:54:58 +01:00
Martin Kojtal adfcf2c689 Exporters - .build dir for progen as output dir 2016-04-07 18:47:49 +01:00
Martin Kojtal 477d9579ec mbed-rtos tests update to greentea client 2016-04-07 18:19:32 +01:00
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