Commit Graph

13523 Commits (467b36eaaf47967d3b1870b413cd049a979b0b3e)

Author SHA1 Message Date
Jimmy Brisson 08f3402b7c
Merge pull request #5407 from deepikabhavnani/importer_script
Python script to add cmsis/rtx changes in mbed-os
2017-11-20 10:51:43 -06:00
Jimmy Brisson 41dcd255c3
Merge pull request #5196 from kegilbert/multicast-ipv6-2
Add IPv4 and IPv6 multicast implementation for UDPSocket
2017-11-20 10:51:07 -06:00
Jimmy Brisson 593eab2603
Merge pull request #5123 from maciejbocianski/signal_tests
Extends test set for Thread signals
2017-11-20 10:49:58 -06:00
Michael Kaplan 29ae97cd8b NUCLEO_L432KC: added SERIAL_ASYNC to targets.json 2017-11-20 15:49:35 +01:00
Michael Kaplan 8a1c29c2e5 TARGET_STM32L4: added missing #ifdef in serial_device.c 2017-11-20 15:49:18 +01:00
Maciej Bocianski bc103359f7 heap_and_stack test refactoring 2017-11-20 11:24:49 +01:00
Christopher Haster 8d336f253a Updated documentation to match other info around littlefs
Mostly brought from documentation changes in the core repo
2017-11-20 00:49:25 -06:00
Christopher Haster 0a197465d3 Squashed 'littlefs/' changes from 78c79ec..996cd8a
996cd8a Revisited documentation

git-subtree-dir: littlefs
git-subtree-split: 996cd8af22a5fe917812838f82eb73221dde4b7d
2017-11-20 00:16:47 -06:00
Christopher Haster 9b79136ea7 Merge commit '0a197465d33900a5ac2ef41486410d44f3d15ad3' 2017-11-20 00:16:47 -06:00
gorazd 5c2f2c3cff lpc546xx: remove obsolete line 2017-11-18 10:44:33 +01:00
Russ Butler beb0b20e32 Use retarget defines where possible
Remove the condition code around the defines in mbed_retarget.h so
all toolchains use the defined values. Exclude a small subset of
values for GCC since these are in its standard header files.
2017-11-17 19:40:47 -06:00
Christopher Haster 3c9f2be163 Added test configuration support for block devices
Defaulted to HeapBlockDevice. Unfortunately this does mean that
by default almost none of the tests are actually capable of running
unless the dut has >512KB or RAM.
2017-11-17 18:48:18 -06:00
Christopher Haster 5afec68073 Renamed "parallel" tests to "intersperesed"
The parallel name was incorrect. These tests do not involve mutliple
threads, but rather write to multiple files an in interspersed manner
sequentially.
2017-11-17 16:04:52 -06:00
Christopher Haster 3bdb80ff0b
Merge pull request #9 from c1728p9/resilience_and_wear_leveling
Add filesystem recovery tests
2017-11-17 14:38:40 -06:00
Deepika 83409c5af3 Fixed: errno update failure with IAR8.2
errno (part of thread local storage) setting caused hardfault with IAR8.x
versions. TLS is not supported, hence using main thread TLS area for
all threads.
2017-11-17 13:12:39 -06:00
gorazd 8411134184 lpc546xx: correct register name (DIGIMODE) 2017-11-17 19:16:42 +01:00
Vincent Coubard c4351d31d8 BLE: Update GattAttribute documentation. 2017-11-17 14:39:39 +00:00
gorazd d62b47393e lpc546xx: fix adc
Resolve #5304
2017-11-17 13:54:25 +01:00
bcostm c54e9079b8 STM32 ADC: replace flags type from int to bool 2017-11-17 13:50:59 +01:00
bcostm 1d3eb508bf STM32: fix linker error with adc_read() 2017-11-17 13:50:59 +01:00
bcostm 2bbedabf7d STM32: add analogin_api.c file in STM folder 2017-11-17 13:50:59 +01:00
bcostm 34fdcc926b STM32: move analogin_read functions in a common file 2017-11-17 13:50:59 +01:00
bcostm 4dbe95dded STM32: rename analogin_api.c in analogin_device.c 2017-11-17 13:50:59 +01:00
bcostm 072ec2e765 STM32L4 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm 52d942e2d2 STM32L1 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm 4b82479175 STM32L0 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm 75f80abddc STM32F7 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm d5ff05a03b STM32F4 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm 7005bc21d7 STM32F3 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm f12391ad25 STM32F2 ADC: remove adc_inited flag 2017-11-17 13:50:59 +01:00
bcostm 36110e10cf STM32F1 ADC: remove adc_inited flag 2017-11-17 13:50:58 +01:00
bcostm 2e2744ccbe STM32F0 ADC: remove adc_inited flag 2017-11-17 13:50:58 +01:00
bcostm 57722eb2b5 STM32 USBDevice: Update targets.json for DISCO_F429ZI 2017-11-17 13:11:57 +01:00
bcostm dc9eab795e STM32 USBDevice: Add DISCO_F429ZI 2017-11-17 13:10:52 +01:00
Martin Kojtal b025ea16d6
Merge pull request #5137 from dave-wu/master
Add support for ADI EV-COG-AD3029LZ platform.
2017-11-17 10:21:56 +00:00
Marko Fabo 313458b120 STM32F407VG: Fix RTC 2017-11-17 08:52:00 +01:00
Russ Butler 2d374cee5c Add unexpected reset test
Add a test which repeatedly resets a device and then checks that the
filesystem is still valid using real hardware.
2017-11-16 20:20:23 -06:00
Russ Butler bb155adc16 Add filesystem recovery tests
Add tests for filesystem resilience and wear leveling. These tests
take shared filesystem code and simulate different scenarios while
this code is running. Information on the new tests can be found below.

