Commit Graph

19223 Commits (01fee5fe498cc985e1fe7933516b84eee85f7219)

Author SHA1 Message Date
Przemyslaw Stekiel 01fee5fe49 tests-mbed_hal-rtc_time: alocate required test data on stack
This is fix for issue 8368.

Test is causing some problems on `REALTEK_RTL8195AM` and `ARM` compiler. There is some kind of memory issue. Probably there is not enough memory space for global data provided by the test. Data definitions have been moved into test function body so, they will land on stack. With this fix the test works on `REALTEK_RTL8195AM/ARM`.
2018-11-02 19:49:52 -05:00
Mac Lobdell 7b8286fa3e Ensure storage feature is not added to K66F 2018-11-02 19:49:52 -05:00
maclobdell fa28d2e08e K66F has an SD Card on board. Configure it as the default block device storage. 2018-11-02 19:49:52 -05:00
Jimmy Brisson dfc4f83cc0 Stop shouting at users in error messages 2018-11-02 19:49:52 -05:00
Jimmy Brisson 21cc67ebf0 Tools: Don't traceback on missing linker script
### Description

The `mbed compile` would traceback when no linker script is found.
This PR changes that behavior to make that into a NotSupportedException,
which has decent user behavior.

Fixes #7723

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-11-02 19:49:52 -05:00
Cruz Monrreal II 82ac0e9731 Corrected OFFICILLY_SUPPORTED typo 2018-11-02 19:49:52 -05:00
Jimmy Brisson ca60b12584 Track supported information within toolchain clasess 2018-11-02 19:49:52 -05:00
Jimmy Brisson 0b488c68f9 Tools: Restrict toolchains reported by mbed compile -S to official ones
### Description

The `mbed compile -S` command is suposed to indicate what targets
support what toolchains. The command was printing out things that
don't make sense, like `GCC_CR` and things that make sense, but are
not offiially supported yet, like `ARMC6`. This PR fixes all of that.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-11-02 19:49:52 -05:00
Jimmy Brisson 5b90a731d5 Remove what we're checking for membership 2018-11-02 19:49:52 -05:00
Jimmy Brisson 6a5c5c98f2 Remove unused local 2018-11-02 19:49:52 -05:00
Jimmy Brisson 705f8c9f78 Fix minor formatting mistake 2018-11-02 19:49:52 -05:00
Jimmy Brisson b1b2670423 Tools: Use logical paths in ignored_dirs
### Description

Exporting to GNU ARM Eclipse, E2 Studio, and other exclude-based IDEs
currently generats unusable project files online. This is because the
list of directories ignored in the scan is inconsistant about what sort
of paths are used: logical paths, or phisical paths. This patch makes
all paths in ignored_dirs logical. This should fix the excluding tags
in these project files.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-11-02 19:49:51 -05:00
Jaakko Korhonen 4351ec9d15 EventQueue documentation fix. 2018-11-02 19:49:51 -05:00
Amanda Butler d80cf82827 Edit DirHandle.h
Edit for active voice.
2018-11-02 19:49:51 -05:00
Amanda Butler 5f712f5e61 Fix typo in DirHandle.md
Add "s" for agreement.
2018-11-02 19:49:51 -05:00
Kevin Gilbert d6d6222f21 Move inline code snippets to code blocks 2018-11-02 19:49:51 -05:00
Jenny Plunkett e4ac85d74a Revert "Remove note about Stream/Serial deprecation"
This reverts commit 5ee5b071ab.
2018-11-02 19:49:51 -05:00
Jenny Plunkett a369799ea1 Add note about default baud rate is 9600 2018-11-02 19:49:51 -05:00
Jenny Plunkett 65a28f79f8 Remove note about Stream/Serial deprecation 2018-11-02 19:49:51 -05:00
Jenny Plunkett 85a049a0fb Add (Not Connected) 2018-11-02 19:49:51 -05:00
Jenny Plunkett 6200cd1ee1 Remove Serial protected member functions and attributes 2018-11-02 19:49:51 -05:00
Jenny Plunkett 5d347762de Remove RawSerial protected member functions 2018-11-02 19:49:51 -05:00
RFulchiero 6da02f059f Documentation improvements only - Prevent protected attributes from appearing on docs site. - Standardize units of time (microsecond, millisecond). - Improve example description. 2018-11-02 19:49:51 -05:00
Lari-Matias Orjala cb69f8ce42 update unit testing documentation for Mac OS Mojave 2018-11-02 19:49:51 -05:00
Naveen Kaje d1a9ec7e59 NRF52: setup the UART_RTS pin during startup to enable console RX
While investigating the RX issue on NRF52_DK after SDK 14 updates,
it is observed that the RX FIFO doesn't get filled up, when the
flow control is disabled. Hence the readable never returns true.
If using Serial interface, the stdio file handles (0, 1, 2) get opened.
This results in configuring the flow control for STDIO, and it is observed
that the RX FIFO gets filled.

