Commit Graph

6051 Commits (3dac400d386a68d0125cd7b1e7d24862561a889e)

Author SHA1 Message Date
Russ Butler 3dac400d38 Pull in mbedmicro/mbed
Pull in mbedmicro/mbed.  Make the following changes in addition:
- Ignore unused directories in mbed
- Add stub mbed-drivers/mbed.h for backwards compatibility
- Remove targets.json and instead use mbed's version
2016-05-28 00:40:59 -05:00
Russ Butler eb76d0ebd6 Pull in lwip-eth updates from mbedmicro/mbed
Sync the directory lwip-eth with that of mbedmicro/mbed at revision
b32f7a9aaf.
2016-05-28 00:08:28 -05:00
Russ Butler ea432a8c3a Move libs and remove core directory
Remove the core directory since changes here need to be brought into
mbedmicro.  Move mbedtls and uvisor-mbed-lib to the project root.
2016-05-28 00:08:20 -05:00
Russ Butler b3134e4efd Remove configuration-store and flash-abstraction
Remove the flash-abstraction repo since it does not point to an
official repo.  Remove configuration-store since it relies on
flash-abstraction.
2016-05-28 00:08:15 -05:00
Russ Butler 389892dcaf Remove critical section code
Remove critical section code since this now lives in mbedmicro/mbed.
2016-05-28 00:08:09 -05:00
Russ Butler a902e0f9e9 Remove RTOS
Remove the RTOS directory in preparation for pulling in mbedmicro/mbed.
2016-05-27 17:53:54 -05:00
Russ Butler 966ef8c35e Remove hal
Remove all the hal files in preparation for pulling in mbedmicro/mbed.
2016-05-27 17:53:53 -05:00
Brian Daniels 99098d035a Merge pull request #157 from c1728p9/iar
Pull up on atmel-rf-driver to fix older IAR
2016-05-27 17:29:31 -05:00
Russ Butler 315a500b38 Merge pull request #145 from adbridge/armcc
Fix ARMCC compiler warning: Missing arg type.
2016-05-27 15:38:48 -05:00
Russ Butler aa3c0deb70 Merge pull request #156 from theotherjimmy/mbedignore-fix
check for .mbedignore in root of source folders
2016-05-27 15:36:25 -05:00
Russ Butler 4443116172 Merge pull request #137 from bridadan/continue-test-build-if-fail
Allowing test builds to continue if one test build fails
2016-05-27 14:48:58 -05:00
Russ Butler a659b47785 Pull up on atmel-rf-driver to fix older IAR
Bring in changes to support older versions of IAR.
2016-05-27 14:08:49 -05:00
Jimmy Brisson ba29012abb check for .mbedignore in root of source folders 2016-05-27 14:01:06 -05:00
Anna Bridge 5e58036974 Update the extern C decalaration. Add __cpluplus block to unity_handler.h
and include that header in unity_handler.cpp.
2016-05-27 14:48:32 +01:00
Marcus Shawcroft 2a456e5a58 Merge pull request #154 from adbridge/status_t_update
Update all instances of status_t in the unit tests to fully namespace…
2016-05-27 13:16:14 +01:00
Anna Bridge 635afa58fc Update all instances of status_t in the unit tests to fully namespace them
to utest::v1::status_t .
2016-05-27 11:59:25 +01:00
Martin Kojtal be0fcfb02b Merge branch 'theotherjimmy-multi-source-export' 2016-05-27 09:46:37 +01:00
Jimmy Brisson 2d47ab1cdd projects are now named via command line -n 2016-05-27 09:46:03 +01:00
Jimmy Brisson d772ea7a00 Allowed multiple --source specifications on the export command
The project name is set to the first --source argument.
Resources (the class) is now a monoid.
2016-05-27 09:45:45 +01:00
Martin Kojtal 08ecdb296b Merge pull request #139 from geky/callback-fixes
Small fixes for issues with Callback class
2016-05-27 09:14:02 +01:00
Martin Kojtal b98152eac7 Merge pull request #149 from c1728p9/fix_iar
Pull up on config store enough to fix IAR
2016-05-27 08:37:18 +01:00
Russ Butler caa88ba9f4 More IAR test fixes
Make the following changes:
-Fix keyword used in forced inline pragma
-Move alignment test variables off of the stack since alignment there
    is platform dependent.
2016-05-26 17:40:03 -05:00
Russ Butler bb17d6ada9 Rename disassembly file to fix testing with IAR
Disassembly files can unintentionally get picked up by the test build
system.  This patch changes the file extension on those files from
".s" to ".s.txt" so they are ignored.
2016-05-26 17:37:43 -05:00
Russ Butler 10d2b58d1e Pull up on config store enough to fix IAR
Pull up on the configuration-store repo enough to fix IAR.  This patch
does not pull up to master on since this has broken tests which do
not compile.
2016-05-26 10:54:32 -05:00
geky 11baa9dce0 Merge pull request #144 from devran01/master
Incrase netif_up semaphore timeout from 1500ms to 2500ms
2016-05-26 10:46:30 -05:00
Martin Kojtal b5423c877b Merge pull request #135 from c1728p9/remove_mirrors
Remove mirror repos
2016-05-26 16:07:56 +01:00
Martin Kojtal a80428a76c Merge pull request #147 from adbridge/unity_update
Updated Unity lib file in mbed-os to pick up the latest Unity library
2016-05-26 16:01:38 +01:00
Russ Butler bd3ad9d6ff Remove mirror repos
Remove all of the repos which are being automatically mirrored.  The
addition of .mbedignore allows these repos to be used directly.

