Commit Graph

19320 Commits (6d7b655b8715347923e1669ecaac5e9cf1860a66)

Author SHA1 Message Date
cedrick kukela 56fa71cbd3 delete file 2018-09-26 15:37:33 -05:00
cedrick kukela 50254bcc61 change startup and s file names to match target 2018-09-26 15:37:33 -05:00
cedrick kukela 5e1bb381cd fixing onboard modem init bug on mts dragonfly l471 2018-09-26 15:37:32 -05:00
cedrick kukela 28f6b5787a target fix 2018-09-26 15:37:32 -05:00
cedrick kukela e2e5d9ed43 Ublox and PinName fixes 2018-09-26 15:37:32 -05:00
cedrick kukela c18eef804e adding TARGET MTS_DRAGONFLY_L471QG 2018-09-26 15:37:32 -05:00
Juho Eskeli 3a6b52fd15 Clear error programming flags before erase & program operations 2018-09-26 22:58:49 +03:00
Juho Eskeli d32b454c5b Align writes to blockdevice write size in MBRBlockDevice 2018-09-26 22:43:27 +03:00
Cruz Monrreal II f5e6f16307 Enabled the removal of a trailing slash when sourcing examples from examples.json 2018-09-26 14:21:10 -05:00
Cruz Monrreal d522880581
Removed trailing slashes in NFC examples URL
This apparently breaks the examples.py script.
2018-09-26 14:07:43 -05:00
Cruz Monrreal b3fe04f68a
Merge pull request #8099 from NXPmicro/Fix_MXRT_PWM
MIMXRT1050_EVK: Fix the PWM Hal driver
2018-09-26 11:38:56 -05:00
Cruz Monrreal 2c870e737a
Restricted nfc example to two targets 2018-09-26 10:19:11 -05:00
Mirela Chirica 265255305a Cellular: Fix compile warnings for CellularNetwork 2018-09-26 16:39:05 +03:00
Martin Kojtal 37654e546a
Merge pull request #7696 from aashishc1988/wizwiki_iar_error
skip the flashsim test if not enough memory cannot be allocated for it.
2018-09-26 15:08:23 +02:00
Martin Kojtal c10a9b5f77
Merge pull request #7911 from 0xc0170/fix_license_check
travis: add license check for gnu library license
2018-09-26 15:07:48 +02:00
Przemyslaw Stekiel 25b23a9286 tests-mbed_hal-sleep: finish UART transmission before sleep test
There is no problem with this test during the morph, but some issue has been noticed while testing new Jenkins CI in Oulu on NRF52_DK.
I was able to reproduce the issue locally. The difference between morph and local run is that CPU statistics are enabled on morph. This makes the difference and test passes.

The sleep test case perform sleep for 100 us, 200 us, ... ,1000 us in loop (us ticker wakes the board) and verifies if sleep time matches the assumption.
I got the following results:

sleep                 wake-up after
100 us                   ~100 us    ok
200 us                   ~200 us    ok
300 us                   ~300 us    ok
400 us                   ~400 us    ok
500 us                   ~14 us     (??)

When requested sleep time is equal to 500 us some unexpected interrupt occurs which wakeup the board and force the test to fail.
Register state just after exit from sleep:
Control and State Register: 0x00400000 (ISRPENDING - Interrupt pending flag is set).
NVIC Interrupt Set-pending Register[0]: 0x00000004 (UARTE0_UART0_IRQn) or 0x00000200 (TIMER1_IRQn - timer used by us ticker).

UART interrupt is generated because of green-tea transmission. We know that it is performed while test is executed since we need to wait before going into deep-sleep since otherwise the transmission will be broken. So to take care of UART interrupt we need to wait before sleep test in the same way like it is done in deep-sleep test.
2018-09-26 14:29:14 +02:00
Yossi Levy dd065e3be1 Fix warnings in block devices 2018-09-26 14:35:48 +03:00
Martin Kojtal eaa5102358
Merge pull request #8014 from M-ichae-l/realtek-rtl8195am-lib-updates
realtek rtl8195am lib updates
2018-09-26 13:09:28 +02:00
Martin Kojtal a0a9b54e97
Merge pull request #7057 from theamirocohen/trng_test
Add TRNG API test
2018-09-26 09:48:36 +02:00
Martin Kojtal 4957dd537e
Merge pull request #8138 from michalpasztamobica/master
Unit tests for TCPSocket, TCPServer, UDPSocket, NetworkStack, InternetSocket
2018-09-26 09:38:20 +02:00
Martin Kojtal fc820f539c
Merge pull request #8154 from lorjala/unittests-coveragefiltering
Unit tests: add code coverage filtering
2018-09-26 09:37:46 +02:00
Juho Eskeli f8c8c3cf68 Reduce heap size on stm32f207 2018-09-26 10:07:45 +03:00
Markus Siglreithmaier ea6c886d22 STM32L4: Use HAL layer functions for sleep implementation 2018-09-26 08:54:13 +02:00
Cruz Monrreal 815683c2bd
Merge pull request #7941 from OpenNuvoton/nuvoton_fix_gpio_mode_mapping
Nuvoton: Fix GPIO mode mapping
2018-09-25 13:15:09 -05:00
Jimmy Brisson f6310a00c3 Convert to a set in win2unix 2018-09-25 12:31:33 -05:00
Cruz Monrreal 3bec1b75c1
Merge pull request #8229 from mirelachirica/fix_network_and_util_ut
Fix network and util ut
2018-09-25 10:35:36 -05:00
adbridge 29a944e5e2 Update Manifest tool version
v1.4.5 -> v1.4.6
2018-09-25 15:51:21 +01:00
adbridge 8ce2e5ac1d Add back examples updated for mbed-os-5.10
While feature changes were being added to mbed-os a number of
examples were removed from this list due to incompatibility issues.
This PR adds those examples back in:
Filesystem,
Blockdevice,
Mesh-minimal,
Bootloader.