mbed-littlefs-tests-filesystem_recovery-resilience:
Tests that after every block device operation the filesystem is in a
well defined state.

mbed-littlefs-tests-filesystem_recovery-wear_leveling:
Tests that the littlefs correctly handles when flash is exhausted by
using a simulated block device until there are no free good blocks.

Note - This patch also adds several new block devices for testing.
These will eventually be moved into mbed-os.
2017-11-16 20:20:15 -06:00
Christopher Haster 7eaf61c047 Fixed memory leak when files/dirs error
Error path did not clean up after itself correctly
2017-11-16 18:55:23 -06:00
Christopher Haster 9f8d0d6ae8 Merge commit '0f4e334388e0e05554a78d14d0a5ef73f02209b2' 2017-11-16 18:23:51 -06:00
Christopher Haster 0f4e334388 Squashed 'littlefs/' changes from 3f31c8c..78c79ec
78c79ec Added QUIET flag to tests so CI is readable
f9f4f5c Fixed standard name mismatch LFS_ERR_EXISTS -> LFS_ERR_EXIST
843e3c6 Added sticky-bit for preventing file syncs after write errors
2612e1b Modified lfs_ctz_extend to be a little bit safer
6664723 Fixed issue with committing directories to bad-blocks that are stuck

git-subtree-dir: littlefs
git-subtree-split: 78c79ecb9e6b8dd0e7cfd7ac86934e43fb026924
2017-11-16 18:16:32 -06:00
Jimmy Brisson 6720bfdbdc
Merge pull request #5335 from yennster/test-configs-update
Fix for configurable network driver tests
2017-11-16 14:13:01 -06:00
Martin Kojtal 3bedff36e3
Merge pull request #4825 from SiliconLabs/feature/mbedtls-hw-accel
Silicon Labs: Add cryptographic acceleration support
2017-11-16 16:24:52 +00:00
Martin Kojtal 56aa7c396f
Merge pull request #5261 from maciejbocianski/ticker_tests2
Extends test set for Ticker class
2017-11-16 16:23:35 +00:00
Martin Kojtal 2a7fcdfe48
Merge pull request #5296 from pan-/generic-access-service-abstraction-layer
BLE: Generic access service abstraction layer
2017-11-16 16:22:29 +00:00
Martin Kojtal 81dbd035ab
Merge pull request #5392 from pan-/improve-ble-docs
Improve ble docs
2017-11-16 16:21:50 +00:00
Martin Kojtal eb5d3fffff
Merge pull request #5403 from mprse/timer_test_delta_fix
Provide fixes for Timer and LowPowerTimer tests.
2017-11-16 16:19:24 +00:00
Martin Kojtal d8d8c28e11
Merge pull request #5452 from 0xc0170/fix_i2c_onsemi
ONSEMI: Fix I2C issues
2017-11-16 16:18:28 +00:00
Martin Kojtal b76b3f723d
Merge pull request #5472 from pan-/doc_battery_service
BLE: Update BatteryService documentation.
2017-11-16 16:17:50 +00:00
Martin Kojtal bc92e40d1b
Merge pull request #5475 from pan-/doc_heart_rate_service
BLE: update heart rate service definition.
2017-11-16 16:16:37 +00:00