Commit Graph

11401 Commits (e36c20ffda59a965b29d40037bb02026c7f43db9)

Author SHA1 Message Date
Chris e36c20ffda Fix timing issues found in "Flash - clock and cache test" ARMCC seemed to be inlining time_cpu_cycles() but with a different number of clock cycles in the loop, GCC worked fine. 2017-07-14 15:13:32 +01:00
Yuguo Zou 5ae8011857 Enable/Disable debug from argument of constructor 2017-07-14 15:13:32 +01:00
Yuguo Zou 54bf7d7bd5 mute wifi_conf messages 2017-07-14 15:13:32 +01:00
Yuguo Zou 51a7036e21 Update and mute debug messages from wifi 2017-07-14 15:13:32 +01:00
bcostm 6d0badf8f8 NUCLEO_F429ZI: comments corrections 2017-07-14 15:13:31 +01:00
bcostm 99f87ab93c DISCO_F429ZI: Typo correction 2017-07-14 15:13:31 +01:00
bcostm 1e8ba708f3 NUCLEO_F429ZI: Add alternate pins and enable all pins 2017-07-14 15:13:31 +01:00
bcostm be5ae8b409 DISCO_F429ZI: Typo corrections + add missing ALT pins 2017-07-14 15:13:31 +01:00
bcostm 4615906e4c DISCO_F429ZI: Add missing ADC alternate pins 2017-07-14 15:13:31 +01:00
bcostm 8a1821ec77 DISCO_F429ZI: Add alternate pins and enable all pins 2017-07-14 15:13:31 +01:00
bcostm 1554ea51af DISCO_F429ZI: Add 'Connected to' comment 2017-07-14 15:13:31 +01:00
Rob Meades f7c516a177 Increase PPP stack size from 512 bytes to 768 bytes.
PPP is running close to the edge of its default thread stack size of 512 bytes. When it experiences an FCS error on the incoming data (for example. caused by character loss when the incoming serial rate is too high for it to process in time) it performs some additional work which overruns the thread's stack, hitting the OS "stack underflow" check. Increasing the PPP stack size to 768 bytes resolves this problem.
2017-07-14 15:13:31 +01:00
Laurent MEUNIER b6a5448902 STM32: F4: Increase ADC sampling time
To get a valid VBAT measurement on F4 targets, it is required to increased
the sampling time to its maximum value.
2017-07-14 15:13:31 +01:00
Vincent Coubard 1d9712b424 Nordic: Fix multiple defined symbol.
The symbol Systick_Handler was defined as a weak symbol in us_ticker.c and
startup_nRF51822.s. While it work as expected when an application is compiled
from mbed OS source code it creates a duplicate symbol issue when mbed OS is
bundled as a library.
2017-07-14 15:13:31 +01:00
bcostm b1b419fc29 DISCO_L475VG_IOT01A: typo corrections in PeripheralPins.c 2017-07-14 15:13:31 +01:00
jeromecoutant 9a226ae2a4 STM32L0 : internal ADC channels 2017-07-14 15:13:31 +01:00
Laurent MEUNIER abfe8d1a0d STM32: serial: use proper GET_IT macro
Depending on families, different HAL macros are defined to check the
state of serial interrupts. In several cases, we can find only 1 macro:
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt has occurred or not

But in F0, F3, F7, L0, L4 there are 2 different macros
__HAL_UART_GET_IT
Checks whether the specified UART interrupt has occurred or not
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt source is enabled.

In the later case, __HAL_UART_GET_IT_SOURCE was being used so far,
but actually needs to be replaced by __HAL_UART_GET_IT. Using the right
macro, we also check the proper flags accordingly.
2017-07-14 15:13:31 +01:00
Vincent Coubard 43c67f448c NRF52832: Extend idle thread stack size to 512 bytes.
Fix a crash where the idle thread stack size overflows. This crash
was depending on the compiler and standard library used.
2017-07-14 15:13:31 +01:00
Yuguo Zou d4c2f311a7 Remove unused headfile
This shall prevent confusion
2017-07-14 15:13:31 +01:00
Martin Kojtal e97380913c tools: fix toolchain extend inc paths
inc paths might be a list or might not be (just single string). If they don't, we are ending up with non valid include paths (one letter include paths).
This as result would not compile.
2017-07-14 15:13:31 +01:00
andreas.larsson 3d0f789d86 Set LED4 the same as LED3 to get tests-mbedmicro-rtos-mbed-timer to pass. If set to NC the test will assert. 2017-07-14 15:13:31 +01:00
Christopher Haster b92b4232da fatfs: Added full support for multiple fs volume prefixes
This is only an issue when multiple fatfss are used simultaneously.
Repeated use of a single fatfs instance (even with different storages)
do not show this issue.

Full support requires path prefixes being applied for every function
that takes a path. Note: this is only required filesystems after the
first mounted filesystem. The first filesystem has no penalty.
2017-07-14 15:13:31 +01:00
Fahrzin Hemmati 844ba85090 do while -> while 2017-07-14 15:13:31 +01:00
Fahrzin Hemmati f1dd96b14b Fix add -> adds typo 2017-07-14 15:13:31 +01:00
Fahrzin Hemmati 206b7f89fa Improve the startup code on the STM32F070
This reduces the number of loads inside of the .data copy loop by 3 by using one more register. It should work on any STM32 with at least 5 general-purpose registers. If only 4 are available, then 1 load could still be removed from the original implementation.
2017-07-14 15:13:31 +01:00
Marcus Chang 3b32d25a96 FlashIAP: Add explicit read function to flash_api.h
On some platforms, the in-application memory is not memory mapped
and therefore cannot be accessed using memcpy.

The flash_read function added to flash_api.h (with a weak
implementation using memcpy in mbed_flash_api.c) can be used for
reading data from areas that are not memory mapped.
2017-07-14 15:13:31 +01:00
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