Commit Graph

5987 Commits (d230a6255e80f904cf9b6656a1a44a350bf47b46)

Author SHA1 Message Date
Anna Bridge d230a6255e Updated Unity lib file in mbed-os to pick up the latest Unity library
(v3.0.0)
2016-05-26 13:59:07 +01:00
Sam Grove 20a80cd0da Merge pull request #109 from adbridge/utest_tests
Port utest unit tests from Yotta / Minar based environment to Morpheus /
2016-05-23 17:01:29 +08:00
Sam Grove 59f5751b6d Merge pull request #113 from theotherjimmy/error-bad-source
added a check for existance of sources
2016-05-20 16:40:52 -05:00
Sam Grove 23d77e4423 Merge pull request #97 from geky/compiler-polyfill
Add useful attributes supported by supported compilers
2016-05-20 16:16:23 -05:00
Sam Grove 02a23c22ad Merge pull request #103 from geky/esp8266-non-blocking
Add non-blocking support to ESP8266Interface
2016-05-20 16:03:40 -05:00
Sam Grove c4ed177930 Merge pull request #68 from 0xc0170/dev_gcc_sizes
gcc - print section sizes
2016-05-20 15:49:28 -05:00
Sam Grove 373fb55441 Merge pull request #114 from c1728p9/iar_vla
Turn on variable length arrays in C for IAR
2016-05-20 15:36:21 -05:00
Sam Grove 3fe60fdf1b Merge pull request #118 from c1728p9/map_file
Create map file when building
2016-05-20 15:35:33 -05:00
Bogdan Marinescu 1467a7c6a2 Merge pull request #116 from simonqhughes/master
Resubmission of https://github.com/ARMmbed/mbed-os/pull/92 but with SHA's in .lib files
2016-05-20 14:18:08 +03:00
Simon Hughes d4bd394330 Updating SHA's in configuration-store.lib and flash-abstraction.lib 2016-05-20 10:54:09 +01:00
Russ Butler c4986eed9f Create map file when building
Add compiler flags to ARM, GCC and IAR so map files get created.
2016-05-19 15:52:02 -05:00
Anna Bridge 15e372f6ef Review comment:
Removed superfluous debug prints from harness.cpp.
2016-05-19 16:56:01 +01:00
Anna Bridge 710421d3e8 Code review rework:
Updated include files within tests to use subdirectory/header.h
Updated global variables within tests to be static
Fixed indentation issue.
Renamed Timeout class variables to be more meaningful
Moved definition of utest_trace into stack_trace.cpp
Removed unecessary call to .clear() method in utest_add_to_trace()
Changed UTEST_LOG_FUNCTION macro to UTEST_LOG_FUNCTION();
2016-05-19 16:56:00 +01:00
Anna Bridge 4cd34b1235 Port utest unit tests from Yotta / Minar based environment to Morpheus /
us ticker based environment
2016-05-19 16:51:00 +01:00
Marcus Shawcroft 720e8e77d0 Merge pull request #110 from c1728p9/client_update
Update mbed-client repos
2016-05-19 13:38:18 +01:00
Russ Butler 080f9e2371 Turn on variable length arrays in C for IAR
Turn on support for variable length arrays for the IAR C compiler.
This provides greater compatibility with GCC and ARMCC.

Note: The current version of iccarm at the time of this patch
(V7.40.3.8902) does not support variable length arrays in C++.
2016-05-18 19:58:46 -05:00
Jimmy Brisson f44b8fc9bf added a check for existance of sources
I ran into this earlier today and yesterday:
If you spelled something wrong/forgot to tab complete and had build succesfully before it woild silently and incorrectly build successfully
2016-05-18 17:28:33 -05:00
Martin Kojtal c357216217 Add static ram/rom info
After a build has been completed print out ram and rom usage.
The sizes shown are the same as those reported by
arm-none-eabi-size.exe.  The output looks like:

Memory sections sizes:
text                 37244
data                 60
bss                  7800
2016-05-18 15:55:10 -05:00
Russ Butler e920f247bf Update mbed-client repos
Update the mbed-client repos to bring in the latest changes.  With
this PR the mbed-client repos now point to commits mirrored from
the real repo rather than a morpheus fork.
2016-05-18 09:42:59 -05:00
Sam Grove 3c08e7b7b3 Merge pull request #72 from ARMmbed/enable_irq
Restore IRQ status on exit; don't always enable
2016-05-18 08:52:02 -05:00
Kevin Bracey 640116123c Use critical section helper in HAL
Routines using __disable_irq and __enable_irq had the effect of
enabling interrupts if called with interrupts disabled.

Some versions of __disable_irq do not return old status to restore it.

