Commit Graph

13668 Commits (0a644d25e9060e4aa322548851aefda95f2b5552)

Author SHA1 Message Date
Maciej Rogozinski 9cdeab949d Fixed whitespace 2017-12-20 16:05:44 +00:00
Maciej Rogozinski 3db98b5223 Fatal parameter error when deleting/terminating Thread object
Call to osThreadTerminate is guarded by local_id check, to avoid parameter error fault when deleting or terminating Thread object that was not started.
2017-12-20 16:05:44 +00:00
Amanda Butler 190bd255fe Copy edit README.md
Make minor copy edits for comma use and consistent capitalization across documents.
2017-12-20 16:05:44 +00:00
Sam Grove 2f5a861b98 Readme updates for style and branding
Add a logo and reformat the readme layout. Update use of Mbed to
align with Arm branding guidelines.
2017-12-20 16:05:44 +00:00
Prashant Ravi b64590babd reverting all tabs to spaces 2017-12-20 16:05:44 +00:00
Prashant Ravi 2edd6e567a Replacing formatting issues 2017-12-20 16:05:44 +00:00
Prashant Ravi 0671e11faf Moving changes to RTW driver 2017-12-20 16:05:44 +00:00
Prashant Ravi d69efa578e Revert "Fixing changes to make greentea test mbed-os-tests-netsocket-connectivity pass for target Realtek AMEBA"
This reverts commit 1fcfced203.
2017-12-20 16:05:44 +00:00
Prashant Ravi fc24d80cff Fixing changes to make greentea test mbed-os-tests-netsocket-connectivity pass for target Realtek AMEBA 2017-12-20 16:05:44 +00:00
Ryan Kurte 5b81d8880f Nanostack flag fix 2017-12-20 16:05:44 +00:00
Bilal e163adbacf Bracket moved to next line 2017-12-20 16:05:44 +00:00
Bilal bef3ea63c3 Licenses added in header files 2017-12-20 16:05:44 +00:00
Bilal 2614c0bc52 C030 Battery Charger Voltage Fix 2017-12-20 16:05:44 +00:00
jeromecoutant e005456f70 STM32F4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
jeromecoutant 0dfa368c76 STM32L4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
jeromecoutant b753262432 STM32F3 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
adustm 8abe9a4be3 Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A) 2017-12-20 16:05:44 +00:00
David Walters 7dac0c0359 Fixed call to deprecated get_details_txt 2017-12-20 16:05:44 +00:00
Senthil Ramakrishnan a3bb61b8f0 Statically allocate ARMCC required mutex objects 2017-12-20 16:05:44 +00:00
Martin Kojtal f0f6fa95d6 Travis: fix gcc arm version to 6
Use download from official website, to have
fixed version, rather than latest.

The official support for current mbed OS is
GCC ARM 6.
2017-12-20 16:05:44 +00:00
Christopher Haster bc16f2f29d Travis: Minor cleanup
language -> python
pip --user installs -> virtual env installs
2017-12-20 16:05:44 +00:00
Christopher Haster 802ea1e20a Travis: Added yaml references for mbed 2 jobs 2017-12-20 16:05:43 +00:00
Martin Kojtal d58614caf6 Travis: allow build/make to print output
As we have now matrix for targets, there might be some targets that take longer to compile.
It can timeout, if we produce an output after every target that it was build, it
should extend the timeout per target build.
2017-12-20 16:05:43 +00:00
Martin Kojtal 7b09e95fd3 Travis: set language to generic
Do not fall to default Ruby
2017-12-20 16:05:43 +00:00
Martin Kojtal 859f367392 Travis: define vendor matrix
Use vendor matrix, creates a job for each vendor folder (targets/TARGET_XXX).
This fixes the errors we have seen, as a job has a limit 50 minutes.
2017-12-20 16:05:43 +00:00
Russ Butler 0493ba2bfe Protect local static object construction in ARMCC
Implement the functions __cxa_guard_acquire, __cxa_guard_release
and __cxa_guard_abort for ARMCC so local static object construction is
thread safe.
2017-12-20 16:05:43 +00:00
Russ Butler e97b38f804 Fix deficiency in the race test
The test for construction of local static objects doesn't check
to see if the object returned has been fully initialized. Because
of this, an error with ARMCC was not detected.