Also pull up on nanostack-hal-mbed-cmsis-rtos.lib to bring in new
features required by the updated repos.
2016-05-26 09:29:20 -05:00
Martin Kojtal ee90da1149 Merge pull request #143 from 0xc0170/dev_add_test_job
Circle - add building tests for k64f
2016-05-26 15:27:52 +01:00
Brian Daniels 6dbc9601f8 Reflecting build failures in the status code of the process 2016-05-26 09:20:24 -05:00
Brian Daniels 7a627b3fdd Allowing test builds to continue if one test build fails
This ensures that a build report is produced, even if a build fails. This
allows you to see what went wrong later.
2016-05-26 09:10:17 -05:00
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
Martin Kojtal c71e81b371 Merge pull request #122 from bridadan/test-script-macros
Adding macro option to test.py script
2016-05-26 13:12:01 +01:00
Martin Kojtal 17e577011e Circle - add building tests for k64f 2016-05-26 11:43:01 +01:00
Martin Kojtal 12deb259c7 Merge pull request #142 from 0xc0170/fix_config_tests
Config store - revert to working sha
2016-05-26 11:28:12 +01:00
Devaraj Ranganna 506d63e8b7 Incrase netif_up semaphore timeout from 1500ms to 2500ms 2016-05-26 11:18:45 +01:00
Martin Kojtal f91b40ed43 Config store - revert to working sha
The commit 14e235ae46 broke tests (config store does not compile anymore).
2016-05-26 10:57:40 +01:00
Christopher Haster 753720af56 Fixed ambigous function declarations in serial class
Caused by default argument and overly generalized templated types.

SerialBase::attach(T *obj, M method, IrqType type=RxIrq)
->
SerialBase::attach(T *obj, void (T::*method)(), IrqType type=RxIrq)
SerialBase::attach(T *obj, void (*method)(T*), IrqType type=RxIrq)
2016-05-25 15:24:54 -05:00
Christopher Haster 7c7d514000 Added callback null check for each template class
per @c1728p9 #131
2016-05-25 14:48:12 -05:00
Anna Bridge 706e5a0473 Fix ARMCC compiler warning: Missing arg type. 2016-05-25 15:48:29 +01:00
Martin Kojtal 9615763490 Merge pull request #134 from c1728p9/master
Fix atmel-rf-driver to use mirror repo SHA
2016-05-25 15:12:54 +01:00
Russ Butler a4355ce81a Fix atmel-rf-driver to use mirror repo SHA
The atmel-rf-driver-mirror repo is pointing to a SHA in the
atmel-rf-driver repo.  This prevents mbed-os from building.
This patch updates atmel-rf-driver.lib to point to the correct
SHA.
2016-05-25 09:01:48 -05:00
Martin Kojtal bfe4c20e4b Merge pull request #130 from bridadan/default-parallel-test-build
Defaulting to parallel builds for tests
2016-05-25 13:53:30 +01:00
Martin Kojtal a386819bf7 Merge pull request #131 from c1728p9/fix_serial_callbacks
Update Callback to fix fault in serial interrupts
2016-05-25 07:56:19 +01:00
Martin Kojtal 7ed00a0e62 Merge pull request #123 from c1728p9/iar_support
Add IAR support
2016-05-25 07:43:16 +01:00
Russ Butler e37e1da7b9 Update Callback to fix fault in serial interrupts
Update the Callback class to handle a NULL thunk by returning 0
rather than trying to call the thunk.  This fixes a crash that occurs
on some targets when the TX uart handler is not attached.

Background:
The K64F HAL uart implementation calls the TX interrupt handler
every time a uart interrupt occurs while the TX register is empty.
It does not check to see if the TX interrupt has been enabled.
This means that the TX interrupt can and typically does get
run on RX events.  This causes a crash with the newer callback
code which did not (prior to this patch) support a NULL thunk.
2016-05-24 17:18:11 -05:00
Brian Daniels c29f66e851 Defaulting to parallel builds for tests 2016-05-24 16:44:42 -05:00
Russ Butler 14e235ae46 Update libraries for IAR support
Pull up on libraries so they support IAR.
2016-05-24 14:38:34 -05:00
Russ Butler 960941cb0a Add IAR support
Make the following changes for IAR support:
-define __deprecated_message for IAR
-fix python error in iar.py
-move variable length array in buffered serial from cpp file to c file.
    IAR only supports variable length arrays in c.
2016-05-24 14:37:14 -05:00
Brian Daniels d676b19105 Adding macro option to test.py script 2016-05-24 09:10:37 -05:00