Change to use the critical section helper functions instead.
2016-05-18 14:50:31 +03:00
Marcus Shawcroft c24e3e4178 Merge pull request #102 from adbridge/utest_namespace
Added full namespacing to instances of status_t to prevent namespace
2016-05-18 09:32:25 +01:00
Marcus Shawcroft d29c33e73e Merge pull request #100 from meriac/master
Updated to latest uvisor-mbed-lib version
2016-05-18 09:26:13 +01:00
Sam Grove 7d541a9cbd Merge pull request #104 from theotherjimmy/buffered-serial-printf
removed warning about unsigned to signed cast
2016-05-18 02:02:59 -05:00
Sam Grove f77d9e73ad Merge pull request #95 from screamerbg/master
Build system exclude folders containing .buildignore file
2016-05-18 01:59:56 -05:00
Bogdan Marinescu 7634adbf8c Merge pull request #105 from ARMmbed/revert-92-master
Revert "Adding configuration-store & flash-abstraction components for CFSTORE integration"
2016-05-17 23:21:18 +03:00
Bogdan Marinescu 09913f8859 Revert "Adding configuration-store & flash-abstraction components for CFSTORE integration" 2016-05-17 23:20:39 +03:00
Mihail Stoyanov faa9ce76af Removed fixes intended for different PR 2016-05-17 19:46:42 +01:00
Jimmy Brisson 59ed1bef61 removed warning about unsigned to signed cast 2016-05-17 13:35:24 -05:00
Milosch Meriac c5a5774b60 updated to latest uvisor-mbed-lib version 2016-05-17 18:27:27 +01:00
Anna Bridge 3de4514068 Added full namespacing to instances of status_t to prevent namespace
collisions with the same type in global C namespace.
2016-05-17 17:58:05 +01:00
Bogdan Marinescu a5800ef975 Merge pull request #92 from simonqhughes/master
Adding configuration-store & flash-abstraction components for CFSTORE integration
2016-05-17 18:53:14 +03:00
geky 6ccb19304d Merge pull request #99 from c1728p9/fix_ipv6_addr
Fix SocketAddress constructor to support ipv6
2016-05-17 10:46:23 -05:00
Simon Hughes aebc3f8433 Changing lib files:
- configuration-store.lib points to branch sdh_dev_mx2_20160513 of armmbed/configuration-store.git
- flash-abstraction.lib points to branch master of fork simonqhughes/flash-abstraction.git
2016-05-17 16:25:45 +01:00
Russ Butler 64cd1f3dfb Fix SocketAddress constructor to support ipv6
Fix typo causing ipv6 addresses in the constructor to fail.
2016-05-17 08:24:10 -05:00
Simon Hughes e812489000 New versions of configuration-store and flash-abstraction lib files restructuring mbedosV3 test into TESTS directories. 2016-05-17 11:10:22 +01:00
Christopher Haster 4f8e8f5d75 Add non-blocking support to ESP8266Interface
requires changes in the following
- BufferedSerial
- ESP8266
- ESP8266Interface
2016-05-16 20:40:57 -05:00
Christopher Haster 018e2571e6 Added other attributes on supported compilers
tested on GCC, Clang, online compiler, and IAR

attributes
- PACK
- ALIGN
- UNUSED
- WEAK
- PURE
- FORCEINLINE
- NORETURN
- UNREACHABLE
- DEPRECATED
2016-05-16 18:59:23 -05:00
Christopher Haster f05240b666 Added attribute tests from compiler-polyfill
from https://github.com/ARMmbed/compiler-polyfill/tree/master/test/attributes
2016-05-16 14:27:54 -05:00
Christopher Haster 8381fda624 Merged compiler-polyfill into toolchain.h
from https://github.com/armmbed/compiler-polyfill

notes
- Adopted existing mbed naming convention of all caps.
  This avoids conflicts with compiler declarations
  https://github.com/ARMmbed/compiler-polyfill/issues/7

- Dropped align attribute due to lack of support on IAR.

- Currently toolchain.h lives in /hal/api, although with
  the addition of /util there may be a better home.
2016-05-16 14:02:46 -05:00
Sam Grove cde78ec095 Merge pull request #94 from geky/callback
Improve FunctionPointer class
2016-05-16 10:24:47 -07:00
Christopher Haster dd6a24b76d Adopt Callback class in NetworkSocketAPI 2016-05-16 11:48:09 -05:00
Sam Grove b7cdc204fd Merge pull request #88 from geky/nsapi-changes
Update Network Socket API
2016-05-16 09:21:15 -07:00
Mihail Stoyanov b57fbf4c68 Exclude folders from build that contain .buildignore file (part of de-fork of mbed HAL+RTOS) 2016-05-16 13:06:54 +01:00
Russ Butler b15e2c293e Add synchronization to the network socket API
Add mutexes to protect the network socket API.  Also use semaphores to
wait for read/write events.  Also fix a typo in the comments for
timeout.
2016-05-15 18:03:48 -05:00
Russ Butler c8fc4dff6d Update Nanostack related libs
Update library files related to Nanostack to bring in Network Socket
API support.
2016-05-15 18:03:40 -05:00
Christopher Haster e1c42a3afc Adopt Callback class in rtos Threads 2016-05-13 19:07:45 -05:00
Christopher Haster 4984077d07 Adopt Callback class in hal 2016-05-13 19:07:45 -05:00
Christopher Haster bf498de127 Add backward compatiblity for FunctionPointer class using Callback
effectively:
typedef Callback<R(A)> FunctionPointerArg1<R,A>
typedef Callback<R()> FunctionPointerArg1<R,void>
typedef Callback<R()> FunctionPointer
typedef Callback<R()> event_callback_t
2016-05-13 19:07:45 -05:00
Christopher Haster 8b330ae8a6 Add callback tests 2016-05-13 19:07:45 -05:00