Commit Graph

13882 Commits (mbed-os-5.7)

Author SHA1 Message Date
bcostm 39d38eb245 STM32F0: Add Flash API support 2018-01-12 15:01:43 +00:00
bcostm 84dc7f82d5 STM32F1: Add Flash API support 2018-01-12 15:01:43 +00:00
Martin Kojtal eca67ca7da
Merge pull request #5767 from ARMmbed/release-candidate
Release candidate for mbed-os-5.7.2
2018-01-03 09:13:52 +00:00
adbridge 431b2d1b86 Revert "Supplement the lack of "extended RTC" in RZ_A1H/rtc_api.c"
This reverts commit 1bb2ca68ea.
2018-01-02 16:27:12 +00:00
adbridge 37641d7e88 Update Mbed version block for patch release 2018-01-02 15:22:05 +00:00
Martin Kojtal 97a61c43e3 VK RZ A1H: remove target from mbed 2 release
As it does not share the codebase with RZ A1H, it needs to be disabled until
bring it up to date with the latest changes to cmsis. There are changes
regarding caches, mmu and others
2018-01-02 15:22:05 +00:00
Martin Kojtal 54d12c8d74 VK RZ A1H: fix errors from the latest cmsis updates
Use mbed critical section
2018-01-02 15:22:05 +00:00
Martin Kojtal 7327e8e5e6 tools: cmsis and hal are build together
Build api used to build cmsis separately (how mbed 2 is being build). This is
currently not how cmsis is being defined. As there target dependencies in some
cases, we should include paths from targets when building cmsis
2018-01-02 15:22:04 +00:00
Martin Kojtal 89bc1a23ba Travis: add RZ_A1H target
Travis: dsp only for cortex-m
2018-01-02 15:22:04 +00:00
Martin Kojtal a83068cdf3 renesas: os tick only for rtos
As this is os tick implementation for rtos, it should not be compilied if rtos
not present (mbed 2)
2018-01-02 15:22:04 +00:00
andreas.larsson 404e8ed1a0 Added license header 2018-01-02 15:22:04 +00:00
andreas.larsson d95a2535d3 Added init for ODIN EVK LEDs to be off by default 2018-01-02 15:22:04 +00:00
Seppo Takalo bbe11de7e0 Remove destruction of WiFi interface in test runs
Most of our IP stacks don't allow removal of interfaces so
interface destructor can not reliably clean up. Therefore we
cannot rely its behaviours in test case.

Instead run interface->disconnect() in case interface was already
created.
2018-01-02 15:22:04 +00:00
Deepika 68da43c1c5 Access to serial device is allowed when DEVICE_SERIAL is defined 2018-01-02 15:22:04 +00:00
bcostm 177c95b0e3 STM32 USBHOST: Remove DISCO_F429ZI
Impossible to make USBHost working on this board.
Remove it for now until a fix is found.
2018-01-02 15:22:04 +00:00
bcostm 1fb7102cb1 STM32 USBHOST: Corrections for DISCO_F746NG 2018-01-02 15:22:04 +00:00
bcostm ed5aee14ea STM32 USBHOST: Corrections for DISCO_F769NI in targets.json 2018-01-02 15:22:04 +00:00
bcostm 3b795ba499 STM32 USBHOST: Corrections for DISCO_F429ZI 2018-01-02 15:22:04 +00:00
bcostm 791f669024 STM32 USBHOST: Add support of DISCO_F469NI and DISCO_F769NI 2018-01-02 15:22:04 +00:00
bcostm 7059a264bb STM32 USBHOST: Add support of DISCO_F413ZH 2018-01-02 15:22:04 +00:00
bcostm d9e9882fe6 STM32 USBHost: Improvements in USBHALHost_STM.h 2018-01-02 15:22:04 +00:00
bcostm ea842b718e STM32 USBHost: Remove USBHALHost_STM_TARGET.h files
These files are replaced by the USBHALHost_STM.h file common to all boards.
2018-01-02 15:22:04 +00:00
bcostm db43173952 STM32 USBHost: rename files
The USBHALHost_STM_144_64pins.h has been renamed in USBHALHost_STM.h

