Shrikant Tudavekar
03f37bb21a
validate base_time key received
...
This is required as greentea can send multiple __sync packets and cause the
to be in unexpected state.
2017-07-14 15:13:31 +01:00
Russ Butler
3b4aafb6db
Update timing calculations
2017-07-14 15:13:30 +01:00
Shrikant Tudavekar
4caf8cecfe
Increased stack to 1024 from 768 and corrected assert.
...
1) mbed-os-tests-mbedmicro-rtos-mbed-basic tests use to fail when run in loop
after 20-25, This was because the stack used by test application was in range of
744-840 bytes. So bumped the stack size to 1024 bytes.
2) Corrected the assert and taken out the assert which was not required.
2017-07-14 15:13:30 +01:00
studavekar
01fcb5f34e
Deprecate testcases related to time drift.
...
1) RtosTimer is been Deprecated by EventQueue.
2) wait_us testing can't be reliably tested.
2017-07-14 15:13:30 +01:00
studavekar
aa166fa7c0
Update timing tests to be robust.
...
In the new approach the host controls the device activity when the test
should start, finish and pass/fail status is send to device. Also deprecate
the test cases which can't accurately test.
2017-07-14 15:13:30 +01:00
Brian Daniels
f659681478
Fix bad test print and move locks for printf into macro.
...
A message of "Failed to close socket" was always being printed, not
just when the socket failed to close. This patch fixes this in
addition to a simplifying the call to a thread safe printf.
2017-07-14 15:13:30 +01:00
Brian Daniels
f1b45989db
Sort the config parameters before printing them
2017-07-14 15:13:30 +01:00
Deepika
1c3469bfaa
Resolved format warnings: format '%d' expects argument of type 'int', but argument 3 has type 'u32_t[-Wformat=]
2017-07-14 15:13:30 +01:00
Deepika
fa3f226c87
Using size_t instead of integer type to resolve warning: comparison between signed and unsigned integer expressions
2017-07-14 15:13:30 +01:00
Deepika
322a20c08b
Typecasting to resolve warning: integer conversion resulted in a change of sign
2017-07-14 15:13:30 +01:00
Deepika
dfd9fc7f73
Resolving: unused variable 'mode' [-Wunused-variable]. mode is used to determine kMCG_ModePEE in case of PEE to switch back manually as default after wakeup MCG is in PBE mode. this is required only when PEE mode is required
2017-07-14 15:13:30 +01:00
Deepika
254f869753
Resolving warning: unused variable 'instance' [-Wunused-variable]
2017-07-14 15:13:30 +01:00
Deepika
8aecf03f6d
Added newline at end of file
2017-07-14 15:13:30 +01:00
Deepika
9ec78bf177
Resolving warning: #2524-D: #pragma pop with no matching #pragma push : Pragma push for CC_ARM option is inside GNUC define, same hierarchy to be followed while pop
2017-07-14 15:13:30 +01:00
Deepika
b703283cb7
moving static at the start to resolve warning:'static' is not at beginning of declaration [-Wold-style-declaration]
2017-07-14 15:13:30 +01:00
Deepika
6a8abecde5
Typecasting to int to resolve warning:#68-D: integer conversion resulted in a change of sign
2017-07-14 15:13:30 +01:00
Deepika
ec66c5a8ad
Corrected typo
2017-07-14 15:13:30 +01:00
Deepika
bb3ef7995f
Corrected handling of format/frequency
2017-07-14 15:13:30 +01:00
Deepika
5031a11fbf
_acquire() function added & no duplication in format/freq calls
...
1. Private _acquire() function is added to avoid multiple locking/unlocking
2. format and frequency functions updated to use appropriate function calls
instead of a aquire()
2017-07-14 15:13:30 +01:00
Jimmy Brisson
b963697ac4
Double escape defines
...
Fixes a bug where quoting gets stripped by the shell used in the makefile
and another bug where the lack of escaping would cause parser errors in
eclipse.
2017-07-14 15:13:30 +01:00
amq
eb6e541651
Correct a typo in the github issue template
2017-07-14 15:13:30 +01:00
lordguilly
4759d7652c
added the missing verbose=verbose to printout the command line correctly
2017-07-14 15:13:30 +01:00
Jimmy Brisson
1a2e93ab17
Reduce device has whitelist
2017-07-14 15:13:30 +01:00
Jimmy Brisson
a2bbefeb3d
Add line between local and module imports
2017-07-14 15:13:30 +01:00
Jimmy Brisson
c85f4362bd
Add license header
2017-07-14 15:13:30 +01:00
Jimmy Brisson
009019e38c
Restrict device_has
2017-07-14 15:13:30 +01:00
Jimmy Brisson
7973551b73
Revamp option parsing and add more checks
2017-07-14 15:13:30 +01:00
Jimmy Brisson
05b9b8ae57
Stylize and add function docs
2017-07-14 15:13:30 +01:00
Jimmy Brisson
31cb52dc88
Added simple linter for targets.json
2017-07-14 15:13:30 +01:00
jeromecoutant
efcf50d9d4
Add the correct startup s file in TARGET_STM32F767
2017-07-14 15:13:29 +01:00
adustm
af8c6bd6a2
Move definitions in aes_alt.c + Factorize code
2017-07-14 15:13:29 +01:00
adustm
b7b9444f76
STM32L486RG/mbedtls: add aes hw acceleration
2017-07-14 15:13:29 +01:00
Kevin Gilbert
44506c1f41
Fix typo runnig_thread -> running_thread
2017-07-14 15:13:29 +01:00
Mo Chen
24e6a780d3
Put quotes around include files
...
This fixes a problem when the path to include files have spaces.
See https://github.com/ARMmbed/mbed-os-example-uvisor/issues/31 for an
example of this problem.
Signed-off-by: Mo Chen <mo.chen@arm.com>
2017-07-14 15:13:29 +01:00
Martin Kojtal
805b20b4d2
Cellular: not-supported error if MODEM_ON_BOARD not defined
...
If a test is empty, it leads to undef. Therefore if a test requires additional
details, it should print an error [NOT SUPPORTED].
2017-07-14 15:13:29 +01:00
adbridge
c2b2044480
Added template file for PR commit message plus minor review changes
2017-07-14 15:13:29 +01:00
adbridge
a472cba08f
Remove remaining use of args.tag and replace with tag obtained from config file
2017-07-14 15:13:29 +01:00
adbridge
268990bb1e
Update branching option to branch from another branch.
...
Previously if updating a branch in the ARMmbed version of an example
repo, the branch would be created initially from master. This update
allows the new branch to be created by any pre-existing branch.
This update also moves the branch / fork / tag configuration data to the
json config file. It thus simplifies the command line.
-b on its own now indicates use the branch information in the config
-f on its own now indicates use the fork information in the config
2017-07-14 15:13:29 +01:00
Hasnain Virk
c19ebcb33b
Customer port verification tests for cellular
...
Basic TCP/UDP tests for PPP based onboard cellular modems.
Tests basic public APIs defined in CellularBase.h
A customer port must pass this test set, hence verifying their
particular implementation.
2017-07-14 15:13:29 +01:00
Anna Bridge
8828635da4
Merge pull request #4689 from ARMmbed/release-candidate
...
Release candidate for mbed-os-5.5.2
2017-07-04 21:37:33 +01:00
Martin Kojtal
597a4a9ced
IAR: remove stm32f413 from definitions
...
This definition requires IAR 7.80.2 and higher.
It will be readded once we all update to the latest IAR 7.80 patch release. For
future, please any new target should state what are the requirements on tools to
avoid this suprises.
2017-07-04 12:19:04 +01:00
adbridge
7b33104d11
Re-add #define previously removed
2017-07-03 12:24:22 +01:00
adustm
431218e9d1
Check HASH is not busy before save/resteore context
2017-07-03 12:13:36 +01:00
adustm
acc3942f6f
Add test of sha256_clone function
2017-07-03 12:13:04 +01:00
adustm
09a50efd19
Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
...
Handle 64 bytes accumulation
2017-07-03 12:12:36 +01:00
adustm
600742b136
Remove trailing whitespace
2017-07-03 12:12:06 +01:00
adustm
a8ab0e4290
SHA256: get ready to return error codes
2017-07-03 12:11:41 +01:00
adustm
6d0903b6bb
Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE
2017-07-03 12:10:45 +01:00
adustm
8dc7851916
Align SHA256 with MD5 and SHA1 implementation
...
This will solve Size <4 issues
2017-07-03 12:10:15 +01:00
adustm
2300386b84
NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration
2017-07-03 12:09:14 +01:00