Commit Graph

9004 Commits (1e791e2e769c104353351faac409fc6aad138880)

Author SHA1 Message Date
Sam Grove 9138f62742 Merge pull request #3052 from theotherjimmy/name-eclipse-exporters
Exporters - Name the eclipse exporters and remove relpath computations
2016-10-19 05:49:46 -05:00
Sam Grove 026e880943 Merge pull request #3042 from mikaleppanen/lwip_tcp_acc_corr
Corrected lwip TCP socket accept ipv6 address conversion
2016-10-19 05:48:33 -05:00
Sam Grove d58bfa711d Merge pull request #3041 from nvlsianpu/nrf5_serial_fc
[nRF5] - added implementation of API of serial port flow control configuration.
2016-10-19 05:48:20 -05:00
Sam Grove 97670e3e6f Merge pull request #3040 from andresag01/update-mbedtls-to-2.4.0
Update feature/mbedtls to version 2.4.0
2016-10-19 05:48:06 -05:00
Sam Grove 61e40cd90b Merge pull request #3035 from c1728p9/fix_config_store
Fix config store
2016-10-19 05:47:47 -05:00
Sam Grove 44eca95c3d Merge pull request #3028 from maclobdell/ncs36510_exporter_definitions
add ncs36510 exporter support for IAR
2016-10-19 05:47:13 -05:00
Sam Grove 5bcebba71d Merge pull request #3023 from jeromecoutant/PR_digital_loop_tests
digital_loop tests update for STM32
2016-10-19 05:46:22 -05:00
Sam Grove 64c527ee44 Merge pull request #3017 from bridadan/wait-before-deepsleep-test
[tests] Waiting before call to deepsleep to allow buffers to flush
2016-10-19 05:46:03 -05:00
Sam Grove 2ae71777aa Merge pull request #3013 from bcostm/check_adcintch_pins
STM32xx - Change how the ADC internal pins are checked before pinmap_…
2016-10-19 05:43:15 -05:00
Sam Grove 5eee95b7f5 Merge pull request #3008 from bcostm/fix_pwm_nucleo-f072rb
NUCLEO_F072RB: Fix wrong timer channel number on pwm PB_5 pin
2016-10-19 05:42:57 -05:00
Sam Grove 435d5fb3bb Merge pull request #2992 from jeromecoutant/PR_Init_Time_Issue
Increase serial init timeout value
2016-10-19 05:42:20 -05:00
Sam Grove 6bd44c59d3 Merge pull request #2990 from bridadan/parallel-test-build
[tools] Parallel building of tests
2016-10-19 05:41:24 -05:00
Sam Grove 06509880d9 Merge pull request #2966 from NXPmicro/Add_KW24_Support
Add kw24 support
2016-10-19 05:40:23 -05:00
jeromecoutant ae9041b12c i2c_loop tests update for STM32 2016-10-19 11:15:38 +02:00
Radhika 7598b0572b Enable not checking against 0 or 1. 2016-10-19 14:11:49 +05:30
Radhika 1573405135 IRQ enable code moved out. 2016-10-19 13:44:10 +05:30
jeromecoutant 78b4f25b5c analog_loop test - keep mcu list and update with STM32 boards 2016-10-19 09:54:23 +02:00
Kevin Bracey 9a00890fde Fix DEVICE_RANDOM fread call
size and nitems parameters were the wrong way around, so the call did
not return 1 as expected, meaning DEVICE_RANDOM functionality failed.
2016-10-19 08:09:42 +01:00
Radhika 17ed9e9777 Reverting Clock GPIO code to previous implementation of the gpio_api.c and gpio_irq_api.c 2016-10-19 09:52:12 +05:30
Russ Butler d854547b0c NUCLEO_F429 - Increase IAR heap size
Increase the IAR heap size from 48KiB to 64KiB. This give enough heap
space to run the TLS encryption examples.
2016-10-18 16:43:28 -05:00
Jimmy Brisson a9d63b2365 Update the IAR debug template" 2016-10-18 16:00:58 -05:00
Jimmy Brisson 167ed2bc12 check in a copy of the arm-pack-manager index and use it 2016-10-18 13:56:17 -05:00
Mahadevan Mahesh 7e26876baf Sleep API Update. Call Board RUN function as some platforms need more than setting the clock mode.
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-18 12:47:28 -05:00
Mahadevan Mahesh 020ace1424 Add support for FRDM KW24D
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-18 12:47:23 -05:00
Jimmy Brisson 18b34794be Add quick print to the makefile when srec_cat is required 2016-10-18 10:58:51 -05:00
Jimmy Brisson 7a8917fcf8 Use correct names for library files 2016-10-18 10:30:46 -05:00
Jimmy Brisson 25ca0e3cfb Fix traceback from incorrect use of core 2016-10-18 10:29:37 -05:00
Kevin Bracey 796d47718a Merge pull request #6 from ARMmbed/xoroshiro128
Add local pseudo-RNG to randLIB
2016-10-18 15:52:07 +01:00
Mike Fiore c6fde7cfce [MTS_MDOT_F411RE] remove duplicate PWMs, fix swapped pins 2016-10-18 09:34:46 -05:00
Russ Butler 23af2421f3 Remove non-code profiles
Remove profiles which are not suitable for building stand alone. This
leaves just the 3 core profiles.
2016-10-18 09:23:10 -05:00
Russ Butler 0d51f18f02 New build profile and docs
Add a small build profile and general docs for build profiles.
2016-10-18 09:23:01 -05:00
Anna Bridge 36964561b9 Review: Update example_lib.py to use rmtree rather than rm system call.
Update examples.json to limit TLS examples to a couple of boards and only
GCC_ARM and ARM compilers.
2016-10-18 12:30:19 +01:00
Kevin Bracey c1634ba5a0 Allow splitmix64 code to be avoided
Potentially allow platforms with known-good seed generation to avoid the
code overhead of splitmix64. Not actually activating, as I don't believe
we have any such platforms yet...
2016-10-18 12:07:00 +01:00
Laurent MEUNIER 24d82d10ba [STM32F1] Fix pull overwrite
This fix addresses issue #2638 for STM32F1.
The STM32F1 family has a diffeerent register set for pull-up and pull-down
settings.

