Commit Graph

8739 Commits (mbed-os-5.2)

Author SHA1 Message Date
ccli8 251b0b6ff3 Remove dead code in device.h 2016-11-18 12:18:14 +00:00
ccli8 1e480585db Support UART H/W module shared by multiple serial S/W objects
1. With GCC_ARM and uARM, some greentea tests fail due to no support for this.
2. Bind UART H/W module to correct serial S/W object for interrupt.
2016-11-18 12:18:13 +00:00
jeromecoutant bfba208514 Add I2C_ASYNCH capability for DISCO_F469NI 2016-11-18 12:18:11 +00:00
Christopher Haster 34e061fa21 Marked the RtosTimer class as deprecated
The non-irq timer functionality provided by the RtosTimer is now
duplicated by the EventQueue. See RtosTimer.h for more info.
2016-11-18 12:18:10 +00:00
Jimmy Brisson fc6c450d0b Add message that informs the user which hex to flash 2016-11-18 12:18:08 +00:00
Christopher Haster b724f0ca35 nsapi - Added test cases for gethostbyname
- test_dns_query
- test_dns_query_pref
- test_dns_literal
- test_dns_literal_pref
2016-11-18 12:18:07 +00:00
Christopher Haster eaff8047a5 nsapi - Fixed missing NSAPI_UNSPEC check in gethostbyname for ip literals 2016-11-18 12:18:06 +00:00
Bartek Szatkowski 1fa22a8fbc WiFi: Minor fixes to docs and includes 2016-11-18 12:18:04 +00:00
Peter Harliman Liem 1c4a2dff13 Fix wrong index at LPC43xx tx end ring assignment
NUM_TX_FRAG should be used instead of NUM_RX_FRAG
2016-11-18 12:18:03 +00:00
Max Vilimpoc a2729c13e7 Add .hpp to list of Uvision Exporter extensions 2016-11-18 12:18:01 +00:00
Brian Daniels 2cd5403aad Ignoring args parameter for functions that don't use them 2016-11-18 12:18:00 +00:00
Brian Daniels df72f3a1f2 Fixing issue with target_cross_ide 2016-11-18 12:17:59 +00:00
Brian Daniels 9ff4f509fb Fixing use of get_repo_list in update function 2016-11-18 12:17:58 +00:00
Brian Daniels 191e989474 Correcting example, toolchain, and ide filters 2016-11-18 12:17:56 +00:00
Sarah Marsh fd80f40851 update mbed-os in selected examples 2016-11-18 12:17:55 +00:00
Sarah Marsh 6855da6b9a conditional intersection for targets 2016-11-18 12:17:53 +00:00
Sarah Marsh 3f1dce3928 Implement filtering of targets and examples. 2016-11-18 12:17:52 +00:00
Brian Daniels 8d873bf154 Adding MCU and example filter options to example test CLI 2016-11-18 12:17:51 +00:00
Brian Daniels f323545503 Adding a clone and a deploy step to allow optimizations in CI.
This adds an example clone and deploy step that allows you to modify
each top level repository before pulling in the rest of the example's
dependencies. This allows us to not pull in a copy of mbed-os for each
example in CI and instead symbolic link the already cloned copy, saving
valuable time and disk space
2016-11-18 12:17:50 +00:00
Colin Hogben 6a9a73241a Add mbed OS version macros
Allow compile-time tests on the version of mbed-os to cope with
e.g. API changes across versions.

To distinguish between mbed OS 2 and mbed OS 5, we use the
MBED_CONF_RTOS_PRESENT macro.

Note: mbed OS 2 versioning is 2.0.MBED_LIBRARY_VERSION
2016-11-18 12:17:47 +00:00
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