All the configuration is done in this file now for Nucleo and Disco boards
2018-01-02 15:22:04 +00:00
Maciej Bocianski 290c59dd7e platform: fix mem_trace trace_level guard 2018-01-02 15:22:04 +00:00
Veijo Pesonen 25614152ae Greentea test case WIFI-CONNECT-NOCREDENTIALS- accept also parameter error if AP is not found 2018-01-02 15:22:04 +00:00
Veijo Pesonen 29b0bedd3b Security protocol made configurable via json 2018-01-02 15:22:04 +00:00
Veijo Pesonen 0680821652 remove disconnect from test cases as it's going to be called implicitly from get_interface-function 2018-01-02 15:22:04 +00:00
Veijo Pesonen 4d154b8e20 Greentea WIFI-CONNECT-SECURE must use NSAPI_SECURITY_WPA_WPA2 2018-01-02 15:22:04 +00:00
Veijo Pesonen 42c328f770 Greentea WIFI-SCAN - make possible to disable check against assumed channel
It's possible that a device does not support setting the channel to be used.
In case channel is not set by the device lets disable the check.
2018-01-02 15:22:04 +00:00
Veijo Pesonen ac4ff65c26 Greentea Wifi testcase fixes
Call disconnect when connect has been tested. Also instead of waiting
for parameter error in case of missing SSID give missing SSID error
code.
2018-01-02 15:22:04 +00:00
Joris Aerts b62ee44213 Fix for #5676 make.py generates duplicate file entries in link_files.txt 2018-01-02 15:22:04 +00:00
Maciej Rogozinski 134f3b5180 Bootloader support for MK24F1 for IAR toolchain 2018-01-02 15:22:03 +00:00
Maciej Rogozinski 75bdcfd477 Bootloader support for MK24F1 for Keil toolchain 2018-01-02 15:22:03 +00:00
Maciej Rogozinski cb91dfe24e Added missing subscription 2018-01-02 15:22:03 +00:00
Jonatan Antoni 2ced7f4c7b Core(A): Changed macro __DEPRECATED to CMSIS_DEPRECATED. (Issue #287) __DEPRECATED conflicts with a predefined macro in GCC C++ mode. 2018-01-02 15:22:03 +00:00
Jonatan Antoni 91b33a2595 Core(A): Refactored L1 Cache maintenance to be compiler agnostic. - Added L1 Cache test cases to CoreValidation. - Adopted FVP Cortex-A configs to simulate cache states. 2018-01-02 15:22:03 +00:00
Vladimir Umek d4eb833f26 RTX5: fixed __get_PSP function for Cortex-A on IAR (#288) 2018-01-02 15:22:03 +00:00
TomoYamanaka 195cd93bf5 CMSIS-Core(A): Add MMU section_normal_nc macro
I added the macro definition for non-cache area.
2018-01-02 15:22:03 +00:00
Daniel Brondani 417a527ea9 CMSIS-Core(A): Fixed enumerated type increment in GIC_DistInit and GIC_CPUInterfaceInit functions 2018-01-02 15:22:03 +00:00
Robert Rostohar 80521c8369 Core(A): Updated __FPU_Enable function (VFP register count detection) 2018-01-02 15:22:03 +00:00
TomoYamanaka 6852fffd49 Change the "thread" test main for Cortex-A
In pararell threads of "thread" test is a simple thread, but it seems that there is a difference in the stack used between Cortex-A and Cortex-M.
As a result of check, in Cortex-A, program aborts because of the lack of stack when PARALLEL_THREAD_STACK_SIZE is 384, workes properly when PARALLEL_THREAD_STACK_SIZE is 512 at least.
2018-01-02 15:22:03 +00:00
TomoYamanaka 3ca6dbf864 Change the "malloc" test main for Cortex-A
"malloc" test is used a simple thread that executes only malloc and free, but it seems that there is a difference in the stack used between Cortex-A and Cortex-M.
As a result of check, in Cortex-A, program aborts because of the lack of stack  when THREAD_STACK_SIZE is 256, workes properly when THREAD_STACK_SIZE is 512 at least. Since it seems that the definition processing of "DEFAULT_STACK_SIZE" was gone from Mbed OS by updating CMSIS5/RTX5, I setted 512 directly for Cortex-A.
2018-01-02 15:22:03 +00:00
TomoYamanaka edc0b1896d Modify 2-byte code of "heap and stack" test main for Cortex-A
I modified "space" character from 2-byte code to 1-byte code in "heap and stack" test main.
2018-01-02 15:22:03 +00:00
TomoYamanaka 9bc8a364cf Add Cortex-A9 for ARMCC and ARMC6
I added the definition of "Cortex-A9" for core support of ARMCC and ARMC6 in arm.py.
2018-01-02 15:22:03 +00:00
TomoYamanaka 709d9eec27 Revert "Remove Cortex-A mbed OS 5 support"
I changed the python and json files to re-registering GR-PEACH to Mbed OS 5.
2018-01-02 15:22:03 +00:00
TomoYamanaka 67781c25c1 Supplement the lack of "extended RTC" in RZ_A1H/rtc_api.c
Although the extened RTC is supported by #5363 commit ("Add support and tests for extended RTC"), it seems that the changes was overlooked in RZ_A1H_api.c.
So I added the changes with reference to other rtc_api.c.
2018-01-02 15:22:03 +00:00
TomoYamanaka c29772a899 Change the way of enter/exit of critical section of code
I changed disable_irq() / enable_irq() to core_util_critical_section_enter() / core_util_critical_section_exit() by utilizing "mbed_critical" function in the below drivers.
- serial_api.c
- us_ticker.c
2018-01-02 15:22:03 +00:00
TomoYamanaka 747138f4d1 Add the lacked definitions to mbed_rtx.h
I added the below definitions for working "Dynamic Stack" and "Dynamic heap" on Mbed OS by referencing with the codes of Cortex-M target board.
"ISR_STACK_START", "ISR_STACK_SIZE", "INITIAL_SP", "HEAP_START" and "HEAP_SIZE"
2018-01-02 15:22:03 +00:00
TomoYamanaka 2661bc27a9 Add GIC_SetConfigration function to satisfy Cortex-A interrupt spec
By updating to the codes of CMSIS5/RTX5, GIC_SetConfigration() function was added for Cortex-A, this function is set the interrupt configuration using GIC's ICFGR register. Therefore, I added this function to satisfy Cortex-A interrupt spec in the below files.
"can_api.c", "ethernet_api.c", "gpio_irq_api.c", "i2c_api.c", "spi_api.c" and "us_ticker.c"
2018-01-02 15:22:03 +00:00
TomoYamanaka c30e107f6e Revise startup processing having CMSIS5/RTX5 been available on GR-PEACH
For supporting tp CMSIS5/RTX5, I changed the start-up processing of 3 toolchains(ARMCC, GCC_ARM, IAR) and updated the register definition of PEACH specific.
In addition,
I changed the linker script files to implement the dynamic HEAP the same as Cortex-M targets.Since GR-PEACH's HEAP was a fixed area, I changed the label name(ZI_DATA to RW_IRAM1) and replaced the allocation of STACK/HEAP.
2018-01-02 15:22:03 +00:00