Commit Graph

19411 Commits (1e625e2a54ba6f62f9ab50e3037354e32b51ce40)

Author SHA1 Message Date
Aashish chaddha 36198f11de improve can documentation 2018-10-19 11:46:55 +01:00
Kevin Bracey 5878740c38 poll: Un-doxygen internal comment 2018-10-19 11:46:55 +01:00
Wilfried Chauveau 56667a33ce align github's issue template with pull request's look&feel. 2018-10-19 11:46:55 +01:00
Amanda Butler 72842bb3b8 Edit README.md
Edit readme.
2018-10-19 11:46:55 +01:00
Lari-Matias Orjala dfa1b540c7 Improve unit testing instructions. 2018-10-19 11:46:55 +01:00
Jimmy Brisson 8fb705d803 mbed dm: Check for missing payload and give a better error message
### Description

The error message when you invoke `mbed dm update prepare` without a payload
is particularly obtuse, and provides a user with no indication that the
payload is missing. This change makes that error message not stink.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-19 11:46:55 +01:00
TomoYamanaka 85565733ab Modify typo of return value at mbed_get_a9_tick_irqn(). 2018-10-19 11:46:55 +01:00
TomoYamanaka 0c4c3c44db Change MTU2 channel number for LPTicker of GR-LYCHEE
MTU2(Multi function Timer pulse Unit 2) can create the low freaquency.
Currently GR-LYCHEE uses MTU2 channel 3 for LPTicker, but I noticed that a part of it is used by another function.
Thus, I changed MTU2 channel number for LPTicker to 2.
2018-10-19 11:46:55 +01:00
Martin Kojtal f4eaa60b97 PR template: add "test update"
Adding new test case, test unit or just updating tests
2018-10-19 11:46:55 +01:00
Martin Kojtal f1bc2b0121 PR template: add "docs update"
As we know have documentation in the repository, this type should define changes
only to documentation.
2018-10-19 11:46:55 +01:00
Brian Daniels 652147d65b Remove references to GCC_CR from the rest of the tools 2018-10-19 11:46:55 +01:00
Brian Daniels 648f6d8bca Removing GCC_CR mention from settings.py 2018-10-19 11:46:55 +01:00
Brian Daniels 6e801e2567 Removing GCC_CR from target supported_toolchains 2018-10-19 11:46:55 +01:00
Jimmy Brisson 32031fc008 Export, nb: Use same path for cpp as the rest of the tools
### Description

The netbeans exporter was being inconsistant with it's invocation of
the C pre-processor on the linker script: the C pre-processor was always
invoked from `$PATH` where as the rest of the tools were invoked as
configured by the tools. This changes the invocation of CPP to match the
rest of the tools: heed the conifguration.

Fixes https://github.com/ARMmbed/mbed-cli/issues/663

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-19 11:46:55 +01:00
Deepika 7bef43ad1a Storage: Add required header file and namespace element instead add all 2018-10-19 11:46:55 +01:00
Cruz Monrreal II 3edb04a300 Fixed colorama Python package Colorama package being at the top of the requirements.txt list causes other requirements to not be fufilled. All packages require <0.4.0, aka the latest 0.3.x patch release.
:
2018-10-19 11:46:55 +01:00
Cruz Monrreal II 762cf0393b Revert "Merge pull request #8183 from hasnainvirk/QOS_impl"
This reverts commit 5c675d3688, reversing
changes made to 2b04a02eb2.
2018-10-19 11:46:55 +01:00
Jimmy Brisson 66edc69d64 Convert to a set in win2unix 2018-10-19 11:46:55 +01:00
adbridge 564eb9f8e0 Remove mbed-os-example-client
This example is now deprecated and as such needs to be removed from
ci test compilation.
2018-10-19 11:46:55 +01:00
Antti Yli-Tokola a9afbb652f Update mbed-coap to version 4.7.0
- Add function that can be used to clear the received blockwise payloads for example in the case of a connection error.
- Silence compiler warning when CoAP duplicate detection is enabled.
2018-10-19 11:46:55 +01:00
Jimmy Brisson 6772e097ac Tools: Ensure vtor reserved bits are all 0
### Description

