Commit Graph

8669 Commits (d55e739c663b200f0aed2eb04a32af61d189db40)

Author SHA1 Message Date
Sarah Marsh d55e739c66 Capable of testing export only to IDEs that do not have build functions 2016-11-18 12:17:44 +00:00
Christopher Haster f91bfe3df1 Fixed arithmetic error in rtos-based wait
The value of `start` is taken from before that wait call, so the value
of `us` shouldn't be changed
2016-11-18 12:17:43 +00:00
Rida Jichi 539b35002d Modified micro:bit pin names to mirror micro:bit edge connector
Resolved issue: https://github.com/ARMmbed/mbed-os/issues/2713

Removed pins p{0..30} definitions
Defined pins P{0..20} as per micro:bit DAL's mappings:
(https://github.com/lancaster-university/microbit-dal/blob/master/inc/drivers/MicroBitPin.h)

Developers can now use the pin names as they appear on the mbed micro:bit pinout
in https://developer.mbed.org/platforms/Microbit/#pinout

Change-Id: I72b81dbe23b11d5ef215583adb211f364b4a5e91
2016-11-18 12:17:42 +00:00
Rida Jichi c22c1ab3eb Replaced p{0..30} with P0_{0..30} in the NRF51822 api's
Change-Id: I0e080a30717ee0bcfa2db3f134acb08be851d767
2016-11-18 12:17:41 +00:00
Rida Jichi 5ba17329c4 Ensured all NORDIC platforms define P0_{0..30} to match existing p{0..30} in PinNames.h
Change-Id: I8d7ff6fe5ff5377f7ec8d3bc790dde0b0627f072
2016-11-18 12:17:40 +00:00
tomoyuki yamanaka 57631a6f1f Fixed the issue about push/pop of VFP register.
When the floating-point calculation is executed into the processing which is called from IRQ handlers, VFP register is overwritten.
Therefore, we fixed the issue. we added the process to execute the saving (Push) and the returning (Pop) of VFP register in before and after the appropriate processing.
2016-11-18 12:17:38 +00:00
Christopher Haster 3ada0fd863 Added mbed_preprocessor.h to collect common cpp definitions 2016-11-18 12:17:37 +00:00
Christopher Haster 14b7ca78d1 Adopted MBED_STATIC_ASSERT where possible 2016-11-18 12:17:36 +00:00
Christopher Haster ad66e488bf Added static assert macro
Added MBED_STATIC_ASSERT for compile-time assertions, results in
compile-time error if condition is false

The assertion acts as a declaration that can be placed at file scope, in
a code block (except after a label), or as a member of
a C++ class/struct/union.

Unfortunately, there does not exist a backup construct for use in
C class/struct/union contexts. An alternative macro,
MBED_STRUCT_STATIC_ASSERT provides this ability to avoid disabling
static assertions for the majority of mbed-supported C compilers.
2016-11-18 12:17:34 +00:00
Martin Kojtal a1c0840b3d Merge pull request #3227 from ARMmbed/release-candidate
Release candidate for mbed-os-5.2.2
2016-11-08 16:02:35 +00:00
Anna Bridge 639bd4fa28 Update MBED_LIBRARY_VERSION to 129 2016-11-08 10:54:52 +00:00
andreas.larsson f764479e67 Tab -> spaces 2016-11-08 10:45:09 +00:00
andreas.larsson 4736cab543 Updated ublox ODIN-W2 binaries 2016-11-08 10:45:08 +00:00
Andreas Larsson 3fccdea27b Fixed dynamic message queue for scan results 2016-11-08 10:45:06 +00:00
Andreas Larsson d255de6d83 Added cbMAIN_dispatchEventQueue 2016-11-08 10:45:05 +00:00
andreas.larsson 9ddfed274f Added missing checks for wifi_link_out when allocating packets 2016-11-08 10:45:03 +00:00
andreas.larsson 2c1c84502a Added copying of the wifi_link_out buffer since the buffer might change after call chain has ended. 2016-11-08 10:45:02 +00:00
andreas.larsson 10cfea3bd8 Added emac_stack_mem_copy. Needed by the u-blox ODIN-W2 driver. 2016-11-08 10:45:01 +00:00
Christopher Haster a49783c34f nsapi - Adopted standardized return types in the Nanostack interfaces 2016-11-08 10:44:59 +00:00
Christopher Haster 33b600ef03 nsapi - Adopted standardized return types in the Odin wifi interface 2016-11-08 10:44:57 +00:00
Christopher Haster e769c79ccc nsapi - Adopted standardized return types in lwip 2016-11-08 10:44:56 +00:00
Christopher Haster 67dcb9fc4e nsapi - Added standardized return types for size and errors
nsapi_error_t         - enum of errors or 0 for NSAPI_ERROR_OK
nsapi_size_t          - unsigned size of data that could be sent
nsapi_size_or_error_t - either a non-negative size or negative error
2016-11-08 10:44:55 +00:00
Brian Daniels 868dcdc211 Using Popen for uvision and unifying the structure of the build function across exporters 2016-11-08 10:44:53 +00:00
Jimmy Brisson 8a379958e5 Force make exporter to search PATH for compilers 2016-11-08 10:44:52 +00:00
sarahmarshy 93e5e235b1 Directory traversal error
Change indentation level for directory traversal, so that we only move up at the end of exporting one project for all ide/target combinations.
2016-11-08 10:44:50 +00:00
Jimmy Brisson 8f138f6d16 Quote make invocation too 2016-11-08 10:44:49 +00:00
Jimmy Brisson 9ef6986ebe Quote the shell call in mkdir and rmdir
Allows the use of bash in windows
2016-11-08 10:44:48 +00:00
Jimmy Brisson 07cb26874c Use internal class variable for resolving templates in makefiles
This allows other exporters to inherit from make and change the name of
the exporter without breaking.
2016-11-08 10:44:47 +00:00
Mike Fiore 0058695e8f add back SPI3 pins that shouldn't have been removed 2016-11-08 10:44:45 +00:00
Sarah Marsh 9cf3c5688a Exporter documentation 2016-11-08 10:44:44 +00:00
cyliangtw f824231bce fixed misaligned lines in can_api.c of NUC472 & M453 2016-11-08 10:44:43 +00:00
cyliangtw 12f3cb8dae remove dead code in can_api.c of NUC472 & M453 2016-11-08 10:44:42 +00:00
cyliangtw a3698abee2 remove dead code in device.h of NUC472 & M453 2016-11-08 10:44:40 +00:00
cyliangtw 83d657b1da replace tab by 4 space char 2016-11-08 10:44:39 +00:00
cyliangtw b0df87c149 Fix SetBaudRate 5% inaccuracy issue 2016-11-08 10:44:38 +00:00
cyliangtw ad329f79b8 Support CAN 2016-11-08 10:44:36 +00:00
cyliangtw 6af9ee295f support NUC472 CAN 2016-11-08 10:44:34 +00:00
ccli8 c4f0ce24c5 Fix PWM1 clock source setting error 2016-11-08 10:44:33 +00:00
ccli8 06b7d5df39 Rename SD_0/SD_1 SD_0_0/SD_0_1 to match real SD H/W 2016-11-08 10:44:31 +00:00
Mahadevan Mahesh dc7f0200dc Update tests to fix build failures. Also make the code similar to other tests
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-08 10:44:30 +00:00
Janne Kiiskilä f3ec6355ca Remove the variable ret due to compiler warning: Compile [ 94.6%]: trng_api.c [Warning] trng_api.c@67,9: unused variable 'ret' [-Wunused-variable]
Github issue #3183
2016-11-08 10:44:29 +00:00
Ashok Rao 15f3d3ff86 Incorporating Brian Daniel's review comments for PR 3136 2016-11-08 10:44:28 +00:00
Marcelo Salazar 9b1c73522f Folder re-org to fit new MCU K22F variances
This is a simple re-structure of the K22F folder to allow other MCU
variances to land here.
Created the MCU_K22F512 device but left the 'K22F' as a target for
the FRDM-K22F board.

Rebased to master
2016-11-08 10:44:26 +00:00
Sarah Marsh 96259cdfb6 Add boolean 'export' to examples.json.
This will determine whether the example should be exported. Additionally,
relocated export logic to examples_lib.py.
2016-11-08 10:44:24 +00:00
Sarah Marsh 21ac2431b8 Build method documentation. Removal of unused Exception classes. 2016-11-08 10:44:23 +00:00
Sarah Marsh 718d0c0185 Make ArmPackManager cache a static variable (to avoid reading index.json for each target). 2016-11-08 10:44:22 +00:00
Sarah Marsh 5e4289aef0 changing variable names and respecting requirement kwargs 2016-11-08 10:44:21 +00:00
Sarah Marsh 027f2b23cc New export-build tests.
Allows command line workflow of:
mbed import
mbed export

Also revises exporter supported target checks
2016-11-08 10:44:19 +00:00
Brian Daniels fe029510c9 Adding check to Travis for exporter support matrix 2016-11-08 10:44:18 +00:00
Brian Daniels 21307015fc Fixing project.py -S printing problem
Printing too large of a string can fail in Windows, as detailed here:
https://bugs.python.org/issue11395. This works around the problem by
adding a print_large_string function that breaks up the string into
smaller pieces before printing it.
2016-11-08 10:44:17 +00:00