Commit Graph

9247 Commits (e29135ed1c1e019ccba6f627e4ef30ecaecd7a8a)

Author SHA1 Message Date
Martin Kojtal f7068eb57a Merge pull request #3279 from yanesca/mbedtls-hardware-acceleration-configuration
Move crypto hardware acceleration configuration.
2016-11-21 23:22:16 +00:00
Martin Kojtal f6022e7b8f Merge pull request #3282 from c1728p9/fix_nvic
Ensure isr cannot occur after NVIC_DisableIRQ
2016-11-21 23:21:06 +00:00
Martin Kojtal e07fcda4d0 Merge pull request #3287 from sg-/make-build
Unify output directory for mbed-cli and exporters
2016-11-21 23:19:42 +00:00
Martin Kojtal a987cc0bee Merge pull request #3271 from ARMmbed/odin_wifi_default_on
WiFi: Make WiFi default networking interface on Odin board
2016-11-21 23:19:02 +00:00
Martin Kojtal 4638cea1b2 Merge pull request #3297 from Mizuho32/master-greentea_client-mutex
added static specifer in green_metrics.cpp
2016-11-21 23:17:47 +00:00
Christopher Haster 87a1cfee42 Added equeue tests to travis CI 2016-11-21 12:48:16 -06:00
Christopher Haster d513587806 events - Fixed unchaining of event queues
The equeue_chain function is supposed to unchain the event queue
from whatever queue it is chained to when passed a null target.
Internally, this is accomplished by just calling equeue_background
with null and letting the previously registered update function
clean up the chaining.

However, equeue_chain did not appropriately check for null, causing
it to unnecessarily allocate memory and leaving the update function
in a bad state. Fixed with a simple null check.
2016-11-21 12:25:48 -06:00
Jimmy Brisson 27f7aeef47 Add sys import to config 2016-11-21 11:26:21 -06:00
Mohammad Azim Khan e8048baa40 Added examples uvisor-thread and uvisor-number-store 2016-11-21 17:12:52 +00:00
micromint 22c0e3560b Support building mbed_critical.c with C++ compiler 2016-11-21 12:59:45 -04:00
bcostm 2ae748910b STM32F4 - Clear VBATE and TSVREFE bits before configuring ADC channels 2016-11-21 13:07:26 +01:00
Michael Ammann 76cfccb716 Update PinNames.h 2016-11-21 08:07:58 +01:00
Mizuho 56d71a429e added static specifer in green_metrics.cpp 2016-11-19 08:17:05 +09:00
Christopher Haster 83e5f272f6 Added '-g3' flag to gcc debug flags
Includes extra information, such as all the macro definitions present
in the program
2016-11-18 14:45:59 -06:00
Michael Ammann 5cf34fac8e Add files via upload 2016-11-18 17:17:28 +01:00
Michael Ammann 83379979a2 Create device.h 2016-11-18 17:17:15 +01:00
Michael Ammann 1b59ec0376 Update targets.json 2016-11-18 17:15:08 +01:00
Janos Follath e9144ad771 Apply new naming convention to mbed TLS macros 2016-11-18 15:01:01 +00:00
tomoyuki yamanaka b7c901c8e7 Bug fix of initial value of interrupt edge in "gpio_irq_init" function.
Renesas modified the  initial value of interrupt edge in "gpio_irq_init" function.
The value was "both egde(rise and fall)".So we modified it to "low revel".
2016-11-18 21:03:00 +09:00
Janos Follath 9137574e4d Move mbed TLS configuration symbol to macro section
The configuration option for the mbed TLS specific hardware acceleration
has to be in the macro section and not in the device capabilities
section in targets.json.

