Martin Kojtal
3db3364821
QSPI: fix arguments for write/read when alt is defined
...
Should be: instr, alt, address or inst, addr or just addr
2018-08-22 15:00:06 +02:00
Martin Kojtal
1d234aade4
QSPI HAL: fix alternative comment
2018-08-22 15:00:06 +02:00
Martin Kojtal
1557ce37f1
QSPI: remove spaces on empty lines
2018-08-22 15:00:05 +02:00
Martin Kojtal
0612ab2292
QSPI: remove initialize method
...
Not used anymore, not defined. ctor default initializes the object
2018-08-22 15:00:05 +02:00
Martin Kojtal
6274cd4597
QSPI: fix address size for build qspi command
...
if address is skipped, used size NONE
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
894f8bdf9f
Review fixes
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
273cf05d92
Minor optimizations and code style fixes
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
cb4308ad64
Remove changes to Nordic SDK and modify HAL to track qspi init
2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan
04ec07c017
Fix bracket placements
2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan
d9036865d8
Remove explicit initialize API and coding style fixes
2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan
0f7cc36f69
Changing config and return definitions to adhere to HAL defs
2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan
10a6fd6549
Add support for 1_1_2 and 1_2_2 modes in HAL
2018-08-22 15:00:01 +02:00
Senthil Ramakrishnan
9deecacc9b
Fix code style issues
2018-08-22 15:00:01 +02:00
Senthil Ramakrishnan
16d121c5d2
Review fixes and doxygen changes
2018-08-22 15:00:00 +02:00
Senthil Ramakrishnan
219d0c6e70
QSPI driver implementation
2018-08-22 15:00:00 +02:00
Senthil Ramakrishnan
009cc8b474
Enabling QSPI headers in Nordic HAL implementation and fix for UART STDIO definitions
2018-08-22 14:59:59 +02:00
Senthil Ramakrishnan
2df58e2d25
Modify QSPI HAL API to include an API for command-transfer operations
2018-08-22 14:59:59 +02:00
Martin Kojtal
d1b51b6328
QSPI: initial HAL nrf52840 version
...
This commit adds QSPI HAL implementation for nrf52840 MCU targets
2018-08-22 14:59:58 +02:00
Martin Kojtal
a3c8117b0e
QSPI: fix command declaration names
2018-08-22 14:59:58 +02:00
Martin Kojtal
10e7b5f6d0
QSPI: improve mode documentation
...
SPI mode means Clock polarity and phase mode (0 - 3)
2018-08-22 14:59:57 +02:00
Martin Kojtal
4564383ba8
QSPI: change length to be in/out parameter
...
This provides a way to return how many bytes have been written/read (as status codes
are returned via func ret value)
2018-08-22 14:59:57 +02:00
Martin Kojtal
510d743051
QSPI: fix address/alt variable sizes (can be skipped)
...
Fixing by adding NONE values for both
2018-08-22 14:59:56 +02:00
Martin Kojtal
b3037afae4
QSPI HAL addition
...
Adding new QSPI HAL header file. This should help to use memory-maped devices
as memories, graphical displays.
The API consist of few functions, most important are read/write/write_command functions.
The command format is:
```
----------------------------------------------
| Instruction | Address | Alt | Dummy | Data |
----------------------------------------------
```
We define only synch API at the moment.
2018-08-22 14:59:56 +02:00
Vincent Coubard
95fc284a83
Span: add boundary check in subscript operator for debug profile
2018-08-22 13:32:54 +01:00
Vincent Coubard
f6dd5eaa31
Span: Fix static assert message in default constructor.
2018-08-22 13:31:26 +01:00
Martin Kojtal
f5fb3c1911
Merge pull request #7739 from anttiylitokola/master
...
Update mbed-coap to version 4.6.1
2018-08-22 14:06:39 +02:00
Martin Kojtal
d719c9e1a6
Merge pull request #7762 from kaidokert/master
...
Add combined hex target to CMake
2018-08-22 14:05:53 +02:00
Martin Kojtal
81f5decf8f
Merge pull request #7785 from kivaisan/fix_join_accept_failure_handling
...
Lora: Fix join-response failure handling
2018-08-22 14:05:24 +02:00
Martin Kojtal
d28d13cc9b
Merge pull request #7790 from jeromecoutant/PR_LPTICKER_RTC
...
STM32 LPTICKER : RTC wake up timer is reset before setting a new one
2018-08-22 14:04:58 +02:00
Mirela Chirica
9ef2d0d5ca
Cellular: Fix information greentea tests for BC95 modem
2018-08-22 14:41:31 +03:00
Mirela Chirica
8db370c642
Cellular: Fix sim greentea tests for BC95 modem
2018-08-22 14:41:30 +03:00
Mirela Chirica
c0b8a113b1
Cellular: Fix network greentea tests for BC95 modem
2018-08-22 14:40:22 +03:00
Mirela Chirica
b5d68b546a
Cellular: In LTE mode last PDP context cannot be deactivated
2018-08-22 14:38:18 +03:00
Vincent Coubard
26b546bab3
Span: Improve readability of precondition checks
2018-08-22 09:40:51 +01:00
Vincent Coubard
938d802ea0
Span: Fix subspan return type
2018-08-22 09:40:50 +01:00
Deepak Venugopal
8c94411882
Merge commit '94f82102284f73721f685ec9ae535aef815e0d69'
...
* commit '94f82102284f73721f685ec9ae535aef815e0d69':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7963594..2535a6c
2018-08-22 10:52:10 +03:00
Deepak Venugopal
94f8210228
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7963594..2535a6c
...
2535a6c Merge branch 'release_internal' into release_external
6bc9e00 Merge pull request #1783 from ARMmbed/mac_fix
8b1577e Fixed possible memory leak at mac pd_sap_ind() function.
git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 2535a6c779755a0dd1a50f14dc6a6902392c86ea
2018-08-22 10:52:10 +03:00
Martin Kojtal
b373b13fcc
Merge pull request #7772 from timurh01/jenkinsfile_refactor
...
Modified Jenkinsfile into one-liner format.
2018-08-22 09:39:47 +02:00
Andrew Leech
629357270e
NRF5x: Fix config of LFCLK source / settings.
2018-08-22 13:55:28 +10:00
Christopher Haster
475cc6bcba
littlefs: Added test for several mounting conditions
2018-08-21 17:59:52 -05:00
Christopher Haster
cc1bad90a7
littlefs: Fixed issue with cleanup in mount function on error
...
As a part of the v1.6 update, littlefs added proper handling for
cleaning up memory in the case of an error during mount. This took care
of a memory leak users were seeing. Ironically, it turns out the implementation
and user patterns in mbed-os was _relying_ on this memory leak to avoid a
double free in the same case of an error during mount.
The issue was that a failed mount would leave the LittleFileSystem class in a
state where it thought it was mounted, and later it would attempt to
unmount the filesystem. With the previous memory leak this would be
"ok", and the leaked memory would be freed. But with the fix in v1.6,
no memory is leaked, and the incorrect free triggers a hard fault.
Fixed to clean up state properly on failed mounts.
2018-08-21 17:23:32 -05:00
Aashish chaddha
c07e29bd2a
The messageID for CAN constructor needs to be unsigned to avoid unnecessary implicit casting
2018-08-21 12:32:22 -05:00
Vincent Coubard
54e2d92c95
Span: Improve consistency with standard.
...
This commit aims to make Span implementation more in line with what is present in N4762:
- use appropiate index types where applicable.
- use typedefed type inside the class (index_type, reference, pointer, element_type)
- assertion where applicable
- restrict default construction to Span with extent == 0 or extent == dynamic.
- construct span from a range of pointer
- remove non const overload of the subscript operator
- remove non const overload of the data function
- implement subspan function
- implement missing first and last function of dynamic span
2018-08-21 18:20:58 +01:00
Jimmy Brisson
09ea2a3df9
Tools: Use Distcc when specified
2018-08-21 11:38:31 -05:00
Mahesh Mahadevan
f71004cf89
MIMXRT1050: Fix I2C Byte transfer functions
...
1. Added a flag to issue START command
2. Do not send START command inside i2c_start function as
the LPI2C hardware will issue a STOP on reception
of a NACK
3. Remove the i2c_address global variable, this is not
required
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-21 10:25:00 -05:00
Cruz Monrreal
b53a9ea4c0
Merge pull request #7780 from artokin/nsrc510_p1
...
Rename nanostack configuration (.cfg) files
2018-08-21 10:21:15 -05:00
Cruz Monrreal
36ee9b98d6
Merge pull request #7767 from kivaisan/fix_tx_error_if_corrupter_msg_received
...
Lora: Fix TX_ERROR event if corrupted msg is received for CONFIRMED request
2018-08-21 10:20:23 -05:00
Cruz Monrreal
17a525c487
Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp
...
UBLOX cellular api's for UDP and TCP
2018-08-21 10:12:47 -05:00
Brian Esquilona
4db8a106bf
Added BOOTLOADER feature, copy bootloader binaries and LICENSE into mbed OS repository for supported targets
2018-08-21 10:09:28 -05:00
Cruz Monrreal
e02466a77a
Merge pull request #7524 from c1728p9/tickless_fix
...
Fixes for tickless and LPTICKER_DELAY_TICKS
2018-08-21 10:03:41 -05:00