The VTOR reserves the lowest 7 bits. This PR changes the round up
behavoir of the application offset to make sure that the address used
for the in-flash vector table always ends in 7 0's.

Fixes #7392

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-19 11:46:55 +01:00
Mirela Chirica 866019f042 Cellular: Fix compile warnings for CellularNetwork 2018-10-19 11:46:55 +01:00
Yossi Levy b9f8c95a99 Fix warnings in block devices 2018-10-19 11:46:55 +01:00
jeromecoutant 7759077e17 STM32 EMAC : lock deep sleep 2018-10-19 11:46:55 +01:00
Hasnain Virk 70ad11e2f1 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 925d51492f 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 c42b7909da 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 d776f5cb6a 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 80d07ffe54 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 258b2813dd 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 0969c0f367 Style correction
LinkADRReq parameters and certain parameters used camel case
which is not the recommended style.
2018-10-19 11:46:55 +01:00
Oren Cohen 42f1b4e07d Restore disk_get_sector_size() to return WORD 2018-10-19 11:46:55 +01:00
Oren Cohen a1de6c037d Fix overflow in disk_get_sector_size() 2018-10-19 11:46:55 +01:00
jeromecoutant ed268513c2 STM32F1 RTC : save values in register
Date is managed only by SW
  within CUBE functions HAL_RTC_GetDate and HAL_RTC_SetDate.
They are then replaced by functions that saved counters in HW registers.
RTC_ReadTimeCounter and RTC_WriteTimeCounter are then added to the ST API.
2018-10-19 11:46:55 +01:00
Cruz Monrreal II cdfefd9d0c Enabled the removal of a trailing slash when sourcing examples from examples.json 2018-10-19 11:46:55 +01:00
Aleshandre Diaz 81c8520889 choose which lpc1768 timer to use for us_ticker.c 2018-10-19 11:46:55 +01:00
Michal Paszta 8c72bd5c0b unittests: Added tests for netsocket classes
New classes covered with unit tests: SocketAddress, EthernetInterface, EMACInterface, WiFiAccessPoint.
Also added missing namespace in front of mbed::Callback usages.
EMACInterface is covered by the EthernetInterface unit tests.
2018-10-19 11:46:55 +01:00
Jimmy Brisson fffbab143c Avoid assigning self.libraries 2018-10-19 11:46:55 +01:00
Jimmy Brisson 0a362ef33c Update remaining default_lib usage in arm compiler 2018-10-19 11:46:55 +01:00
Jimmy Brisson 6d7494732b Tools: Fix Microbit releases
### Description

I noticed that there was quite a bit missing from the mbed2 release of
the microbit today. That's because the microbit uses ARM by default and
the GCC_ARM small library. The release script was trying to release for
ARM using scan rules for uARM. Turns out we're stuck with 2 configuration
parameters for the same thing: `default_lib` for GCC and `default_toolchain`
for ARM. Dang

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-19 11:46:55 +01:00
Seppo Takalo c1eadcf88e Reset channel settings back to default 2018-10-19 11:46:55 +01:00
Deepika 7b18b61247 NXP: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Deepika 4395ed4de5 Freescale: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Andrew Leech 0271b33d0f tools/utils: Fix issue with loading json files as ascii on python3 linux 2018-10-19 11:46:55 +01:00
Deepika 2969394d36 Ublox: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Deepika 710ec90213 Realtek: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Deepika 1882df9115 Wiznet: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Deepika 409f3a5b3f Onsemi: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Deepika 081487540d Analog Devices: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00
Deepika b3e27cebc4 Renesas: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-19 11:46:55 +01:00