The option has also been renamed to better reflect its function.
2016-11-18 09:55:16 +00:00
Laurent MEUNIER 40b0402484 [stm32] Enable SPI_ASYNCH for L0 and L1 families 2016-11-18 09:59:53 +01:00
Laurent MEUNIER e2613d5058 stm32 spi : IRQ handler light optimization
This commit contains a few optimizations to get a better performance
in SPI Asynch mode
2016-11-18 09:59:53 +01:00
Laurent MEUNIER 79af576051 stm32 spi - IRQ management
Disable IRQ when transfer is finished.
Also clear pending IRQ after they have been disabled.
2016-11-18 09:59:53 +01:00
Laurent MEUNIER 64a037cc8d STM32L0 - update spi HAL driver
This is a temporary update waiting for the next official release
2016-11-18 09:59:53 +01:00
Laurent MEUNIER 65db01f457 STM32L1 - update spi HAL driver
This is a temporary update waiting for the next official release
2016-11-18 09:59:53 +01:00
Laurent MEUNIER 7cdaba8474 [stm32] remove unused module member in spi_s struct 2016-11-18 09:59:53 +01:00
Sam Grove f0e3ff4909 [exporters] update makefile build output directory to match mbed-cli and use the special reserved folder BUILD 2016-11-18 00:25:01 -06:00
Sam Grove 91361ec39a [tools] update default build directory from .build to BUILD 2016-11-18 00:23:25 -06:00
Sam Grove a6f5233f45 [exporters] update uvision teamplates so build artifacts end up in BUILD directory, not .build 2016-11-18 00:23:18 -06:00
Sam Grove 7297fdf3f6 [exporters] update iar teamplates so build artifacts end up in BUILD directory, not .build 2016-11-18 00:23:09 -06:00
Sam Grove 2fe28f0da1 [tools] update comments in memmap about build folder name 2016-11-18 00:22:58 -06:00
Sam Grove 6bee31eaad [exporters] make sure to clean .build and BUILD when testing uvision 2016-11-18 00:22:43 -06:00
Sam Grove 116d8dffdd [exporters] make sure to clean .build and BUILD when testing iar 2016-11-18 00:22:35 -06:00
Sam Grove 72cdf9d16f [exporters] iar build artifacts in BUILD directory, not .build 2016-11-18 00:22:21 -06:00
Sam Grove 0d3e9f0968 [exporters] make sure to clean .build and BUILD 2016-11-18 00:21:55 -06:00
Brian Daniels 57e693de86 Passing toolchain path info to subprocesses.
Since the toolchain path info lives as a global variable, its not
propigating to the subprocesses that are created to compile the tests in
parallel. This change manually passes these global variables and then
reassigns them.
2016-11-17 12:20:34 -08:00
Brian Daniels d7fbe2c109 Removing remaining references to Curl from ARM pack manager 2016-11-17 11:58:39 -08:00
Christopher Haster b09ca768b6 Moved emac_api.h to the appropriate folder
Previously in hal/hal/emac_api.h, the emac_api must have
been missed during restructuring
2016-11-17 13:52:42 -06:00
Russ Butler cf5cd7dfd4 Ensure isr cannot occur after NVIC_DisableIRQ
Add data and instruction synchronization barriers to prevent
interrupts from occurring after NVIC_DisableIRQ is called. This
is a backport of changes made in CMSIS_5.
2016-11-17 12:26:45 -06:00
Janos Follath 80aedd2f39 Move crypto hardware acceleration configuration
The crypto hardware acceleration might require defining a lot of mbed
TLS specific macros. Enumerating all of them in `targets.json` creates
too much noise, therefore we move it into a target specific mbed TLS
header.

The target with crypto hardware acceleration has to
        - indicate its capability in `targets.json` by adding "CRYPTO"
          to the "device_has" section
        - has to define his crypto hardware acceleration related macros
          in an `mbedtls_device.h` header
        - place the `mbedtls_device.h` file in the
          `features/mbedtls/targets/TARGET_XXXX`
          directory specific to the target
2016-11-17 14:38:04 +00:00
bcostm 6f12eca4a6 NUCLEO_F103RB - Add RTS/CTS pins for Serial Flow Control 2016-11-17 10:15:21 +01:00
Martin Kojtal aeabcc9472 Merge pull request #3262 from TomoYamanaka/master
Add API which cleans Dcache in IAR compiler.
2016-11-16 17:45:27 +00:00
Martin Kojtal 3aac153fa8 Merge pull request #3254 from pan-/nrf_long_write
[BLE - NRF5] Add support for long write requests.
2016-11-16 17:45:02 +00:00
Martin Kojtal 5cea44c755 Merge pull request #3252 from pan-/fix_nrf51_rtc
[NORDIC - NRF51 - MBED 2] Fix non handled RTC IRQ
2016-11-16 17:43:31 +00:00
Martin Kojtal 6eb33e5f3c Merge pull request #3251 from LMESTM/dev_stm32l0_cube_v1.7.0
Dev stm32l0 cube v1.7.0
2016-11-16 17:43:16 +00:00
Martin Kojtal 8eaeb86780 Merge pull request #3244 from geky/callback-type-relaxation
callback - Relax type-deduction in callback class
2016-11-16 17:42:58 +00:00
Martin Kojtal 5750f31d6d Merge pull request #3238 from LMESTM/dev_i2c_stm32f4hal
Dev i2c stm32f4hal
2016-11-16 17:42:12 +00:00
Martin Kojtal b36944fafc Merge pull request #3141 from geky/stats-stack
stats - Add cleaner stats API for stack usage
2016-11-16 17:41:37 +00:00
Martin Kojtal 98029e3906 Merge pull request #3065 from geky/nsapi-remove-same-thread-asserts
nsapi - Remove assertions on same-thread send/recv
2016-11-16 17:41:13 +00:00
Seppo Takalo 3d5962db48 Return localhost from NanostackInterface::get_ip_address()
For NetworkStack::gethostbyname() to properly validate the
IP address version, we must return a valid address from
Networkstack::get_ip_address().
2016-11-16 19:07:23 +02:00