Commit Graph

13668 Commits (0a644d25e9060e4aa322548851aefda95f2b5552)

Author SHA1 Message Date
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
Robert Rostohar 668883a7f0 RTX5: Cortex-A exception handlers updated (VFP register count detection) 2018-01-02 15:22:02 +00:00
Dexter Fryar bbb6372350 Add app_start config system support for NRF52840 for bootloader 2018-01-02 15:22:02 +00:00
Edmund Hsu f99ec6beda Enable IAR export for EV_COG_AD3029LZ and EV_COG_AD4050LZ
- ADuCM3029 is the MCU name for EV_COG_AD3029LZ
 - ADuCM4050 is the MCU name for EV_COG_AD4050LZ
2018-01-02 15:22:02 +00:00
adbridge 0923e8f5b8 Add mbed-os-example-filesystem to examples list 2018-01-02 15:22:02 +00:00
Seppo Takalo 36aa8bc5c6 Allow 6LoWPAN applications to leave out channel specification.
When specifying a full channel mask in .lib and setting the channel
to zero, device does proper channel scan.

For Thread, channel must be specified for router.
Sleepy devices don't respect the channel settings but do a full channel
scan at the start.

+ Modified the channel mask print to use hex.
2018-01-02 15:22:02 +00:00
Deepika 815b9bfde6 Build failed as code section was not included in map.
Fix by Jimmy
2018-01-02 15:22:02 +00:00
Kevin Bracey 921631d70a K64F Ethernet: avoid using NULL thread during init
The K64F Ethernet driver installs an interrupt handler that sets thread
flags, and this could be called before the thread was initialised, so it
would use a NULL thread ID.

This triggers an RTX error-checking trap in debug builds, and could also
lead to other problems with received packets not being processed.

Adjusted so the RX interrupt handler does nothing if the thread isn't
initialised yet, and manually trigger a RX event flag after initialising
the thread in case any interrupts were ignored.

An alternative would have been to implement eth_arch_enable_interrupts,
but this mechanism is not present in the EMAC world - drivers will have
to start returning interrupts in their power up.

Fixes #5680
2018-01-02 15:22:02 +00:00
Kevin Bracey caff3d1775 Add memory barriers to STM32F7xx Ethernet
Pending official update from STM, add memory barriers to the Ethernet
HAL code for the STM32F7xx family.

Cortex-M7 has a merging write buffer that is not automatically flushed
by accesses to devices, so without these DMBs, we sometimes lose synch
with the transmitter.

The DMBs are architecturally needed in every version of this HAL, but
adding just to the STM32F7 version for now to clear test, as the
problem has only been observed on Cortex-M7-based devices.

Fixes #5622.
2018-01-02 15:22:02 +00:00
Martin Kojtal 2b4ff78ab0
Merge pull request #5738 from ARMmbed/release-candidate
Release candidate for mbed-os-5.7.1
2017-12-21 13:37:32 +00:00
adbridge de205880cc Update Mbed version block for patch release 2017-12-20 16:05:45 +00:00
Jimmy Brisson 3680e60969 Remove include paths from uvision assembler export 2017-12-20 16:05:45 +00:00
Ashok Rao 34dc59d9f3 Adding device_name for TB_SENSE_12.
device_name key is required to add Cloud Client support / enable bootloader support for this target.
2017-12-20 16:05:45 +00:00
Veijo Pesonen 0415dfcdc6 Greentea Wifi testcase fixes
Replace 'TEST_PASS' with 'return'
2017-12-20 16:05:44 +00:00
Veijo Pesonen 77f4a559db Greentea Wifi testcase fixes
ONME-3266 Greentea testcase WIFI-SCAN fails arbitrarily
ONME-3278 Greentea testcase WIFI-SET-CREDENTIAL doesn't try WEP with valid credentials
ONME-3279 Greentea testcase WIFI-GET-RSSI uses arbitrary RSSI value limits
ONME-3280 Greentea testcase WIFI-CONNECT-PARAMS-VALID-SECURE assumes WPA2
2017-12-20 16:05:44 +00:00