However, if RawSerial is used, the STDIO file handles
don't get opened. During the debug process it was observed that if the
flow control is configured once and then set to disabled, RX worked
as expected.

Alternative to this approach is that user application specifically
enables flow control as done in mbed's Greentea test suite. See https://goo.gl/r8nBYH

See https://goo.gl/8VB2qg step 14 for _initio's description.
See test code to reproduce the issue and test fix here: https://goo.gl/AQU1xG

Description
The change in behavior with NRF52's UART RX is documented here. #6891
This change is a fix for the above issue.
2018-11-02 19:49:51 -05:00
Naveen Kaje 0483eae559 NRF52: setup the UART_RTS pin during startup to enable console RX
While investigating the RX issue on NRF52_DK after SDK 14 updates,
it is observed that the RX FIFO doesn't get filled up, when the
flow control is disabled. Hence the readable never returns true.
If using Serial interface, the stdio file handles (0, 1, 2) get opened.
This results in configuring the flow control for STDIO, and it is observed
that the RX FIFO gets filled.

However, if RawSerial is used, the STDIO file handles
don't get opened. During the debug process it was observed that if the
flow control is configured once and then set to disabled, RX worked
as expected.

Alternative to this approach is that user application specifically
enables flow control as done in mbed's Greentea test suite. See https://goo.gl/r8nBYH

See https://goo.gl/8VB2qg step 14 for _initio's description.
See test code to reproduce the issue and test fix here: https://goo.gl/AQU1xG

Description
The change in behavior with NRF52's UART RX is documented here. #6891
This change is a fix for the above issue.
2018-11-02 19:49:51 -05:00
Senthil Ramakrishnan 20a842b8f8 Fix doxygen comments and spelling errors 2018-11-02 19:49:51 -05:00
Cruz Monrreal e1bea44212
Merge pull request #8479 from ARMmbed/release-candidate
Release candidate for mbed-os-5.10.2
2018-10-19 13:37:43 -05:00
Antti Yli-Tokola 0b850b9f9b Update mbed-coap to version 4.7.1
Add re-scan routine goto if message is caused user callback
This will fix hard fault when blockwise message sending timeouts. This happens cause same list is manipulated through rx callback.
2018-10-19 15:13:27 +01:00
Antti Kauppila 44b009160d Fixed merge problem 2018-10-19 15:10:50 +01:00
Leon Lindenfelser c80a2ac21c Configure IAR stack size to 1KB 2018-10-19 15:10:50 +01:00
Leon Lindenfelser f5cd8f55ac Delete commented out merge conflict resolution 2018-10-19 15:10:50 +01:00
Leon Lindenfelser fef9fb045d Add header so cellular_power tests compile and run 2018-10-19 15:10:50 +01:00
Leon Lindenfelser 9c7df2ff35 Fix broken cellular_device test and delete commented code 2018-10-19 15:10:50 +01:00
Leon Lindenfelser 89bddfe466 Fix rebase conflict file 2018-10-19 15:10:50 +01:00
Leon Lindenfelser aa56ea4046 Remove LOWPOWERTIMER as it has been replaced by LPTICKER 2018-10-19 15:10:50 +01:00
Leon Lindenfelser b0b2e75384 Fix so building for other targets does not fail 2018-10-19 15:10:50 +01:00
Leon Lindenfelser 4161688618 Decrease heap size in IAR linker so tests compile and use SRAM2 for IAR and GCC 2018-10-19 15:10:50 +01:00
Leon Lindenfelser fcdac9e873 Rebase and changes for Dragonfly nano support 2018-10-19 15:10:50 +01:00
Leon Lindenfelser 8a778bdb82 Rebased on master mbed-os 9/7/18
This required replacing hal_tick.h with us_ticker_data.h
2018-10-19 15:10:50 +01:00
Leon Lindenfelser c9729bc948 Remove commented out code 2018-10-19 15:10:50 +01:00
Leon Lindenfelser 686d3e6af5 Fixed spacing/tabs and clean up targets.json 2018-10-19 15:10:50 +01:00
Leon Lindenfelser 37fa8a7e5f Fix rev D radio init/power/reset and add back bootloader capability 2018-10-19 15:10:50 +01:00
cedrick kukela 7f2684f9ec target changes 2018-10-19 15:10:50 +01:00
cedrick kukela 4ba937cb15 REV D change for modem on 2018-10-19 15:10:50 +01:00
cedrick kukela dd07f51f6d Rev c pin name fix 2018-10-19 15:10:50 +01:00
cedrick kukela 6e97d7edb6 changes to support mts dragonfly nano ppp 2018-10-19 15:10:50 +01:00
cedrick kukela 5b83ad8d3e remove blanks 2018-10-19 15:10:50 +01:00
cedrick kukela c43c8cf3c0 delete file 2018-10-19 15:10:50 +01:00
cedrick kukela b917133b12 change startup and s file names to match target 2018-10-19 15:10:50 +01:00