Commit Graph

17787 Commits (1330eeecd01ae40b33be05ee2f354897e98263ea)

Author SHA1 Message Date
Laurent Meunier 402f3f1c3f STM32: check for UART ongoing transfers before entering deepsleep
As suggested by Russ Butler in mbed-os issue #7328, and until there is an
implementation of mbed-os issue #4408, we are implementing a workaround
at HAL level to check if there is any ongoing serial transfer (which happens
if HW FIFO is not yet empty).

In case a transfer is ongoing, we're not entering deep sleep and
return immediately.
2018-08-07 11:30:53 +02:00
MateuszM b5d23c3f26 Fix issue #5119, changed pwmout_api.
The period of pwm we could get was limited to 69.9 ms, because prescaler value was set once only during initialization. base->mod is a 16 bit register, to get longer period we have to slow down the clk.
2018-08-07 09:36:32 +02:00
Christopher Haster 783bc8435f Adopted travis changes from littlefs v1.6 2018-08-06 14:30:29 -05:00
Christopher Haster 51123b218d Took advantage of include gaurds in littlefs 2018-08-06 14:13:51 -05:00
Christopher Haster ee83046a8e Removed redundant license in C++ littlefs directory
By default, all mbed-os software is under Apache 2.0 license. This is
the license followed by the littlefs C++ wrapper. Note this is not true
for the C implementation.
2018-08-06 14:12:22 -05:00
Christopher Haster 1505aea923 Merge commit 'fd729208' into HEAD 2018-08-06 13:57:46 -05:00
Christopher Haster fd72920853 Squashed 'features/filesystem/littlefs/littlefs/' changes from b2124a5ae..510cd13df
510cd13df Bumped minor version to v1.6
f5e053995 Fixed issue with release script non-standard version tags
066448055 Moved SPDX and license info into README
d66723ccf Merge pull request #81 from ARMmbed/simple-versioning
0234c7710 Simplified release process based on feedback
84adead98 Merge pull request #80 from FreddieChopin/fix-memory-leaks
0422c55b8 Fix memory leaks in lfs_mount and lfs_format
11ad3a241 Merge pull request #76 from ARMmbed/fix-corrupt-read
16318d003 Merge pull request #58 from dpgeorge/file-open-no-malloc
961fab70c Added file config structure and lfs_file_opencfg
041e90a1c Added handling for corrupt as initial state of blocks
f94d233de Merge pull request #74 from FreddieChopin/cxx-guards
577d777c2 Add C++ guards to public headers
c72d25203 Merge pull request #73 from FreddieChopin/fix-format-specifiers
7e67f9324 Use PRIu32 and PRIx32 format specifiers to fix warnings
5a17fa42e Fixed script issue with bash expansion inside makefile parameter
eed1eec5f Fixed information leaks through reused caches
4a8637032 Added quality of life improvements for main.c/test.c issues
ba4f17173 Merge pull request #57 from dpgeorge/fix-warnings
51346b8bf Fixed shadowed variable warnings
93a2e0bbe Merge pull request #62 from ARMmbed/license-bsd-3
6beff502e Changed license to BSD-3-Clause
c5e2b335d Added error when opening multiple files with a statically allocated buffer
015b86bc5 Fixed issue with trailing dots in file paths
9637b9606 Fixed lookahead overflow and removed unbounded lookahead pointers
89a7630d8 Fixed issue with lookahead trusting old lookahead blocks
43eac3083 Renamed test_parallel tests to test_interespersed
dbc3cb179 Fixed Travis rate-limit issue with Github requests
93ece2e87 Removed outdated note about moves and powerloss
d9c076d90 Removed the uninitialized read for invalid superblocks
58f3bb1f0 Merge pull request #37 from jrast/patch-1
f72f6d6a0 Removed out of date note about endianness
5c4ee2109 Added a note about the callback functions
155224600 Fixed Travis issue with deploy stage in PRs
9ee112a7c Fixed issue updating dir struct when extended dir chain
d9c36371e Fixed handling of root as target for create operations
1476181bd Added LFS_CONFIG for user provided configuration of the utils

