Commit Graph

8707 Commits (b0153b7fc5aa9cf1f8ff901b6dc869470e56d67f)

Author SHA1 Message Date
Andrew Domaszek b0153b7fc5 Calculate PWM clock relative to bus clock 2016-11-18 12:18:40 +00:00
Bradley Scott a5544cd704 STM32F3: DISCO_F303VC - Add missing ADC pin muxing options
Corrects the incorrect PA_5 ADC channel mapping, and removes the
non-existent PB_11 ADC channel mapping.
2016-11-18 12:18:39 +00:00
Bradley Scott c36af53793 STM32F3: DISCO_F303VC - Add missing UART pin muxing options 2016-11-18 12:18:38 +00:00
Jimmy Brisson fdf77e7faa Allow dependency parsing to fail, gracefully continuing 2016-11-18 12:18:36 +00:00
Brian Daniels 1d99d7e77a Fixing invalid comment notation in assembly file 2016-11-18 12:18:35 +00:00
Brian Daniels f037e325b0 Renames all prebuilt binaries to be prefixed with 'lib'
This fixes an issue with make_iar, since IAR requires all libraries that
are linked to be prefixed with 'lib'.
2016-11-18 12:18:33 +00:00
Radhika 81c4681698 Modified user trim default values. 2016-11-18 12:18:30 +00:00
Radhika 09134cd2b0 Configuration of user trim moved to targets.json 2016-11-18 12:18:29 +00:00
Radhika b531cb948c User trim added. Astyle and pylint run on code. 2016-11-18 12:18:28 +00:00
Jimmy Brisson bb9c27821f Append targets to scan list for exporting tests 2016-11-18 12:18:26 +00:00
Tony Wu 81d667e1f3 netsocket - Fix set_ip_bytes out-of-bound access
set_ip_bytes() does a 16-byte memcpy from the input buffer to
the local nsapi_addr_t despite the address version.

If the address version is ipv4, the input buffer may only be
4-byte in size. This causes a out-of-bound access on the input buffer.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2016-11-18 12:18:25 +00:00
Tony Wu 82df0e1181 lwip - Fix lwip_mac_address buffer overflow
Sounds serious, but should be benign.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2016-11-18 12:18:24 +00:00
Niklas Hauser 608eace3c8 Added the commit: Access MCG and SIM through secure access
This is needed for uvisor

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-18 12:18:22 +00:00
Mahadevan Mahesh 0a134b851a K64F ENET: Update to remove unused variable. This is no longer available in the updated SDK ENET driver 2016-11-18 12:18:21 +00:00
Mahadevan Mahesh 6c9715b738 K64F: Update to the latest SDK drivers
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-18 12:18:20 +00:00
jeromecoutant 2bc01394ea NUCLEO_F410RB: Add I2C_ASYNCH capability
It has disappeeared with https://github.com/ARMmbed/mbed-os/pull/2765
2016-11-18 12:18:18 +00:00
ccli8 9d9d432185 Reduce (interrupt) stack size from 4 KB to 2 KB 2016-11-18 12:18:17 +00:00
ccli8 dc88742fde Reduce (interrupt) stack size from 12 KB to 4 KB 2016-11-18 12:18:15 +00:00
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