Commit Graph

13499 Commits (96d9a00d0a1d25095b330095fa81c40f7741777c)

Author SHA1 Message Date
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
jeromecoutant 85c12899ce tests-netsocket-gethostbyname
MBED_DNS_TEST_HOST define is replaced by MBED_CONF_APP_DNS_TEST_HOST to allow user to change host name for local tests
2017-12-20 16:05:42 +00:00
Veijo Pesonen 119ae0bff1 REALTEK_RTL8195AM Wifi driver - adds check of credentials
Adds checks that SSID is non-empty and that password is 8-63 characters
long when security is enabled
2017-12-20 16:05:42 +00:00
Steven Cooreman f195f5bf17 Remove usage from USB driver as well 2017-12-20 16:05:42 +00:00
Steven Cooreman cac92116b1 Remove custom Silicon Labs sleep management
Standardize on the mbed sleep manager by removing the sleepmodes API, and statically redirecting hal_sleep to EM1 and hal_deepsleep to EM2.
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak b9f4cdf978 Added the proper defines for the STM32L432 bootloader support 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 78cd49b21d Changed NVIC Flash base address to support the bootloader 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 9b2c874317 Enbaled bootloader support for STM32L432KC Added NUCLEO_L433RC_P target 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 39b2854138 Updated wrongly defined UART3_BASE into USART3_BASE 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 655048dbd6 Added TARGET_STM32L433RC stack size define into mbed_rtx.h 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 2a0be67d7a Updated to toolchain startup/linker files to support the 433 devices Also added the symbolic MBED_APP_START/MBED_APP_END defines 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak b4a0b59400 defined STM32L433xx 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 2f1927bfff Added stm32l433xx.h defined STM32L433xx 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 1f72c67967 Updated PeripheralNames.h, PeripheralPins.c and PinNames.h for STM32L433 devices 2017-12-20 16:05:42 +00:00
Helmut Tschemernjak 101ede0f84 Copied TARGET_STM32L432 to TARGET_STM32L433, renamed 432 files to 433 2017-12-20 16:05:42 +00:00
Bartek Szatkowski 80dc8d67f4 Remove inclusion of an internal RTX header 2017-12-20 16:05:42 +00:00
Wolfgang Betz 5abc7925cc Split test for secure & unsecure tests 2017-12-20 16:05:42 +00:00
Wolfgang Betz 37637c60b9 Correct WiFi driver name to `X_NUCLEO_IDW0XX1` 2017-12-20 16:05:42 +00:00
Mathieu Garivet 858c0d223a Fix RTR position bit in TX mailbox register 2017-12-20 16:05:42 +00:00
Edmund Hsu 1cdd4a936e Realign ADuCM4x50 and ADuCM302x instance memory blocks
Ensure all instance memory blocks meet 4 byte alignment requirement
  without relying on compiler's or liker's optional settings:
  - gpioMemory[]                                    for adi_gpio_Init()
  - aRtcDevMem0[]                                   for adi_rtc_Open()
  - i2c_Mem[] or I2C_Mem[]                          for adi_i2c_Open()
  - spi_Mem0[], spi_Mem1[], spi_Mem2[] or SPI_Mem[] for adi_spi_Open()
2017-12-20 16:05:41 +00:00