git-subtree-dir: features/filesystem/littlefs/littlefs
git-subtree-split: 510cd13df99843174899aa3ddabcbc889c7872e8
2018-08-06 13:52:24 -05:00
Mahesh Mahadevan 9cf2b76db9 MXRT1050_EVK: Enable Sleep function and add SKIP_SYSCLK_INIT macro
SKIP_SYSCLK_INIT prevents reinitializing the SYS_CLK PLL used by SDRAM.
This PLL is setup during bootup by the ROM code.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 11:55:33 -05:00
Mahesh Mahadevan 74c96b6359 MXRT1050_EVK: Sleep: add pre/post processing steps
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 11:55:32 -05:00
Mahesh Mahadevan e18e0f12f4 MXRT1050_EVK: Ensure certain low power function are linked to internal memory
Low power functions related to powering off FLEXSPI and SDRAM needs
to be copied to internal memory

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 11:55:13 -05:00
Mahesh Mahadevan a1d8298057 MIMXRT1050_EVK: Add Low Power Manager files
This is needed to support different Low-Power modes available
in MXRT1050

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 10:36:16 -05:00
Cruz Monrreal 1e676f6eda
Merge pull request #7605 from 0xc0170/fix_astyle_tests
tests: astyle fix
2018-08-06 10:07:59 -05:00
Cruz Monrreal 6561a7facc
Merge pull request #7689 from 0xc0170/fix_pr_template
PR template: fix target update list
2018-08-06 10:07:19 -05:00
Jiwon Yune 04fc7aa36f Generic pin names added 2018-08-06 14:50:19 +01:00
David Saada 535b196ab2 FlashIAP: Add a ROM end macro 2018-08-06 15:54:10 +03:00
paul-szczepanek-arm 021c452823 replaced lesc field usage with ediv&rand check 2018-08-06 10:34:42 +01:00
Martin Kojtal 88a7416941 nsapi: astyle block fix 2018-08-06 09:59:08 +01:00
Edmund Hsu 10af90ac0a Resolve adi_tmr_ConfigTimer api conflict in us_ticker.c for both EV_COG_AD4050LZ and EV_COG_AD3029LZ 2018-08-06 16:41:55 +10:00
Edmund Hsu da6c6bdc49 Resolve adi_tmr_ConfigTimer discrepancy between __ADuCM4050__ and __ADuCM3029__ 2018-08-06 16:36:36 +10:00
Edmund Hsu 6a7bfeba6d Disable unused Configuration data from compiler warning
Add __ADuCM3029__ constants
2018-08-06 16:32:18 +10:00
Edmund Hsu 20de3366ae Add C++ linkage for adi_tmr.h 2018-08-06 16:25:32 +10:00
Edmund Hsu 9579440ce7 Add __ADUCM4050__ and __ADUCM3029__ to include MCU specific configurations 2018-08-06 16:23:25 +10:00
Qinghao Shi f2aae22f92 Refactoring memory regions definitions for MPS2_M0 targets
* align MPS2_M0 FVP target with other MPS2 targets
* moved memory_zones.h
* chnage the flash_api.c where referencing the old memory_zones
* modify mbed_rtx.h to use the memory_zones definations as INITIAL_SP
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:48:53 +01:00
Qinghao Shi 6f92504467 Refactoring memory regions definitions for MPS2_M0P targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:43:45 +01:00
Qinghao Shi 8fc384296e Refactoring memory regions definitions for MPS2_M7 targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:42:33 +01:00
Qinghao Shi 7159329efc Refactoring memory regions definitions for MPS2_M4 targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:42:15 +01:00
Qinghao Shi a9f44812ca Refactoring memory regions definitions for MPS2_M3 targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:41:35 +01:00
deepikabhavnani e36cd00e93 Move BlockDevice classes inside mbed namespace. 2018-08-03 10:22:51 -05:00
Cruz Monrreal 546dafbadc
Merge pull request #7687 from paul-szczepanek-arm/fix-default-privacy
BLE: set correct default privacy configuration for centrals
2018-08-03 10:09:35 -05:00
paul-szczepanek-arm fbb926d77e call the correct ltk function when SC is used 2018-08-03 15:28:41 +01:00
Bence Kaposzta f335fc10a6 Fix for CM3DS GPIO api 2018-08-03 15:10:49 +02:00
Martin Kojtal b46aa6108d netsocket: astyle fix 2018-08-03 13:34:33 +01:00
Martin Kojtal 8b379703d4 events: astyle fix 2018-08-03 13:23:38 +01:00
Martin Kojtal 6f6a516b66 iar: kl43 - use nxp MCU definition 2018-08-03 12:19:20 +01:00
Martin Kojtal eb5b117d98 frdm-k22f: fix IAR definition
Based on the https://www.keil.com/boards2/nxp/frdm_k22f/ - it contains xxx12 MCU.
However IAR 7.80 has only xxx5 version, thus leaving NXP added version as xxx5.
2018-08-03 12:17:50 +01:00
Martin Kojtal 5f3923250c crc test: manual fix cases
Leave as it is for readability
2018-08-03 11:24:31 +01:00
Martin Kojtal e52bb68f93 tests: astyle fix
All tests should comply to our coding standard now
2018-08-03 10:23:38 +01:00
Juha Ylinen 942b77255b Nanostack: fix error code
Return NSAPI_ERROR_NO_MEMORY if socket->open() fails
2018-08-03 12:13:21 +03:00
Martin Kojtal 61f12b48ad PR template: fix target update list
Not only new target, any target update goes to own section. This covers
target updates to SDK, HAL implementation, target list, etc.
All these go to patch releases.
2018-08-03 09:57:00 +01:00
paul-szczepanek-arm 34d985a4ac set correct default privacy configuration for centrals 2018-08-03 09:54:46 +01:00
Kari Haapalehto 96457ab1e0 mbed-os-example_blinky didn't work with wise-1530, so MTB_ADV_WISE_1530
led configuration have been updated.
Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now
defined but not connected.
2018-08-03 10:29:13 +03:00
Cruz Monrreal 8f7024a226
Merge pull request #7383 from davidsaada/david_flashiap_timing_test
FlashIAP: Add timing test
2018-08-02 23:08:54 -05:00
Cruz Monrreal ae40a09036
Merge pull request #7508 from mprse/ticker_free
Ticker free() - requirements, pseudo code, tests, implementation
2018-08-02 23:05:14 -05:00
Cruz Monrreal 88316e87e7
Merge pull request #7660 from deepikabhavnani/namespace_fs_update
Remove inclusion of mbed.h and mbed namespace from filesystem code
2018-08-02 23:04:45 -05:00
David Saada 7cf5b3a008 FlashIAP: Add timing test 2018-08-02 18:39:07 +03:00
Cruz Monrreal 1023280bd9
Merge pull request #7676 from OpenNuvoton/nuvoton_organize_file_struct
Nuvoton: Organize file structure
2018-08-02 10:13:36 -05:00
Cruz Monrreal e016d8d84d
Merge pull request #7675 from TomoYamanaka/improve_flashiap
Renesas : Improve Flash iap
2018-08-02 10:12:21 -05:00
Cruz Monrreal 4000e009c1
Merge pull request #7564 from wajahat-ublox/ublox_idle_mode
Cellular: Make ATHandler::cmd_start() virtual
2018-08-02 10:11:55 -05:00
Cruz Monrreal 952930c23f
Merge pull request #7495 from hasnainvirk/scheduling_failure_report
LoRaWAN: Reporting scheduling failures
2018-08-02 10:10:47 -05:00
Cruz Monrreal 2261ad29b4
Merge pull request #7374 from jarvte/fix_cellular_greentea
Cellular: fix greentea tests C027 and BG96
2018-08-02 10:09:51 -05:00