Commit Graph

17858 Commits (f5fb3c19113f662d5dbc3d565e2160f6cf532ad9)

Author SHA1 Message Date
Martin Kojtal 49a91dbd01 PR template: Feature -> functionality change
Feature might be misinterpreted in some cases. This label should be about
functionality in backward compatible way. That means that this is either
deprecating some current one or adding new functionality.

Functionality change should cover:
- adding configuration
- deprecating functionality
- adding new functionality

This change would go automatically to feature release.
2018-08-08 12:50:12 +01:00
Martin Kojtal 7a44185c1c CircularBuffer: volatile specifier removal
Volatile specifier in this case it not required as we currently have all accesses
to the buffer protected by critical section. This shall optimize accesses in
some cases to the buffer.

Fixes #7702
2018-08-08 10:11:59 +01:00
Jimmy Brisson 7db537acf6 Fix Microlib compatibility for -t ARM
Missing from common flags:
 * `-D__MICROLIB`
 * `--library_type=microlib`

This patch adds them
2018-08-07 13:21:03 -05:00
Oren Cohen b9fb265690 Fix owner restoration and discard across nvstore init 2018-08-07 17:56:22 +03:00
Cruz Monrreal 273a052e89
Merge pull request #7691 from 0xc0170/fix_events_style
events: astyle fix
2018-08-07 09:50:53 -05:00
Cruz Monrreal 616e14a041
Merge pull request #7678 from juhaylinen/fix-nanostack-return-code
Nanostack: fix error code
2018-08-07 09:40:43 -05:00
Martin Kojtal 129ef46c7f iar: MK22F use xx12 Freescale for 7.80.x
This fixes the failure for IAR regarding floating point.
2018-08-07 15:30:52 +01:00
Cruz Monrreal b8727ec11a
Merge pull request #7705 from davidsaada/david_rom_end_macro
FlashIAP: Add a ROM end macro
2018-08-07 09:17:34 -05:00
Cruz Monrreal 0eb7e7dd89
Merge pull request #7703 from li-ho/adi_tmr_api
Resolve us_ticker.c api discrepancy between EV_COG_AD4050LZ and EV_COG_AD3029LZ
2018-08-07 09:16:55 -05:00
deepikabhavnani 8f2f6f43c9 Add header file string.h required for memcpy/memset 2018-08-07 09:15:44 -05:00
Cruz Monrreal d84bf7fc43
Merge pull request #7692 from 0xc0170/fix_netsocket_style
netsocket: astyle fix
2018-08-07 09:15:19 -05:00
Cruz Monrreal 54bc12f91c
Merge pull request #7643 from bcostm/fix_uart_remove_force_reset
STM32: remove uart force_reset at init
2018-08-07 09:14:20 -05:00
Cruz Monrreal 40ff622711
Merge pull request #7601 from hasnainvirk/abp_auto_fix
LoRaWAN: Reduced priority for automatic uplinks & higher data rate usage for connection establishment
2018-08-07 09:13:45 -05:00
Teemu Kultala df8252539b sms gt tests: rebase and astyle fix 2018-08-07 16:34:46 +03:00
Kimmo Vaisanen 17d02d949f Lora: Document all possible error codes for LoRaWANBase methods
Also duplicate documentation is removed from LoRaWANInterface which
inherits LoRaWANBase class.
2018-08-07 15:25:44 +03:00
Laurent Meunier e12d98e1c0 Use HAL coding style for function naming 2018-08-07 13:42:46 +02:00
Teemu Kultala 2b82746ae2 sms gt tests: changes after review 2018-08-07 14:10:57 +03:00
Teemu Kultala f9a90d82b0 sms gt tests 2018-08-07 14:10:57 +03:00
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