Commit Graph

24426 Commits (7095c31bcae405bb332d5c3e1d587e56ebf71340)

Author SHA1 Message Date
Mirela Chirica f100cd59c8 Cellular: Check for URC during AT response stop 2019-04-09 11:15:28 +03:00
Martin Kojtal 3a4f591a76
Merge pull request #10124 from jamesbeyond/fm_sleep
Enable low-power ticker and Sleep for FastModels
2019-04-09 09:56:52 +02:00
Hasnain Virk 69efed266d Marking TX and RX pins for UARTSerial as NC
For default construction of the driver, it would be necessary to define
the pins. However as we don't know the correct pins, until/unless user
sets them up for us. So it makes sense to mark the pins as NC. It would
be easier to debug if the pins are set to NC if user forgot to set them
up.
2019-04-09 10:20:38 +03:00
Russ Butler 2986b3af7c Fix doxygen comment in USBDevice
Update the doxygen to correctly describe the return value of
endpoint_read_result.
2019-04-08 17:30:22 -05:00
Shrikant Tudavekar d810b85094 remove unused __CRASH_DATA_RAM_SIZE__ 2019-04-08 15:47:18 -05:00
Shrikant Tudavekar 4b182b92f1 enable crash capture for NUMAKER_PFM_NUC472 2019-04-08 15:36:28 -05:00
Shrikant Tudavekar 197b85e2fe create a region instead of a block for crash data 2019-04-08 15:22:59 -05:00
Mahesh Mahadevan 5f7f71e7e5 MXRT1050_EVK: Fixes test failure seen with IAR and ARM toolchains
Fixes test failure seen with tests-mbed_hal-stack_size_unification
under IAR and ARM toolchain

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-08 13:42:46 -05:00
Jimmy Brisson 76226b2f24 Parse section starts beginning with whitespace 2019-04-08 13:32:44 -05:00
Jimmy Brisson 7ceb876e0d Correct all linting errors 2019-04-08 13:32:01 -05:00
Brian Daniels 60910c049c Remove outdated projectfiles case for makefiles 2019-04-08 13:07:13 -05:00
Brian Daniels 381223a329 Fixing zipped makefile exports.
When zipping up projects, the makefile exporter brings every directory
supplied as --source under the same directory, even if they are in a
parent directory. There was some code that was clearing the leading
"../" components. This lead to an empty string ("") being supplied to
the "into_path" arg for "resources.add_directory". Since "" is not None,
the default behavior to place it in the same directory was not being
used. The extra "" caused a leading "/" to be added, making everything
placed a the absolute root of the filesystem ("/").

Now we check to see if the "into_path" is an empty string and ignore it
if that's the case.
2019-04-08 13:07:13 -05:00
Brian Daniels a0b9275ec4 Fixing copying of static filerefs 2019-04-08 13:07:13 -05:00
Brian Daniels 49ab2b83bd Add c_cpp_properties file to gen_files for zipping 2019-04-08 13:07:12 -05:00
Brian Daniels e65722262c Create template for missing generated vscode file
This file was being dumped to the filesystem without going through the
"gen_file" mechanism, thus it was missed when being zipped up.
2019-04-08 13:07:12 -05:00
Brian Daniels f1c98938c7 Fix incorrect reference to a filetype 2019-04-08 13:07:12 -05:00
Brian Daniels 3b4a463dce Move all generated file paths to FileRefs in the exporters.
The FileRefs allow you to preserve the correct file paths in the online
compiler. It also allows you to preserve the correct file paths for
generated files.
2019-04-08 13:07:12 -05:00
Brian Daniels e239549585 Fixing path comparisons on Windows 2019-04-08 13:07:11 -05:00
Brian Daniels 8a2836f122 Fix detection of supported targets for mbed 2 builds 2019-04-08 11:34:28 -05:00
Jimmy Brisson 2a4a73cab6 Add the only part of the "data" module that was used 2019-04-08 10:58:45 -05:00
Brian Daniels 6d754fe96c Remove database code from singletest api 2019-04-08 10:58:45 -05:00
Jimmy Brisson a40b27322e Remove unused travis build script 2019-04-08 10:58:42 -05:00
Jimmy Brisson 96423bd539 Reword table header 2019-04-08 10:58:01 -05:00
Jimmy Brisson 8ca69e1c22 Remove unused test_webapi python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson 3a0eeed792 Remove unused upload_results python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson 930fb11ea1 Remove unused size python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson e45beb3313 Describe what each python module does 2019-04-08 10:58:01 -05:00
Jimmy Brisson ed5c6a3050 Remove unused python model: check_release 2019-04-08 10:58:01 -05:00
Jimmy Brisson 49bd5ed03d Remove unused synch python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson 6fa5ca4c35 Remove unused misc python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson 6112a3306d Remove empty git_hooks python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson 1cc311b153 Remove unused data python module 2019-04-08 10:58:01 -05:00
Jimmy Brisson b62e041143 Remove tools/compliance and tools/dev
### Description