This patch adds an assert to the race_test to ensure that the
object has been properly initialized.
2017-12-20 16:05:43 +00:00
Maciej Bocianski 4b4aeb44ce Add SingletonPtr test 2017-12-20 16:05:43 +00:00
Jimmy Brisson 7afa7caf40 Correct typo? in e2studio exporter code 2017-12-20 16:05:43 +00:00
bcostm 17f704c30c STM32 CAN3: add CAN_3 declaration for DISCO_F769NI 2017-12-20 16:05:43 +00:00
Adam Heinrich fd604f43b8 STM32: Set valid filter number for CAN3
Filter numbers 14 to 27 are reserved for dual CAN configuration.
However, CAN3 operates in single CAN configuration according to the
reference manual).
2017-12-20 16:05:43 +00:00
bcostm b43b6cc420 STM32 CAN3: remove test of CAN_2 and CAN_3
CAN_2 and CAN_3 are enum and not #define and this causes compilation error with GCC_ARM

Instead put back the test of CAN_NUM (which are defined in can_device.h).
2017-12-20 16:05:43 +00:00
Adam Heinrich 669e5495ff STM32: Pass correct id to can_irq() for CAN3 2017-12-20 16:05:43 +00:00
Christopher Haster 32a8b401b2 Split out "docs" into its own Travis job
And some cleanup
2017-12-20 16:05:43 +00:00
Christopher Haster 82811f5f33 Add caching of apt-get + pip to .travis.yml 2017-12-20 16:05:43 +00:00
jeromecoutant 990fb1c18a STM32 RTC : update and comment prescaler values 2017-12-20 16:05:43 +00:00
jeromecoutant 3264b21e40 STM32: RTC_LSI macro is replaced by lse_available config 2017-12-20 16:05:43 +00:00
jeromecoutant 8359253666 STM32 LOW_POWER_TIMER update : use error 2017-12-20 16:05:43 +00:00
jeromecoutant 3d3a83e99b STM32 LOW_POWER_TIMER update : rtc_init procedure 2017-12-20 16:05:43 +00:00
jeromecoutant 16a7ecee58 STM32 LOW_POWER_TIMER update : sleep
RSF synchro after deepsleep is not specific to Low Power Timer feature
And we have to check if RTC is configured before synchro
2017-12-20 16:05:43 +00:00
jeromecoutant 9b8ecab9a9 STM32 LOW_POWER_TIMER update : rtc_api.c
Add RSF synchro during init
Set a better WakeUp clock for long wake up period in order to stay in sleep mode
Use rtc_isenabled function before init as rtc_init is called at each set_time call
2017-12-20 16:05:43 +00:00
jeromecoutant 51b68ee6b7 STM32 LOW_POWER_TIMER update : lp_ticker
Removed unnecessary part
2017-12-20 16:05:43 +00:00
jeromecoutant 73fa64ebe5 STM32 LOW_POWER_TIMER update : targets.json
Move LSI configuration from macro to config part
Add missing boards to the LPT supported targets
2017-12-20 16:05:43 +00:00
jeromecoutant 0e5a42795d Unity framework : add float support in error print 2017-12-20 16:05:43 +00:00
Jimmy Brisson 01e6d4d28a Correct pack_* members to refer to PACK files
They referred to PDSC files before
2017-12-20 16:05:43 +00:00
bcostm a19520ab1c STM32: Add USB Device on DISCO_F413ZH 2017-12-20 16:05:42 +00:00
jeromecoutant b0c22d5305 tests-netsocket-socket_sigio
HTTP_SERVER_NAME and HTTP_SERVER_FILE_PATH are replaced by
  MBED_CONF_APP_HTTP_SERVER_NAME and MBED_CONF_APP_HTTP_SERVER_FILE_PATH
  to allow user to make local tests

Test on HTTP connect added as test was always OK even with no connection...
2017-12-20 16:05:42 +00:00
jeromecoutant dd293483ca tests-netsocket-tcp_hello_world
HTTP_SERVER_NAME and HTTP_SERVER_FILE_PATH are replaced by
  MBED_CONF_APP_HTTP_SERVER_NAME and MBED_CONF_APP_HTTP_SERVER_FILE_PATH
  to allow user to make local tests
2017-12-20 16:05:42 +00:00
jeromecoutant 54f495b1be tests-netsocket-tcp_echo
UUID lines are removed as they were not used

default case:
If MBED_CONF_APP_ECHO_SERVER_ADDR and MBED_CONF_APP_ECHO_SERVER_PORT are not defined
test is using Greentea to get server information (code before OS 5.6.1 version)

TCP_ECHO_PREFIX is no more a mandatory step
2017-12-20 16:05:42 +00:00
jeromecoutant 4e46233a4d tests-netsocket-udp_echo
UUID lines are removed as they were not used

default case:
If MBED_CONF_APP_ECHO_SERVER_ADDR and MBED_CONF_APP_ECHO_SERVER_PORT are not defined
test is using Greentea to get server information (code before OS 5.6.1 version)
2017-12-20 16:05:42 +00:00