Brian Daniels
ccad027fa7
Adding comments describing buffer prep functions
2017-06-10 15:14:28 +01:00
Brian Daniels
388968f76b
Simplifying assert statements
2017-06-10 15:14:28 +01:00
Brian Daniels
6e76fce4fc
Specifying default length of UUID for Greentea
...
This creates a macro for the UUID length used by Greentea. This cuts
down on the use of "magic numbers" in test cases that use
the GREENTEA_SETUP_UUID function.
2017-06-10 15:14:28 +01:00
Christopher Haster
d451d1795e
Moved network test buffers into heap
...
This is a workaround for IAR's lack of flexibility with memory regions.
Otherwise these tests would use very little heap and be mostly global
allocations.
2017-06-10 15:14:28 +01:00
Christopher Haster
467eb342f0
lwip: Migrated to utest framework
...
per @bridadan
2017-06-10 15:14:28 +01:00
Christopher Haster
0887683a13
lwip: Fixed count of udp iterations to reflect attempts
2017-06-10 15:14:28 +01:00
Christopher Haster
036f1cdfd4
lwip: Added udp buffer flushing after dropped packets
...
Avoids getting stuck in loop where the device always picks
up the previous test's packets
2017-06-10 15:14:28 +01:00
Christopher Haster
f11f2b35e0
lwip: Increased DHCP timeout to 60 seconds
...
This matches the timeout used in linux:
https://linux.die.net/man/5/dhclient.conf
This resolves several issues noticed during testing when we
have a very large number of devices that try to get an IP address
around the same time.
2017-06-10 15:14:28 +01:00
Brian Daniels
70dd7cc273
Fixing some issues in the tcp/udp tests
2017-06-10 15:14:28 +01:00
Brian Daniels
f313bc2988
Arranging logic in test to prevent left-over behavior
2017-06-10 15:14:28 +01:00
Brian Daniels
dc87aaad1c
Making udp_echo_parallel test more robust against network issues.
...
Making the test more forgiven for minor networking issues. Also adding
more debug prints to make it easier to see which packets are coming from
where.
2017-06-10 15:14:28 +01:00
Brian Daniels
acaf435d64
Making UDP test less strict on dropped/mismatched packets.
...
Before, the UDP test was very strict on the number of packets it would
try to match before failing. Now it will keep trying for the whole test
to get enough passing packets. It also includes the test's UUID so you
can validate which packets are being received.
2017-06-10 15:14:28 +01:00
Brian Daniels
551ff03dc0
Adding ability to preserve Greentea UUID in test.
...
The Greentea UUID can be used as a source of entropy/randomness during
the test. This is useful for uniquely identifying a test run.
2017-06-10 15:14:28 +01:00
Brian Daniels
98a5262361
Adding failure logs to TCP echo test.
...
This adds some extra logs to the test for debugging purposes. Also
allows the test to fail immediately if it fails to obtain an IP address.
2017-06-10 15:14:28 +01:00
Brian Daniels
26eafd9958
Allowing dtls test to retry correctly.
...
The dtls test already has the ability to retry upon a UDP failure.
However the sockets are currently configured to be blocking and to wait
forever. I added a timeout of 1.5 seconds in order the test to correctly
timeout.
2017-06-10 15:14:28 +01:00
Martin Kojtal
13334105e4
Merge pull request #4448 from sg-/add-cell-example
...
Add mbed-os-example-cellular to release data
2017-06-10 08:29:18 +01:00
Martin Kojtal
6d5f4db6cb
Merge pull request #4519 from c1728p9/fix_mktime_test
...
Fix mktime test
2017-06-10 08:28:11 +01:00
Russ Butler
adcd2928fe
Fix mktime test DST error
...
Initialize all values of timeinfo in make_time_info. This prevents
the field 'tm_isdst' from getting inadvertently set to 1 causing
time to be off by 1 hour.
2017-06-09 16:29:24 -05:00
Russ Butler
d6af53c3ab
Limit mktime test range for IAR
...
Do not test mktime or localtime past the year 1935 for IAR since this
is out of their supported range.
2017-06-09 16:26:17 -05:00
Jimmy Brisson
113ee13505
Merge pull request #4472 from c1728p9/workshop_rebase_4037
...
Silicon Labs: Add flash API support
2017-06-09 16:18:41 -05:00
Jimmy Brisson
5c49dba05b
Merge pull request #4513 from mikaleppanen/mult_filter_disable
...
Disabled lwip ethernet ipv6 multicast filter for STM boards
2017-06-09 16:17:34 -05:00
Jimmy Brisson
761151359e
Merge pull request #4506 from c1728p9/disable_2_error_trapping
...
Disable error trapping for mbed 2 builds
2017-06-09 14:22:30 -05:00
Jimmy Brisson
f55a8c3088
Merge pull request #4503 from 0xc0170/fix_issue_sdk_vectors
...
mbed sdk boot: copy vectors addition
2017-06-09 14:22:12 -05:00
Mahadevan Mahesh
b3b0d21c8b
Flash API support using the MCUXpresso drivers
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-09 11:20:23 -05:00
Jimmy Brisson
0481a5b244
Improve error output of bad lib CI test
2017-06-09 10:30:35 -05:00
Jimmy Brisson
3161cf31d1
Simplify doxygen and libfile checks
2017-06-09 10:27:35 -05:00
Jimmy Brisson
1d42134eba
Document odd bits of the travis config
2017-06-09 10:01:57 -05:00
Jimmy Brisson
8cd7d42fd0
Add check for correct library naming to CI
2017-06-09 09:49:13 -05:00
Sam Grove
0013b4afa5
Add mbed-os-eample-cellular to release data
2017-06-09 15:18:04 +01:00
Martin Kojtal
e850355a16
Merge pull request #4509 from kegilbert/17q2-spi_sdcard-rebase2
...
NRF52840: enabled SdBlockDevice capability
2017-06-09 15:07:03 +01:00
Martin Kojtal
a59a319483
Merge pull request #4466 from geky/cleanup
...
Clean up dead classes in retarget layer
2017-06-09 15:06:18 +01:00
Martin Kojtal
ecc737e14f
Merge pull request #4484 from c1728p9/workshop_rebase_4058
...
STM32L4 Flash support
2017-06-09 15:05:46 +01:00
Martin Kojtal
89b66983b8
Merge pull request #4477 from c1728p9/workshop_rebase_4054
...
Silicon Labs: Fix bug with SPI MISO and CS handling
2017-06-09 15:05:33 +01:00
Martin Kojtal
8998a55bc7
Merge pull request #4475 from c1728p9/workshop_rebase_4043
...
Silicon Labs: Add bootloader support
2017-06-09 15:04:55 +01:00
Martin Kojtal
d3cf5fb999
Merge pull request #4445 from theotherjimmy/fix-exporters
...
Fixes for exporter issues
2017-06-09 15:04:01 +01:00
Martin Kojtal
9d9ef18552
Merge pull request #4511 from c1728p9/fix_m0_devices
...
Fix Cortex-M0 devices
2017-06-09 15:03:30 +01:00
mattot01
9bf298ecc8
Enable IAR and GCC_ARM compiler for CM3DS MPS2
...
1. Add startup code and linker script for IAR and
GCC_ARM compilers.
2. Enable IAR and GCC_ARM compilers in targets.json.
Change-Id: I742a89ae73a4e5ede980a8af0821c3f0e5a461ef
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
2017-06-09 14:58:31 +01:00
Tamas Ban
439363d12a
Implement RTC(Real Time Clock) API on CM3DS target
...
- Modify CMSDK_CM3DS.h: add register interface
- Modify targets.json: add RTC as available device to CM3DS
- Create rtc_api.c: implement mandatory API functions
Change-Id: I14bc1074a9ac0d5e4cbada46d3c90ca82c1e28b0
Signed-off-by: Tamas Ban <Tamas.Ban@arm.com>
2017-06-09 14:58:31 +01:00
gabker01
fb6a2c075c
Implement low-level Ethernet interface for lwIP
...
Based on lwip_ethernetif.c skeleton file,
use init, receive and transfer
functionality of SMSC9220 Ethernet driver
for the lightweight IP stack.
Receive mechanism is interrupt driven.
HW buffer sizes:
Tx = 4608 bytes (MTU)
Rx = 10560 bytes
lwIP fine tuning:
mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/opt.h
Change-Id: I0ea95650c65fb32cafb5c2d3dde11420c61dba66
Signed-off-by: Gabor Kertesz <gabor.kertesz@arm.com>
2017-06-09 14:58:31 +01:00
gabker01
e4501f320b
Ethernet driver for MPS2
...
Refactor SMSC9220 Ethernet controller driver
Change-Id: I75c3c42d5675441de1292100a54c50d990070c6f
Signed-off-by: Gabor Kertesz <gabor.kertesz@arm.com>
2017-06-09 14:58:31 +01:00
Tamas Kaman
fdec3f51eb
Create CM3DS_MPS2 target
...
- Creates new target in targets.json
- Creates device specific files under ARM_SSG/CM3DS_MPS2 directory
- Driver layer files under CM3DS_MPS2 are based on Beid target
- Device specific files under CM3DS_MPS2/device are based on CMSIS_5 and Beetle
Change-Id: I29ea7a7f42b11cf25b516cce4b9255ab828ca019
Signed-off-by: Tamas Kaman <Tamas.Kaman@arm.com>
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-06-09 14:58:31 +01:00
Laurent MEUNIER
f77ecf4e12
STM32: Put some serial code in common between families
2017-06-09 13:30:54 +02:00
Aksel Skauge Mellbye
0d1bd37746
[Silicon Labs] Add flash API support
2017-06-09 11:51:28 +01:00
Christopher Haster
40957c14b3
Added reporting of reserved heap
...
Note: Reporting of reserved stack is already performed by the thread
layer
2017-06-09 10:57:08 +01:00
Mika Leppänen
ee30df993a
Disabled lwip ethernet ipv6 multicast filter for STM boards
2017-06-09 11:57:24 +03:00
Jimmy Brisson
603ef3d75e
Correct FPU setting for Cortex-M7FD
...
They had floating point turned off before
2017-06-09 00:03:23 -05:00
Jimmy Brisson
64baee8ac7
Correct profile handling in GNUARMEclipse exporter
2017-06-09 00:03:23 -05:00
Jimmy Brisson
fc6c2b85ff
Upcase assembly file suffix for preprocesssing
2017-06-09 00:03:23 -05:00
Jimmy Brisson
578064e3fc
Remove unsupported part from IAR
2017-06-09 00:03:22 -05:00
Jimmy Brisson
a5cc8ef446
Remove incompatible post binary hook
2017-06-09 00:03:22 -05:00