Commit Graph

18018 Commits (ce28c91405309648c936f2ccc01a64f6083c6c72)

Author SHA1 Message Date
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
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
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
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
Cruz Monrreal 7c22dca302
Merge pull request #7831 from hasnainvirk/rx2_dr_default
LoRaWAN: Restoring default RX2 data rate
2018-08-21 09:59:21 -05:00
Cruz Monrreal d9367f88f8
Merge pull request #7832 from juhaylinen/fix-nanostack-setsockoptions
Nanostack: Fix return code for unsupported socket options
2018-08-21 09:58:59 -05:00
Cruz Monrreal 5c50eadc1b
Merge pull request #7826 from SiliconLabs/fix-lwip-gg11
Fix stack size for LwIP on EFM32GG11
2018-08-21 09:55:48 -05:00
Cruz Monrreal 4b5c6c8953
Merge pull request #7823 from codeauroraforum/MIMXRT1050_Fix_I2C
MIMXRT1050_EVK: Update the I2C driver
2018-08-21 09:54:36 -05:00
Cruz Monrreal bf26cbf330
Merge pull request #7807 from hasnainvirk/warning_fix
Compiler warning: unused variable in LoRaMac.h
2018-08-21 09:53:26 -05:00
Cruz Monrreal a8f390ebec
Merge pull request #7798 from simosillankorva/NUCLEO_F303RE_bootloader_support
Add bootloader support for target NUCLEO_F303RE
2018-08-21 09:50:26 -05:00
Cruz Monrreal 0d0402dcec
Merge pull request #7793 from deepikabhavnani/crc_template_fix
Template specialization didnt work after addition of default constructor
2018-08-21 09:50:00 -05:00
Cruz Monrreal fa4b2f088a
Merge pull request #7791 from davidsaada/david_fix_tmpm64b_iar_linker_file
Fix TMPM64B IAR linker file
2018-08-21 09:45:18 -05:00
Cruz Monrreal c167275c6d
Merge pull request #7775 from jeromecoutant/PR_ASSERT
STM32 wrong MBED_ASSERT use
2018-08-21 09:44:23 -05:00
Cruz Monrreal cd0126ae29
Merge pull request #7768 from jarvte/document_all_cellular_errcodes
Cellular: Document all possible error codes for cellular API.
2018-08-21 09:42:55 -05:00
Cruz Monrreal 08afaf2f85
Merge pull request #7770 from kivaisan/fix_rejoin_with_parameters
LoRa: Fix MAC initialization for connection with parameters
2018-08-21 09:42:16 -05:00
Cruz Monrreal c10ad7f544
Merge pull request #7212 from davidsaada/david_flashiap_test_small_flash
FlashIAP & NVStore tests: Skip test if overwriting code in flash
2018-08-21 09:41:51 -05:00
Donatien Garnier 298f847821 Fix use_count() in SharedPtr 2018-08-21 12:59:54 +01:00
Kimmo Vaisanen 223e6a27d8 Lora: Change visibility of LoRaMac internal methods as private
Some LoRaMac methods were defined as public even though there were used only
internally.

Also removed definition of some methods which were not even implemented nor used.
2018-08-21 12:08:12 +03:00
Mika Leppänen 93eb0c2872 Fixed emac test function parameter errors 2018-08-21 10:55:49 +03:00
Mika Leppänen 9e73e80926 Updated greentea test configurations to use default interface
Created one configuration .json file for boards with internal
wifi (HeapBlockDeviceAndWifiInterface.json). Removed dedicated
Odin, Wiced and Realtek wifi configuration files. Removed Odin
ethernet configuration file and replaced that with general
ethernet configuration.
2018-08-21 10:55:49 +03:00
Mika Leppänen 06302cb10e Set greentea wifi tests to set channel back to any after channel tests 2018-08-21 10:55:49 +03:00
Mika Leppänen 970a21fa9a Updated greentea Wifi tests to use default interface 2018-08-21 10:55:49 +03:00