This PR also adds in the new NFC example.
2018-09-25 15:24:30 +01:00
Jarno Lamsa 83a85d7830 mcr20a use core_util_critical_section functions 2018-09-25 16:29:24 +03:00
Martin Kojtal a88ed6eff1 PR template: add "test update"
Adding new test case, test unit or just updating tests
2018-09-25 14:11:39 +01:00
Amir Cohen e92f41a8a4 Fix print error 2018-09-25 15:30:29 +03:00
jeromecoutant e8d32ca0f9 STM32F1 RTC : save values in register
Date is managed only by SW
  within CUBE functions HAL_RTC_GetDate and HAL_RTC_SetDate.
They are then replaced by functions that saved counters in HW registers.
RTC_ReadTimeCounter and RTC_WriteTimeCounter are then added to the ST API.
2018-09-25 13:45:59 +02:00
Martin Kojtal 65a0a1aecd
Merge pull request #8131 from jeromecoutant/PR_F3_ADC
STM32F3 correct analogin_read
2018-09-25 13:24:03 +02:00
Martin Kojtal a999289365
Merge pull request #8034 from EnsilicaEdd/snr_unsigned_signed
Changed the reported SNR from unsigned to signed.
2018-09-25 13:23:14 +02:00
Martin Kojtal 396f7e39fa
Merge pull request #8037 from mattbrown015/stm32_gpio_irq_shared_vector
STM32: Fix disabling of IRQs shared by multiple events
2018-09-25 13:18:02 +02:00
Seppo Takalo e7924a98b2 Fix WIFI_CONNECT_PARAMS_CHANNEL_FAIL testcase.
Test case was assuming that secure and unsecure SSID were on different
channels.
This is not a requirement and it should be OK to run on same channel.

Fixed the testcase by using +1 on channel number to get a wrong channel.
2018-09-25 14:11:22 +03:00
Veijo Pesonen d302a62e60 Drops removed mbedgt-netsocket cases from test specification 2018-09-25 11:52:50 +03:00
Martin Kojtal aac58a7e21 PR template: add "docs update"
As we know have documentation in the repository, this type should define changes
only to documentation.
2018-09-25 09:30:58 +01:00
Ganesh Ramachandran 9215b9d264 Fixed pwmout & serial fuart
pwmout:
Used SystemCoreClock

Serial fuart:
SERIAL_5 & SERIAL_3 have same CTS pin (PA7), only function register is different (4 & 2).
pinmap_peripheral() will always return first match from the map.
Hence changed as, if SERIAL_5 is used, then pinmap_peripheral() should return SERIAL_5 (function register 2 to be set).
2018-09-25 13:29:12 +05:30
Veijo Pesonen 6ac099ab1a Makes mbedgt-network-wifi case to skip channel number check
2.4GHz and 5GHz channels might be using the same SSID. Wifi scan
might also fail occasionally to find secure- and unsecure channels
on same scan so lets not assume that we'll find both.
2018-09-25 09:29:53 +03:00
Veijo Pesonen b355c750a6 Makes mbedgt-netsocket cases to accept port 0 as destination 2018-09-25 09:29:53 +03:00
TomoYamanaka b01cdcba5a Modify typo of return value at mbed_get_a9_tick_irqn(). 2018-09-25 14:07:59 +09:00
TomoYamanaka 48038e4dcc Change MTU2 channel number for LPTicker of GR-LYCHEE
MTU2(Multi function Timer pulse Unit 2) can create the low freaquency.
Currently GR-LYCHEE uses MTU2 channel 3 for LPTicker, but I noticed that a part of it is used by another function.
Thus, I changed MTU2 channel number for LPTicker to 2.
2018-09-25 13:53:49 +09:00
Russ Butler 000ee90bfe Add a minimum requirements HAL test
Add a test to ensure that devices have at least 2K free ram
and 2K free heap. This test should be the first test that fails
due to running out of ram or heap.
2018-09-24 13:54:56 -05:00
Cruz Monrreal 6fca23ece1
Merge pull request #7955 from yossi2le/add_frequency_to_dataflash_conig
Add SPI_FREQ parameter to DATAFLASH block device configuration
2018-09-24 10:45:34 -05:00
Cruz Monrreal 7ca85f9688
Merge pull request #8009 from NXPmicro/LPC1768_RTC
LPC1768: Enable RTC
2018-09-24 10:44:29 -05:00
alrodlim 7d9263d2ef Move I2C pins definition so that A4 and A5 are defined before using them 2018-09-24 09:46:11 -05:00
Mirela Chirica 30da9c1965 Cellular: Fix cellular util unit test 2018-09-24 15:15:59 +03:00
Mirela Chirica 983425e4fc Cellular: Fix cellular network unit test 2018-09-24 15:15:18 +03:00
Martin Kojtal ac6ca73dd8
Merge pull request #8165 from mprse/issue_8155_fix
Fix for issue #8155 (NRF52832: time stops after 35 minutes)
2018-09-24 12:59:22 +02:00