Commit Graph

14269 Commits (56e8c895b647b9d3c8c25a0840e2299a723f832f)

Author SHA1 Message Date
Cruz Monrreal 56e8c895b6
Merge pull request #6191 from theotherjimmy/simplify-json-to-dict
Simplify json-to-dict utility
2018-02-27 00:35:05 -06:00
Cruz Monrreal 815c6fb7cf
Merge pull request #6193 from ashok-rao/ODIN_PinsFix
ODIN MTB LEDs Fix
2018-02-26 22:49:03 -06:00
Cruz Monrreal 3d37d819e9
Merge pull request #5046 from fkjagodzinski/timerevent_tests
TimerEvent tests
2018-02-26 15:02:52 -06:00
Cruz Monrreal 80263eaa41
Merge pull request #5957 from u-blox/R410M_Changes
C030 R410M Target Added
2018-02-26 15:02:12 -06:00
Cruz Monrreal b7c2b1f510
Merge pull request #6120 from ARMmbed/g-fat-errors
fatfs: Update error code mapping
2018-02-26 14:46:33 -06:00
Cruz Monrreal a93342f70b
Merge pull request #6151 from pan-/fix-generic-gap-connect
BLE: Fix generic gap connect
2018-02-26 14:39:25 -06:00
Cruz Monrreal daf29dc9f2
Merge pull request #6153 from theotherjimmy/correct-export-clean
Correct exporter clean behavior
2018-02-26 14:38:45 -06:00
Cruz Monrreal 7f812807a9
Merge pull request #6177 from geky/fix-littlefs-mkdir-root
littlefs: Fix handling of root as target for create operations
2018-02-26 14:37:54 -06:00
Cruz Monrreal b7726f2bfd
Merge pull request #6182 from maciejbocianski/fileHandle_compilers_fix
platform: FileHandle test - remove optimization for stdlib diversity
2018-02-26 14:36:58 -06:00
Cruz Monrreal d49862bcfa
Merge pull request #6197 from geky/revert-pretty-bars
Revert "Added pretty bar printing for compile output"
2018-02-26 14:35:49 -06:00
Cruz Monrreal c9cefccbdc
Merge pull request #6116 from marcuschangarm/fix_trng_nrf52
Add TRNG for NRF52832
2018-02-26 12:09:43 -06:00
Cruz Monrreal II b40ff8af15 Moved return statements to their own line 2018-02-23 11:23:13 -06:00
Ashok Rao a5899db9e5 ODIN MTB LEDs Fix 2018-02-23 17:10:09 +00:00
Jimmy Brisson 7b49edc7eb Simplify json-to-dict utility 2018-02-23 09:38:16 -06:00
Vincent Coubard e91570e4ba
BLE: Fix default connection params type. 2018-02-23 13:30:16 +00:00
Martin Kojtal 107976773c
Merge pull request #6140 from davidsaada/david_flashiap_xsectors
FlashIAP driver modifications
2018-02-23 13:26:20 +01:00
Maciej Bocianski 0b6f14fbd1 platform: FileHandle test - remove optimization for stdlib diversity 2018-02-23 10:07:52 +01:00
Maciej Bocianski cd539e3e38 us_ticker_irq_handler call optimization 2018-02-23 09:21:37 +01:00
Martin Kojtal 2661f6fe40 us ticker: fix fire interrupt handling
Few targets need more than just pending IRQ set. They include some flags to be
set that are checked in IRQ handler. This is the case for targets in this
commit.
2018-02-23 09:13:40 +01:00
Filip Jagodzinski 44c4583f2a Tests: Drivers: TimerEvent: Add tests 2018-02-23 09:13:37 +01:00
Filip Jagodzinski 7f73785b9a Drivers: TimerEvent: Update API docs 2018-02-23 09:13:35 +01:00
Christopher Haster 011e018f52 Revert "Added pretty bar printing for compile output"
This reverts commit 471d99c68f.
2018-02-22 22:07:22 -06:00
Cruz Monrreal 1d1eef47ff
Merge pull request #6160 from TeemuKultala/status_callback_fix
fix issue 6150
2018-02-22 21:56:42 -06:00
Cruz Monrreal 55f710f431
Merge pull request #6162 from maciejbocianski/sleep_manager_racecondition_test_fix
sleep_manager_racecondition test fix for devices with low CPU clock
2018-02-22 21:55:10 -06:00
Cruz Monrreal ee64c9cf0b
Merge pull request #6021 from andrewleech/gpiote_uninit
nrf5x: fix array overflow in gpio configuration code
2018-02-22 21:21:35 -06:00
Cruz Monrreal bf2f24fab7
Merge pull request #6147 from codeauroraforum/Increase_Speed_LPC54628
LPC546XX: Add support for 220MHz core speed available on LPC54628
2018-02-22 20:57:35 -06:00
Cruz Monrreal d44f9997cc
Merge pull request #6156 from geky/fix-path-leading-slash
retarget: Fix path behaviour without leading slash
2018-02-22 19:48:11 -06:00
Christopher Haster f67a795ef0 littlefs: Fixed handling of root as target for create operations
Before this patch, when calling lfs_mkdir or lfs_file_open with root
as the target, littlefs wouldn't find the path properly and happily
run into undefined behaviour.

