Commit Graph

19411 Commits (1e625e2a54ba6f62f9ab50e3037354e32b51ce40)

Author SHA1 Message Date
Ashok Rao c15ce399b3 Adding Laird BL654 as a new MTB target 2018-10-19 11:46:55 +01:00
Mahesh Mahadevan f88075d06b MCUXpresso: Ensure the RTC OSC is running at bootup on Kinetis platforms
This is a fix for Issue 5348.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-19 11:46:55 +01:00
Veijo Pesonen bdf153a41a mbedgt-network-wifi WIFI CONNECT TC - check for empty passwd 2018-10-19 11:46:55 +01:00
RFulchiero a0010228a4 PortOut.h: Documentation improvements only * Improve function and parameter descriptions 2018-10-19 11:46:55 +01:00
zhanglu@realtek-sg.com c3047401dc This PR retrieves the TimerSync function to fix the lockup issue
1.	Update library
2.	Add ‘hal_timer.h’, ‘rtl8195a_timer.h’
3.	Revert ‘HalTimerOpExt.HalTimerSync(SYS_TIM_ID)’ function in ‘us_ticker.c’
2018-10-19 11:46:55 +01:00
Russ Butler 915b71b650 Update doxygens to be in sync
Make the following changes to doxyfile_options:
-Change CASE_SENSE_NAMES so names of files generated match mbed-os docs
-Change DISABLE_INDEX so navigation bar shows
-Change CLASS_DIAGRAMS so inheritance diagram gets generated
-Change USE_MDFILE_AS_MAINPAGE and add DOXYGEN_FRONTPAGE.md to
    FILE_PATTERNS so the correct main page is found and used
-Remove DEVICE_ETH from PREDEFINED since this is no longer relevent
-Change GENERATE_XML and XML_OUTPUT so no xml is generated
-Change SEARCHENGINE to match the docs

Make the following changes in doxygen_options.json:
-Add all non-default values in doxyfile_options to the json
-Break json into 3 groups
    1. Values that are the same as doxyfile_options
    2. Values that must be different from doxyfile_options
    3. Values the are overriden by the docs builder
-Make the doxyegn search directory "INPUT" start in mbed-os rather
    than one level above mbed-os.

Finally, rename the BLE doxygen front page so it is not confused with
the mbed-os front page.
2018-10-19 11:46:55 +01:00
Michal Paszta 729f645193 Fix status sequence and reporting for LWIP stack 2018-10-19 11:46:55 +01:00
Jimmy Brisson ed2db01197 tools: Raise NotSupported when target definition is incomplete
### Description

Noticed by the online compiler:
When a user has an incomplete target definition, the error is not show
to the user. That's because it's reported as a `KeyError`. This PR adds
an outer `NotSupportedException` so that the outer catch statement knows
that this is not a build system crash, but a user error.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-19 11:46:55 +01:00
Mahesh Mahadevan 8585f7a30b MCUXpresso Flash Driver: Update Flash driver to support RAPIDIOT
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-19 11:46:55 +01:00
maclobdell 33d3e0e87f Add support for NXP Rapid IoT prototyping kit
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-19 11:46:55 +01:00
Amanda Butler 12c191aea5 Copy edit mbed_rtc_time.h
Copy edit existing text.
2018-10-19 11:46:55 +01:00
Kevin Gilbert 74018b573d funtion->function
Minor doxygen typo patch
2018-10-19 11:46:55 +01:00
kegilbert 8532efc2b2 Infered->Inferred Signiture->Signature 2018-10-19 11:46:55 +01:00
Kevin Gilbert 4e1d66ff6c locable->lockable
Minor doxygen comment typo patch
2018-10-19 11:46:55 +01:00
Kevin Gilbert e7f30ac4e3 Minor mbed_assert doxy typos patch 2018-10-19 11:46:55 +01:00
Kevin Gilbert 591b7a1d24 underlyng->underlying 2018-10-19 11:46:55 +01:00
Kevin Gilbert ab19a82041 Remove extra e in deepsleep 2018-10-19 11:46:55 +01:00
Offir Kochalsky 097452f780 json formatted and include remarks removed 2018-10-19 11:46:55 +01:00
Offir Kochalsky 16ce2c0849 Reduced SPIF Block Device for Boot Loader 2018-10-19 11:46:55 +01:00
Kari Haapalehto 7b843a789a Correct mesh network connection status callback functionality. Now the status callback is only called if the status changed. 2018-10-19 11:46:55 +01:00
Jaakko Korhonen 92a4beff19 Added missing _mutex->unlock() to FileBase::lookup(). 2018-10-19 11:46:55 +01:00
Antti Kauppila 3e24f2570a Fixed lorawan unittests valgrind issues 2018-10-19 11:46:55 +01:00
welaZat d014fb4a55 Added missing define in drivers/SerialWireOutput.h 2018-10-19 11:46:55 +01:00
kert d8771a57a3 Allow overriding build timestamp from env 2018-10-19 11:46:55 +01:00
ccli8 8108da4924 Fix SW2/SW3 interchange error in NUMAKER_IOT_M487 2018-10-19 11:46:55 +01:00
Janne Kiiskila 42da703998 Use wait_ms instead of wait(n)
Small space savings, the casting from int to float will bloat
the code a bit. Using wait(1.0f) for example would avoid it,
but seems a bit silly to use floats for anything unless
really needed (in embedded products).
2018-10-19 11:46:55 +01:00
Deepika 4f3ad7db35 Resolve build issues in test
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-19 11:46:55 +01:00
deepikabhavnani f3e12fab11 Greentea: Add required header file and namespace element instead add all
1. RTOS is needed only for Stack stats

