Commit Graph

12483 Commits (ea468856c49714ffd655cd76e2e657d1de71e646)

Author SHA1 Message Date
Sarah Marsh dee8e7f0ea Use default mbed-os test configuration if no app_config is supplied 2017-09-20 18:29:38 -05:00
Sarah Marsh ba6eb98b5c Use only one flag for test configuration file
Tools will figure out if user passed in a custom path (to indicate configration file for module) or whether they used a keyword (to indicate they'd like to use an mbed OS configuration)
2017-09-20 18:29:37 -05:00
Sarah Marsh e982eed4ad Add option to add a configuration file for modules 2017-09-20 18:27:59 -05:00
Sarah Marsh 8c0bc781d9 Allow tools to use networkinterface configs in tests 2017-09-20 18:27:59 -05:00
Sarah Marsh 8f9242fe40 Add netsocket tests 2017-09-20 18:27:58 -05:00
Jimmy Brisson 43aa6a263c Merge pull request #5018 from adustm/f439_aes_tlsclient_fix
Fix use of AES_ALT on STM32F439 for example-tls-client
2017-09-20 16:36:02 -05:00
Jimmy Brisson b494d33037 Merge pull request #5061 from ARMmbed/geky/fix-travis
Travis: Fix requirements install
2017-09-20 16:25:28 -05:00
Jimmy Brisson a2cdb10bf7 Merge pull request #4932 from LMESTM/can_reset
Fix STM32 CAN reset to not lose context
2017-09-20 16:24:40 -05:00
Jimmy Brisson 617f410a42 Merge pull request #5143 from tung7970/fix-lockup
RTL8195AM - Fix us_ticker porting
2017-09-20 16:22:58 -05:00
Jimmy Brisson 727256a05d Remove prefix stuff from GCC memap parser
It's just not used anymore
2017-09-20 11:00:02 -05:00
Jimmy Brisson 3d5bea337f Test the module_add function 2017-09-20 10:49:12 -05:00
Jimmy Brisson 06203c4fcc Test GCC memap parser 2017-09-20 10:39:42 -05:00
Martin Kojtal b5c53f4dcb Merge pull request #5138 from artokin/master
Fix redefinition of mbed TLS error codes
2017-09-20 16:02:43 +01:00
Tony Wu 6c1167844a rtl8195am - fix us_ticker porting
commit f7bc126 (Re-work Rtl8195AM ticker) tried to address ticker drifting
issue, but in fact broke ticker functionality. This patch adjusts us_ticker
porting to unbreak it, and to fix the following tests:

mbed-os-tests-mbed_drivers-ticker
mbed-os-tests-mbed_drivers-timeout
mbed-os-tests-mbedmicro-rtos-mbed-isr
mbed-os-features-frameworks-utest-tests-unit_tests-minimal_async_scheduler
mbed-os-features-frameworks-utest-tests-unit_tests-case_control_async
mbed-os-features-frameworks-utest-tests-unit_tests-case_async_validate

Changes are:

1. Dont disable timer after every us_ticker interrupt. That basically
   breaks ticker functionality.

2. Fine-tune us to tick conversion macro. Previous conversion method
   yields 1 tick drift every 2 ms.

3. Remove special placement of ticker objects. No longer necessary.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-09-20 11:03:22 +08:00
Mahadevan Mahesh 82a37b0eb1 LPC54608: Swap LED pin connections to match naming on the board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-09-19 15:37:22 -05:00
Jimmy Brisson bcd89dae18 Test memap parsing for ARMC6 and IAR 2017-09-19 15:14:43 -05:00
jeromecoutant 8b0ee27819 STM32L432KC: increase RAM size from 48k to 64k
WARNING: you have to update ST-Link FW to V2J29M18
http://www.st.com/en/development-tools/stsw-link007.html
2017-09-19 15:11:23 +02:00
mbedNoobNinja 610c8c85fc CAN Extended mode fix 2017-09-19 15:26:10 +03:00
Anna Bridge 003dd7c47f Merge pull request #5044 from Archcady/Profile_debug
Realtek_RTL8195AM fix for debug profile
2017-09-19 10:43:25 +01:00
Anna Bridge 02a10e5974 Merge pull request #5094 from deepikabhavnani/m23_armc6
ARMC6 support for Cortex-M23
2017-09-19 10:25:33 +01:00
Anna Bridge f18d2d862a Merge pull request #5091 from theotherjimmy/fix-nordic-concat
Correct booting on Nordic devices with ARMC6
2017-09-19 10:24:54 +01:00
Arto Kinnunen 0920cfc600 Fix redefinition of mbed TLS error codes
-Use guards around MBEDTLS macros.
2017-09-19 11:25:40 +03:00
Jimmy Brisson fdd4ae3056 Parse full paths from ARM map file
Now we don't have to scan!

This is a 20% speed improvement
2017-09-18 17:18:01 -05:00
Jimmy Brisson 8c54c4efa8 Display full paths in armlink output 2017-09-18 16:40:52 -05:00
Jimmy Brisson 6d135c26b3 Remove warnings for Zero sized sections
We just don't care if we don't know where they go
2017-09-18 15:45:05 -05:00
Jimmy Brisson 0d2a0a0c1d Parse filenames from IAR map file
Instead of scanning.

Is a 8ms/15% speedup.
2017-09-18 15:45:03 -05:00
Jimmy Brisson 2114ccd5a1 Refactor memap for speed 2017-09-18 15:24:18 -05:00
Deepika 459e7d4725 IAR heap stats added 2017-09-18 10:24:01 -05:00
Jimmy Brisson a0d55036f9 Merge pull request #5116 from hasnainvirk/iar_fix
Separate string literal from macro
2017-09-18 09:30:59 -05:00
Jimmy Brisson a9bd33e51e Merge pull request #5103 from theotherjimmy/fix-memap-libs
Parse libraries with memap-arm
2017-09-18 09:12:48 -05:00
Jimmy Brisson af50e8fc07 Merge pull request #5122 from studavekar/update-lwip-test
update server name to os.mbed.com
2017-09-18 09:12:05 -05:00
bcostm 5bf18682e2 Add FREEZE_TIMER_ON_DEBUG condition
In order to give the choice to enable or not the timer freeze on stop/breakpoint.
This has to be defined in the mbed_app.json file for example.
2017-09-18 13:39:05 +02:00
bcostm 9f86a32baf Add freeze timer on debug for all STM32 devices
This is a continuation of the work done on the STM32F401xE devices only.
2017-09-18 13:31:46 +02:00
Maciej Bocianski 19ee9c1b43 Ticker class description update - small interval warning 2017-09-18 11:39:06 +02:00
Jimmy Brisson 8569c09626 Merge pull request #5107 from Patater/uvisor-tickless-slumber
mbed_rtx_idle: uVisor: Don't attempt to sleep
2017-09-15 18:04:23 -05:00
Jimmy Brisson faa3375397 Mock supported_toolchains values in tests 2017-09-15 17:59:46 -05:00
Jimmy Brisson aeda7f7d28 Merge pull request #5069 from deepikabhavnani/assert_added
Changed error print to assert
2017-09-15 17:50:49 -05:00
Jimmy Brisson 4e46aa9e02 Merge pull request #5111 from theotherjimmy/armc6-emit-deps
Emit dependency information with ARMC6
2017-09-15 17:50:23 -05:00
Christopher Haster 94c972edba Fix travis requirements install
pip requires --user flag when installing executables outside of sudo context
2017-09-15 17:22:21 -05:00
Jimmy Brisson 1ce1246679 Merge pull request #5090 from theotherjimmy/fix-realtek-warns
Correct long call macros for ARMC6
2017-09-15 15:28:53 -05:00
Deepika 6f5df1f4c3 Threads test require more time to finish 2017-09-15 11:39:47 -05:00
Shrikant Tudavekar fc58349c15 update domain name to os.mbed.com 2017-09-15 11:21:28 -05:00
Hasnain Virk 8c9a0b3aa5 Seperatig string literal from macro
From C++11 and beyond string literals must be seperated by space
so that they are recongizable as seperate tokens.

Context macro in PPPCellularInterface (CTX) has been causing issues
as it was not augmented with a space from a nearby string literal.
2017-09-15 17:39:46 +03:00
adustm e6fa5f07a2 Change after code review : standardize calls among ST families
Check return values in alignment with MBEDTLS error codes
2017-09-15 14:59:08 +02:00
Yuguo Zou f7bc12626d Re-work Rtl8195AM ticker
Remove intermediate variances and use uint64 instead;
Remove HalTimerIrqEn called in us_ticker.c
2017-09-15 18:53:24 +08:00
Deepika e235772ed5 Replaced older version of assembly file with 2016-2017 version from RTX 2017-09-14 23:15:12 -05:00
Deepika a2b53011be Added thread terminate hook
Hook was added in RTX4 code to assist test framework to log thread info on
thread terminate, which was not working with RTX5.
2017-09-14 16:21:48 -05:00
Jimmy Brisson bd7f320387 Emit dependency information with ARMC6
Which allows it to be parsed
2017-09-14 16:17:44 -05:00
Deepika eea29d34a7 Corrected check for ARM/ARMC6 toolchain
ARMC6 support required ARM compiler support as mandatory requirement which
should not be the case. Cortex-M23/M33 devices are not suuported by ARM compiler5

Adding ARMC6 without ARM in target.json should work now.
2017-09-14 14:14:35 -05:00
Jimmy Brisson 0906be6397 Merge pull request #5093 from theotherjimmy/export-no-response-files
Disable response files on export
2017-09-14 11:24:36 -05:00