The fix is to populate a directory entry for root in the lfs_dir_find
function. As an added plus, this allowed several special cases around
root to be completely dropped.
2018-02-22 15:56:24 -06:00
David Saada 0aeeece97d FlashIAP driver modifications:
- Support programming across sectors.
- Support program size not aligned to page size.
- Fix validations on sector erase.
2018-02-22 22:48:29 +02:00
Jimmy Brisson ed7793de65 Add clean methods to many more exporters 2018-02-22 14:46:21 -06:00
Cruz Monrreal d9cb00d627
Merge pull request #6145 from theotherjimmy/exclude-file-gnuarmeclipse
Correct single file excludes for some exporters
2018-02-22 14:33:20 -06:00
Cruz Monrreal 6c4654a46d
Merge pull request #6154 from ARMmbed/g-fix-unicode-errors
tools: Let unicode error messages through
2018-02-22 11:41:39 -06:00
Cruz Monrreal 56ec718d8a
Merge pull request #6163 from ARMmbed/revert-5973-IOTSSL-1727-update-to-new-md-api
Revert "Update Mbed TLS HW acceleration partner code to new hashing API"
2018-02-22 11:36:39 -06:00
Mahesh Mahadevan 069c80b7a5 ff_lpc546xx: Add support for 220MHz core speed.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-22 07:30:20 -06:00
Mahesh Mahadevan a9cd4705d8 LPC546XX: Add support for 220MHz core speed available on LPC54628
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-22 07:30:19 -06:00
Martin Kojtal 414b2d971d
Revert "Update Mbed TLS HW acceleration partner code to new hashing API" 2018-02-22 11:20:35 +00:00
Teemu Kultala 34ef11630c fix issue 6150 by always setting net interface UP in mbed_set_dhcp 2018-02-22 13:00:46 +02:00
Maciej Bocianski 5aaad0850c sleep_manager_racecondition: fix for slow devices
sleep_manager_racecondition test fix for devices with low CPU clock

This RP contains fix for sleep_manager_racecondition test
for very slow devices (like NRF51). It fixes the test itself
as well as side effects of fix introduced in
 #5046 (us ticker: fix fire interrupt handling)

The idea of the test was to test race condition between main thread
and interrupt handler calling the same function.
To efficiently test this, each handler call should interrupt
main thread to make race more likely.
On very slow devices (like NRF51) when we set very low ticker period
(e.g less then 1000us for NRF51) there is no much time for thread scheduling.
On such slow devices, setting period to 500 us cause that
main thread is scheduled very rarely and only handler is
constantly called making test unreliable.
Fix introduced in #5046 (us ticker: fix fire interrupt handling)
changed fire_interrupt function implementation causing more
interrupt tailing thus even less time for main thread scheduling.
After introduction of #5046 (us ticker: fix fire interrupt handling)
when running sleep_manager_racecondition test on NRF51
(with ticker1.attach_us(&sleep_manager_locking_irq_test, 500);)
test is failing with timeout due to the fact that interrupt
handler is constantly called and main thread is never scheduled.
2018-02-22 11:36:08 +01:00
Martin Kojtal c32b822bb2
Merge pull request #6078 from 0xc0170/dev_template_pr
Pull request template update
2018-02-22 08:25:16 +01:00
Christopher Haster 72b0a07ffe retarget: Fix path behaviour without leading slash
Current behaviour ends up undefined when the constructor leaves early.
Now FilePath just discards leading slashes and otherwise asserts if the
path is bad.
2018-02-21 14:43:53 -06:00
Christopher Haster 0bc386a7c4 tools: Let unicode error messages through
Some toolchains (GCC) may emit error messages with unicode symbols based on
the your localization settings. Instead of being passed to the user as is,
the unicode causes an exception.
2018-02-21 14:07:28 -06:00
Marcus Chang 9439c191de Add TRNG for NRF52832
Use SoftDevice API to get random numbers when present and active,
otherwise read random numbers directly from TRNG peripheral.
2018-02-21 12:06:12 -08:00
Jimmy Brisson bd5b34f59c Correct exporter clean behavior 2018-02-21 09:28:24 -06:00
Jimmy Brisson 6693b08cfc Use print function in project.py 2018-02-21 09:25:59 -06:00
Vincent Coubard 0158971387 BLE: Move cordio default scan and connection params in global memory. 2018-02-21 15:00:17 +00:00
Martin Kojtal 5c7cd1f689
Merge pull request #6139 from VeijoPesonen/eth_n_wifi-drv_n_tc_fixes
LWIP PBUF_POOL_BUFSIZE increased to fit also IPv6 header
2018-02-21 15:19:55 +01:00
Martin Kojtal 4cf53fe1c1
Merge pull request #6125 from cmonr/travis-param-lacks-quotes
Add quotes around MBED_BOT parameter
2018-02-21 15:18:27 +01:00
Vincent Coubard f3c453b077 BLE: Handle NULL parameters in Gap::connect. 2018-02-21 12:42:54 +00:00
Vincent Coubard 7941a6fcc7 BLE: Force stop scan before connection initiation. 2018-02-21 12:13:24 +00:00
Veijo Pesonen a7ef67a92a fixup! LWIP PBUF_POOL_BUFSIZE increased to fit also IPv6 header 2018-02-21 08:25:46 +02:00