The same principle to read HW state is applied, as in commit:
[STM32] Fix pull over write to all families
except registers are different.

Also in this patch we make code a bit more linear.
Depending on pin_index, different register and shift index must be used.
Instead of checking this in several place, let's make a check at the
beginning of the function and use local register and shift variables.
2016-10-18 12:16:58 +02:00
Laurent MEUNIER af51027f61 [STM32] Fix pull over write to all families
This applies the same fix as was done for F4 to solve issue #2638.
The fix applies ell to all other families excpet STM32F1.

Basically, to avoid over-writing the pull-up/-down settings, we read the
current state from HW.
2016-10-18 12:16:58 +02:00
Martin Kojtal 9976738882 Merge pull request #3047 from sarahmarshy/iar-defines
Remove k64f defines from IAR templates
2016-10-18 10:45:14 +01:00
Martin Kojtal efc7fe0a10 Merge pull request #3053 from andreaslarssonublox/ublox_fix_static_init_of_wifi_intf
Odin: Fixed the emac_interface_t struct for wifi_emac_api.cpp
2016-10-18 10:33:39 +01:00
Tero Heinonen 9c88fcd984 Delete transactions that are not supposed to get reply (#37)
* Delete transactions that are not supposed to get reply

When sending non-confirmable request that is not supposed to get reply,
it must be deleted after sending.

Also some general code-cleaning included.

* Remove outdated transactions from queue

If transaction does not get response, it will be deleted from queue.
2016-10-18 11:55:54 +03:00
Kevin Bracey 4691a58a4c Remove separate Linux implementation
Linux /dev/urandom implementation now folded into main file.

Main file can be forced to use own pseudo-RNG by defining RANDLIB_PRNG -
used for unit tests, and could maybe also be used on simulator.
2016-10-18 09:23:32 +01:00
Kevin Bracey fce09a935b Add local pseudo-RNG to randLIB
Rather than using system rand(), provide our own pseudo-RNG.

Generator used is "xoroshiro128+", which has 16 bytes of state and
2^128-1 period.

Main advantage is that we can now seed with up to 128 bits of entropy,
rather than the 32 bits srand() limited us to. We also can be assured of
the quality of the algorithm.

As the core generator is 64-bit, we now provide a get 64-bit function,
and others are based on this.

Incorporate Linux's /dev/urandom use into the main source file.
2016-10-18 09:23:32 +01:00
Toyomasa Watarai 74cd326e35 Add cmsis.h inclusion 2016-10-18 11:27:52 +09:00
Russ Butler 3601b5ebb3 CFSTORE - Fix test failures due to fragmentation
In the config store create test in test case #5 the amount of available
memory is determined by fully allocating the heap. This is done
multiple times to determine if there is a memory leak. This causes
problems when even slight fragmentation occurs in the heap, since
the size that can be allocated is decreased slightly, which the test
flags as a memory leak.

This patch makes memory leak detection more robust by using metrics
provided by mbed_stats_heap_get. These metrics are an exact
measurement of memory allocated is not changed by fragmentation.
This allows the memory leak test to report correct values regardless of
fragmentation.
2016-10-17 21:08:57 -05:00
andreas.larsson cb113d738e Moved mbedtls config for u-blox ODIN-W2 to macros in target.json 2016-10-18 01:07:48 +02:00
andreas.larsson b8355c2073 Fixed the emac_interface_t struct so that the struct constructor is not used.
We can not rely on the struct constructor to be run since wifi_emac_get_interface can be run from the OdinWiFiInterface constructor before that.
2016-10-18 00:36:30 +02:00
Mike Fiore b6f7b8c463 [MTS_MDOT_F411RE] clean up peripheral pins & add new pin names 2016-10-17 15:36:28 -05:00
Jimmy Brisson c64446dc39 Remove unneeded relpath calculations 2016-10-17 14:51:28 -05:00
Jimmy Brisson 2912522930 Exporters - Name the eclipse exporters 2016-10-17 14:35:26 -05:00
Anna Bridge bbfa954839 Make update.py test compile examples prior to updating mbed-os version.
Changes:
Refactor examples.py to add a new command line option to provide an update
tag.
Refactor examples.py to add new functionality to update the version of
mbed-os in the examples to a supplied tag.
Refactor examples.py to make cloning the example repos, updating their
mbed-os version and compiling, into library functions and move to a new
library module.
Refactor the format of the examples.json file to make it compatible with
both examples.py and update.py.
Refactor update.py so that examples are test compiled prior to updating.
Refactor update.py so that only examples tagged as auto-updatable and that
fully compile are automatically updated.
2016-10-17 16:56:28 +01:00
Sarah Marsh e001dd1080 Removed k64f defines from templates 2016-10-17 10:52:58 -05:00
Andres AG 57814ddbbc Update feature/mbedtls to version 2.4.0 2016-10-17 13:32:25 +01:00