These directories have contained exclusively dead code for as long as
I can remember. Now is as good of a time as any to remove them.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2019-04-08 10:58:01 -05:00
Cruz Monrreal II 3f76f6ed79 Fixed shellcheck issues found in functions.sh
Added comments to functions
2019-04-08 10:45:07 -05:00
Cruz Monrreal II 260c97a116 Cleaned up LittleFS and Event Queue tests.
Added {} around each variable.
Ported python invocations for simple math opts to coreutil commands
2019-04-08 10:45:07 -05:00
Cruz Monrreal II f6b9109934 Fixed littlefs tests to be Py3 compat 2019-04-08 10:45:07 -05:00
Cruz Monrreal II 397ee3074a Removed nearly all usage of 'apt-get'.
Primary cause of false Travis CI failures was running 'apt-get update'.
Refactored all instances where this was needed with manually fetching and installing dependencies in S3 instace.

This also includes GCC installation.
2019-04-08 10:45:07 -05:00
Cruz Monrreal II 5f40538c59 Re-enabled PR status reporting.
Added external bash file to source functions from
2019-04-08 10:45:07 -05:00
Cruz Monrreal II f9f9b60d7e Grouped jobs into build stages 2019-04-08 10:45:07 -05:00
Cruz Monrreal II c703ad7cfb Removed status reporting.
Re-enabled in later commit.
2019-04-08 10:39:38 -05:00
Cruz Monrreal II d0f4dc4d20 Changed default language to shell.
Not every VM needs the setup overhead that 'language: python' was providing
2019-04-08 10:39:38 -05:00
Leszek Rusinowicz e5d970d321 FUTURE SEQUANA: Fixed linker scripts for ARMC6
Also enabled ARMC6 compiler for FUTURE_SEQUANA family of targets.
2019-04-08 16:51:52 +02:00
Leszek Rusinowicz 48d12c39e5 FUTURE_SEQUANA: Fixed ARMC6 compiler errors and warnings 2019-04-08 16:50:20 +02:00
Hasnain Virk 7ebfa90753 Adding pin polarity and changing the constructor
To make this driver more useful, we needed to do some changes. The
wirings for the modem can differ on the board so we also need to be
flexible in our approach.
It is now mandatory to provide the power pin and pin polarity in the
constructor alongwith the file handle. Reset pin is optional.
2019-04-08 17:32:52 +03:00
Hasnain Virk 57d9e27532 Tidying up the boiler plate code
A little tidying up was needed as there was some boiler plate code that
could be shoved into a corner and reused.
2019-04-08 17:32:52 +03:00
Hasnain Virk 24178bc374 AT+CGSN with EC2X does not take parameter
Standard 3GPP TS27.007 states that the AT+CGSN command can optionally
have type parameter that determines the output. However Quiectel EC2X
series doesn't accept parameters. We need to reflect that in the
cellular properties setup.
2019-04-08 17:32:52 +03:00
Hasnain Virk df7f8cdfcf CREG can handle lac/ci/lat
AT+CREG command can also provide information regarding lac/ci/lat etc so
we should set the mode correctly in cellular properties structure.
2019-04-08 17:32:52 +03:00
Hasnain Virk ab978bde6c Removing left over tracing
A test trace was left lurking around. Removed in this commit.
2019-04-08 17:32:52 +03:00
Hasnain Virk 04299e45a3 Basic driver for Quectel EC25/EC21
Provides basic power up / power down sequences for Quectel EC2X series
modems. Can be used in PPP mode. For using the on-board IP stack, we
will need to add and implement classes that provide context.

Driver constructor takes power and reset control pins along with the
FileHandle. A default construction is provided which can be chosen by
the application in its mbed_app.json. Otherwise the user is free to
construct as per demand.
2019-04-08 17:32:52 +03:00
Leszek Rusinowicz 270f368bbd FUTURE_SEQUANA: Flatten PDL library paths
This change moves all PDL drivers into common source and include
directories to alleviate issue with Windows version of GNU Make 4.x
maximum command line length limit.
2019-04-08 16:31:17 +02:00