Oren Cohen
4e720fddd5
Remove outdated patch
2019-04-10 14:20:56 +03:00
Oren Cohen
ae4341e8db
Refactor PSA code generators
...
* Unify PSA generators
* Replace scanning for mbed_spm templates with json
* Make generate_source_files and parse_manifests common
* Make assert_int an internal function
* Use parse_manifests in pytests
* Update docs
2019-04-10 14:15:28 +03:00
Martin Kojtal
ffe9ddfb2d
Merge pull request #10268 from cy-vivekp/pr/serial_rts
...
PSoC6 serial driver: Setup RTS and TX lines on deepsleep entry/exit
2019-04-10 12:23:11 +02:00
Hasnain Virk
34fc828601
Flagging WEAK method implementation for default construction
...
CellularDevice::get_default_instance() is a weak method and is overriden
by either a default construction provided in the code or by application
at some stage. This method needs to be flagged otherwise using another
driver will be hindered by the default overriding of this driver.
2019-04-10 12:52:38 +03:00
Kevin Bracey
f967c8b3d7
cmsis_importer: take just Source/os_systick.c
2019-04-10 11:56:23 +03:00
Martin Kojtal
bb0baee381
Merge pull request #10347 from bridadan/allow_mbed_2_builds
...
Fix detection of supported targets for mbed 2 builds
2019-04-10 10:02:32 +02:00
Cruz Monrreal
8e0259291b
Merge pull request #10348 from theotherjimmy/fix-memap-m33
...
Parse M33 + GCC_ARM map files
2019-04-09 21:44:26 -05:00
Brian Daniels
11775ef111
Force SAMD21 and SAMR21 targets to ARMC5 due to incompatibility.
...
The hal code for this target uses "const volatile" types inside of
structs, which are non-trivially copyable in clang (used by ARMC6). This
causes the build to fail.
Here's the commit that changed this in clang:
a3d727ba77
It seems this was reverteed some time ago in clang, but ARMC6 may not
be up to date.
2019-04-09 14:52:15 -05:00
Brian Daniels
fb6fcc5324
Only enable uvision postbuild when in a non-zipped exported project.
...
Projects that are zipped are typically from the online compiler or they
are meant to be used in a separate environment. Since the postbuild
script requires the Mbed OS tools to present in the project, we will
disable the postbuild script when the project is exported to a zipped
project.
2019-04-09 14:10:38 -05:00
Brian Daniels
bbef60fbf2
Correct calls to merge_region_list
2019-04-09 14:10:37 -05:00
Brian Daniels
ae344342d1
Fix import of region functions
2019-04-09 14:10:37 -05:00
Brian Daniels
1319948412
Conditionally enable post build in uvision for managed bootloader
2019-04-09 14:10:36 -05:00
Brian Daniels
a0cce48282
Modify uvision templates to conditionally enable post build
2019-04-09 14:08:14 -05:00
Brian Daniels
d004828589
Add post build script for uvision to support managed bootloader.
2019-04-09 14:08:14 -05:00
Brian Daniels
4734cb7059
Add template for export info needed by the post build script
2019-04-09 14:08:13 -05:00
Brian Daniels
533ee1f717
Add debug and flash init scripts for uvision.
...
These files are used when the post build script is enabled to support
projects that are using managed bootloader mode.
2019-04-09 14:08:13 -05:00
Brian Daniels
a5d89bb088
Update merge_region_list test case
2019-04-09 14:08:13 -05:00
Brian Daniels
5b33dfd6e4
Update calls to merge_region_list
2019-04-09 14:08:13 -05:00
Brian Daniels
3b768de528
merge_region_list now takes in just restrict_size instead of config.
...
merge_region_list was changed to do some extra checks regarding the
different regions. It only was checking the "restrict_size" parameter
and not the whole config option. So this reduces the argument down to
just this value. This makes it easier to serialize the data needed for
post build steps after being built in an exported project.
2019-04-09 14:08:13 -05:00
Cruz Monrreal
b419cfc3ed
Merge pull request #10328 from kjbracey-arm/stdio_serial_option
...
Add option to disable default UART console
2019-04-09 14:03:41 -05:00
Cruz Monrreal
49cae76a19
Merge pull request #10350 from c1728p9/fix_usb_typo
...
Fix doxygen comment in USBDevice
2019-04-09 14:03:30 -05:00
Cruz Monrreal
73f1edd6db
Merge pull request #10004 from OpenNuvoton/nuvoton_m2351_fix-memory-partition
...
M2351: Support memory custom partition
2019-04-09 14:03:18 -05:00
Cruz Monrreal
803f5fd44e
Merge pull request #9966 from naveenkaje/sct_fix
...
tools: fix the path generated to the sct file
2019-04-09 14:03:09 -05:00
Shrikant Tudavekar
3769ec4acc
place crash data region at end of IRAM
2019-04-09 13:34:18 -05:00
Cruz Monrreal
6dbc00dd8a
Merge pull request #10292 from hasnainvirk/ec2x_driver
...
Cellular: Basic driver for Quectel EC25/EC21
2019-04-09 11:06:51 -05:00
Cruz Monrreal
cec5a85761
Merge pull request #10354 from hasnainvirk/compile_error_at_handler
...
Cellular: Using new rather than malloc in debug_print
2019-04-09 11:06:15 -05:00
Cruz Monrreal
67de89d119
Merge pull request #10346 from lrusinowicz/sequana_armc6_fixes
...
FUTURE_SEQUANA: Add suport for ARMC6
2019-04-09 11:06:05 -05:00
Cruz Monrreal
d1672d0200
Merge pull request #10341 from mirelachirica/check_urc_resp_stop_1
...
Cellular: Check for URC during AT response stop
2019-04-09 11:05:56 -05:00
Cruz Monrreal
2cb157c949
Merge pull request #10324 from jarvte/more_info_from_stm
...
Cellular: new state machine state and better info from stm
2019-04-09 11:05:48 -05:00
Cruz Monrreal
fba8156bda
Merge pull request #9967 from bridadan/fix_vscode_makefile_zip
...
Fix for projects exported as a zip file (affects online compiler)
2019-04-09 11:05:33 -05:00
Brian Daniels
80b0a4cbd8
Make files call the linker from the build dir, so correct the path
2019-04-09 10:20:20 -05:00
Kevin Bracey
c5b5407dc8
cmsis_importer.json: adjust source paths
2019-04-09 17:34:51 +03:00
Jimmy Brisson
002a2b17c0
Fix the bug that travis caught
2019-04-09 09:19:41 -05:00
Teppo Järvelin
8234f00506
Cellular: fix state machine to compile after master rebase
...
Fix automatic rebase error with cellulardevice.cpp
2019-04-09 14:00:59 +03:00
Teppo Järvelin
2470a3611c
Cellular: new state machine state and better info from stm
...
Added new state (signal quality) and more information about progress
so application/driver can build recovery logic.
2019-04-09 13:44:45 +03:00
Martin Kojtal
dc1198b5c8
Merge pull request #10254 from theotherjimmy/remove-some-deadcode
...
Remove unused tools modules and document the used ones.
2019-04-09 12:26:49 +02:00
Hasnain Virk
9229aba87d
Using new rather than malloc in debug_print
...
Using malloc will require us to add stdlib.h somewhere in the path for
the application. Maybe the CI apps are adding stdlib.h and that's why
the code would have worked. In a custom app, it can happen that the
header is not included. Using new avoids the need to add stdlib.h
anywhere and it is more in line with C++.
2019-04-09 12:25:59 +03:00
Martin Kojtal
65ada92527
Merge pull request #10301 from alekla01/examples-verbose-patch-1
...
examples test compile optional verbose
2019-04-09 11:04:33 +02:00
Martin Kojtal
d9463ee95a
Merge pull request #10318 from KariHaapalehto/emw3166
...
Crash with MTB_MXCHIP_EMW3166 has been corrected.
2019-04-09 11:04:20 +02:00
Martin Kojtal
af3a7656a4
Merge pull request #10330 from michalpasztamobica/greentea_test_fixes
...
Reduce greentea socket tests failures related to network issues
2019-04-09 11:03:33 +02:00
Martin Kojtal
4a3edf5c83
Merge pull request #10332 from bridadan/fix_large_print
...
Break up large prints from --supported
2019-04-09 11:03:16 +02:00
Martin Kojtal
905042ec17
Merge pull request #10333 from bridadan/toolchain_path_quotes
...
Allow toolchain paths to be wrapped in quotes
2019-04-09 11:00:43 +02:00
Martin Kojtal
680d10f246
Merge pull request #10335 from orenc17/psa_release_check_exec
...
PSA release.py - Check that required toolchains are in PATH
2019-04-09 10:59:35 +02:00
Martin Kojtal
a59ba20aec
Merge pull request #10338 from jarvte/fix_deleting_of_stm
...
Cellular: Fix deleting of state machine to correct class
2019-04-09 10:59:15 +02:00
Martin Kojtal
47838ea4be
Merge pull request #10340 from paul-szczepanek-arm/fix-negotiate-mtu
...
BLE: fix missing implementation call
2019-04-09 10:58:59 +02:00
Martin Kojtal
f4fa6c9d2a
Merge pull request #10343 from VVESTM/issue_10049
...
TARGET_STM32F7: Reset QSPI in default mode on abort for all versions.
2019-04-09 10:27:56 +02:00
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