Commit Graph

13234 Commits (2e1c2a1cdf168dd739e777165b21f6cd0509c188)

Author SHA1 Message Date
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
Martin Kojtal 01bc4340e8
Merge pull request #5482 from bcostm/fix_disco_l072cz_extclock
DISCO_L072CZ_LRWAN1: HSE clock configuration improvement
2017-11-16 16:15:12 +00:00
Martin Kojtal 4198695fab
Merge pull request #5485 from pan-/non-copyable-warning
Platform: Allow copy of non copyable objects
2017-11-16 16:14:42 +00:00
Martin Kojtal 1fa09fa43d
Merge pull request #5487 from nvlsianpu/bugfix_5462_initial_pin_value
Fix bug for issue:  initial pin value not retained
2017-11-16 16:13:13 +00:00
Martin Kojtal 114e019675
Merge pull request #5486 from bcostm/fix_CAN3
STM32: Add support of CAN3
2017-11-16 16:12:27 +00:00
Martin Kojtal d6d9afc7f2
Merge pull request #5499 from adbridge/master
Remove mbed-cloud-client-example-internal.
2017-11-16 16:11:39 +00:00
Martin Kojtal dc6dd5961e
Merge pull request #5505 from LMESTM/fix_smartcard_HAL
STM32: HAL smartcard, fix memory corruption in Receive
2017-11-16 16:11:04 +00:00
Martin Kojtal 2f9cf47f17
Merge pull request #5508 from c1728p9/condition_variable_fix
Fix and add test for ConditionVariable
2017-11-16 16:10:28 +00:00
Martin Kojtal f36922cb0e
Merge pull request #5510 from 0xc0170/fix_nuvoton_truefalse
[M487/NUC472/NANO130] fix TRUE/FALSE redefinition
2017-11-16 16:09:39 +00:00
jeromecoutant 763531921f DISCO_L072CZ_LRWAN1 can use LSE from LORA module (more precise than LSI) 2017-11-16 15:27:04 +01:00
jeromecoutant 5f86ae5757 STM32L072CZ error in ARM sct file name 2017-11-16 15:12:51 +01:00
Arto Kinnunen 0c2a41eb55 Squashed 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/' content from commit 8f75e39
git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack
git-subtree-split: 8f75e39541f1d2c7fe47406cceeb187b6bc5d6cc
2017-11-16 15:45:42 +02:00
Arto Kinnunen 1004858c2e Merge commit '0c2a41eb5599925945111589529ad6da4ea1e5a4' as 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack' 2017-11-16 15:45:42 +02:00
Dave Wu 45aa2130bc Added SystemCoreClock as an extern. 2017-11-16 13:29:43 +00:00
Colin Hogben 452e290821 FATFileSystem: provide working dir_rewind and dir_seek
The index field of FATFS_DIR does not encapsulate all the context
required to reposition the directory traversal.  ChaN provides
f_rewinddir() but no directory seek, so rewind if necessary then step
through until the desired index is reached.
2017-11-16 12:24:04 +00:00
Arto Kinnunen 4d08d5b34e Merge commit 'db48ee553797312ab0b796797942a1c14db16c62' into nanostack-release-candidate
* commit 'db48ee553797312ab0b796797942a1c14db16c62':
  Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 854505d..09056ed
2017-11-16 14:22:17 +02:00
Arto Kinnunen db48ee5537 Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 854505d..09056ed
09056ed Merge pull request #63 from ARMmbed/apache
56472ac Change license to apache
9f70a64 Correct some types
b851db9 ONME-3201: Fix compilation warning of unsigned-signed comparison.

git-subtree-dir: features/FEATURE_COMMON_PAL/nanostack-libservice
git-subtree-split: 09056ed2eed0ec39a2dd235f29868e9983d4a5c1
2017-11-16 14:22:17 +02:00
Arto Kinnunen d25c27475a Merge commit 'a5a8e95bd4ed695254159b6d84904116231ad640' into nanostack-release-candidate
* commit 'a5a8e95bd4ed695254159b6d84904116231ad640':
  Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from b731d95..6d3590f