Move+Add all required header files for RTOS into MBED_STACK_STATS_ENABLED
define. Also added 'using namespace'

2.  Add heap stats only when MBED_HEAP_STATS_ENABLED
2018-10-19 11:46:55 +01:00
Deepika 189889446b Netsocket: Add required header file and namespace element instead add all 2018-10-19 11:46:55 +01:00
Deepika 9c8c736e88 Nanostack: Add required header file and namespace element instead add all 2018-10-19 11:46:55 +01:00
Deepika 74832b3edd Framework: Add required header file and namespace element instead add all 2018-10-19 11:46:55 +01:00
Cruz Monrreal II a3c248a3af Pinned urllib3 version as something with 1.24 appears to be breaking other modules 2018-10-19 11:46:55 +01:00
Cruz Monrreal II 8377966f88 Added line in python testing to print pip modules in use 2018-10-19 11:46:55 +01:00
Mahesh Mahadevan 51f7f07ae8 MCUXpresso: Fix for the TRNG HAL driver
Apply the fix from K64F TRNG HAL driver.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-19 11:46:55 +01:00
RFulchiero f306241269 PortIn.h: Documentation improvements only * Improve function and parameter descriptions * Improve clarity of the example 2018-10-19 11:46:55 +01:00
Hasnain Virk fa1a6d27b8 Unit test fix for cancel_send()
PR 8299 went in but correct unit tests were not there.
This commit is adding proper unittests for 8299.
2018-10-19 11:46:55 +01:00
Hasnain Virk f6d50cc55d Unit Test Fixes for LoRaWAN
Missing methods are added.
Logic was broken at various places which needed to be fixed.
2018-10-19 11:46:55 +01:00
Hasnain Virk 15187b98a6 Fixing coverity findings
A couple of the coverity analysis findings are being treated here. For
the rest there will be a separate PR.
2018-10-19 11:46:55 +01:00
Hasnain Virk 13530d1feb Proper handling of RX1 frequency in rx_config
Previously, we weren't filling in RX1 frequecny in rx_window1_config
structure. However, everything worked as in LoRaPHY::rx_config() API
there was a check which filled in correct RX1 frequency.
Now we are filling in RX1 freq. properly while we are computing
parameters for RX1 window.
2018-10-19 11:46:55 +01:00
Hasnain Virk a72d83287d TX post-process for CONFIRMED UL in no-reception case
The idea behind the method post_process_no_reception() is to post
process any outgoing TX but we shouldn't do that if a CONFIRMED message
is outgoing and there are still some retries left.
2018-10-19 11:46:55 +01:00
Hasnain Virk cee09b6656 Making sure that RX slots open after state change
After transmission we should change the state before invoking opening of
slots as we may start receiving in the rx slots and the state would
suddenly change from SENDING to RECEIVING without going through the
ACK_WAIT state (in case of CONFIRMED messages). Tests show that after
this slight adjustment, our number of ack retries have significantly
reduced.
2018-10-19 11:46:55 +01:00
Hasnain Virk a1260998b4 Adding QOS handling and fixing bugs for Class C
LinkADRReq mac command can be used by the network server to set a
certain level of QOS using NbTrans field which is applicable to
Unconfirmed traffic only for 1.0.2 spec.
This commit introduces mechanisms to facilitate this QOS. It means to
repeat an outgoing unconfirmed message NbTrans times without changing
its frame counter.

For class C, we have retired the ack_expiry_timer_for_class_c and have
replaced it with another timer which mimics the RX2 closure as in Class
A but doesn't actually close RX2 window. It's just a mechanism by which
the state machine is informed that the you can proceed forward, we have
not received anything in RX2 window either. This is needed as RX2
doesn't timeout in class C (i.e., the radio remains in continuous mode).
In addition to that we need to close any pending timers for Receive
windows after the MIC has passed and the Duplicate counter check has
also been passed.
2018-10-19 11:46:55 +01:00
Hasnain Virk 0413129fbf Adding check for ongoing automatic-uplink
Before going after an automatic uplink, we should check if there was an
automatic uplink already ongoing, i.e., the ack for the previous
automatic uplink cycle has not been received.
If there is we shouldn't queue the new automatic uplink and wait for
the previous Ack cycle to complete.
2018-10-19 11:46:55 +01:00
Hasnain Virk c648c7f011 Style correction
LinkADRReq parameters and certain parameters used camel case
which is not the recommended style.
2018-10-19 11:46:55 +01:00
Ganesh Ramachandran aff0b2d434 Removed IAR definition for TMPM4G9
TMPM4G9 device was added in IAR 8.30. Based on this, exporters should be disabled for now (not supported in 7.x version).
2018-10-19 11:46:55 +01:00
Ganesh Ramachandran ae18077a99 Implemented us_ticker free() & modified IAR stack 2018-10-19 11:46:55 +01:00
Ganesh Ramachandran 29e0e65b1f Added Support for TOSHIBA TMPM4G9 2018-10-19 11:46:55 +01:00
jeromecoutant a02f73d948 STM32L4 : sleep issue 2018-10-19 11:46:55 +01:00
bcostm 173190068b STM32: typo corrections 2018-10-19 11:46:55 +01:00
bcostm 344ff0f4ba STM32: fix issue with serial_is_tx_ongoing function 2018-10-19 11:46:55 +01:00