2017-11-16 14:22:03 +02:00
Arto Kinnunen a5a8e95bd4 Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from b731d95..6d3590f
6d3590f Fix broken URL to config system documentation in README (#78)

git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-trace
git-subtree-split: 6d3590f08853892373cb479cc141002d48561fd8
2017-11-16 14:22:03 +02:00
Arto Kinnunen 0f471518d7 Merge commit '829a5273f99d632340333ae4c404780db3f9202f' into nanostack-release-candidate
* commit '829a5273f99d632340333ae4c404780db3f9202f':
  Squashed 'features/FEATURE_COMMON_PAL/mbed-client-randlib/' changes from 26cdd39..531457e
2017-11-16 14:21:49 +02:00
Arto Kinnunen 829a5273f9 Squashed 'features/FEATURE_COMMON_PAL/mbed-client-randlib/' changes from 26cdd39..531457e
531457e Update randLIB.c

git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-client-randlib
git-subtree-split: 531457e3b0953e43c343d025351da4fb64be8ef1
2017-11-16 14:21:49 +02:00
Arto Kinnunen 1bc6ddc3e8 Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from d65b6b0..b1c9efb
b1c9efb Fix coap_connection_handler_send_data() return values (#81)
f9cb04f Delete transaction when not needed (#80)
daf3694 Message transaction memory handling changes (#79)
adc04c4 Add API to send response to request based on Message ID (#78)
58f0ed5 Limit number of ongoing handshakes  (#77)
42c1169 Fix redefinition of mbed TLS error codes (#76)
ba7a7c4 Added server mode certificate conf (#74)
d108199 Certificate set API changed. (#73)
2d622e0 Support for certificate mode (#72)

git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-split: b1c9efb6a674f47f3a34e396bc0f57e8b1c27e19
2017-11-16 14:21:33 +02:00
Arto Kinnunen 1432affba1 Merge commit '1bc6ddc3e8fbdcc8f301b0c78de43582b376a434' into nanostack-release-candidate
* commit '1bc6ddc3e8fbdcc8f301b0c78de43582b376a434':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from d65b6b0..b1c9efb
2017-11-16 14:21:33 +02:00
Arto Kinnunen 02a3f3c90f Remove nanostack binary libraries
-Remove nanostack binary libraries
-Remove content from sal-stack-nanostack
-Update contribution rules.
-Remove binary LICENSE
2017-11-16 14:20:28 +02:00
cyliangtw 288094568c [M487/NUC472/NANO130] fix TRUE/FALSE redefinition 2017-11-16 11:21:20 +00:00
Russ Butler 93cf15d57c Fix and add test for ConditionVariable
Fix the circular linked list handling in ConditionVariable and add a
test to validate the linked list implementation.
2017-11-15 16:15:27 -06:00
Deepika d4f7291b9a Corrected the input to remove command 2017-11-15 11:31:30 -06:00
Deepika 51430cdeb3 Updated code as per Python style guide
https://www.python.org/dev/peps/pep-0008/
2017-11-15 11:30:50 -06:00
Dave Wu 401674284a Cleaned up some formatting issues. 2017-11-15 22:59:26 +11:00
Martin Kojtal 41eb565d9c
Merge pull request #5342 from ARMmbed/feature_cortex_a
Update CMSIS/RTX with Cortex-A support
2017-11-15 11:24:36 +00:00
Maciej Bocianski a7f31c9cc1 malloc test refactoring 2017-11-15 11:04:40 +01:00
Laurent MEUNIER be42c6de55 STM32: HAL smartcard, fix memory corruption in Receive
Re-casting with tmp the uint8_t* pData pointer to uint16_t* brings a
memory corruption and typically can corrupt the size parameter. This
is fixed with this commit.

STM32 Internal ticket reference : 39116
2017-11-15 10:50:21 +01:00
bcostm 2d8d8ae9e1 STM32: fix error with CAN_3 not defined 2017-11-15 10:36:03 +01:00
bcostm 2e2b408580 STM32: fix compilation error with STM32F1 2017-11-15 09:07:52 +01:00
bcostm f0aed41991 DISCO_L072CZ: remove dead code 2017-11-15 08:59:50 +01:00
Dave Wu 82a58ac94d Added support for ADI EV-COG-AD3029LZ platform.
Fixed issues raised from ARM PR review and removed the unsupported platform.

- Fixed an issue where the TRNG is read even though it may not be ready;
- Added configuration to ensure the buffering mode is disabled so only 8-bit bytes are generated;
- Moved the TRNG device handle into the trng_t structure.

Removed undefined spi slave related functions.

- Added error checking for trng_get_bytes function;
- Added curly brackets to single line conditions for some files;
- Changed rx and tx buffers in serial module as local variables;
- Removed some unused code and some minor formatting corrections;
- Minor i2c & spi updates for github pull request;
- Added function definition for spi_master_block_write.

Added default delay and sample times for the ADC during initialization.

- Added code to clear stack variable in trng_get_bytes upon exiting the
function;
- Remove lp ticker functionality as the timer hardware does not satisfy
lp timer requirements.

Added a check for the STUCK bit before reading the RNG data register to ensure there are no hardware faults.

- Removed .mbedignore to work around some exporter issues;
- Added #includes to some of the driver data C files for them to build on their own.
2017-11-15 16:35:31 +11:00