Commit Graph

13499 Commits (96d9a00d0a1d25095b330095fa81c40f7741777c)

Author SHA1 Message Date
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
Maciej Rogozinski 9cdeab949d Fixed whitespace 2017-12-20 16:05:44 +00:00
Maciej Rogozinski 3db98b5223 Fatal parameter error when deleting/terminating Thread object
Call to osThreadTerminate is guarded by local_id check, to avoid parameter error fault when deleting or terminating Thread object that was not started.
2017-12-20 16:05:44 +00:00
Amanda Butler 190bd255fe Copy edit README.md
Make minor copy edits for comma use and consistent capitalization across documents.
2017-12-20 16:05:44 +00:00
Sam Grove 2f5a861b98 Readme updates for style and branding
Add a logo and reformat the readme layout. Update use of Mbed to
align with Arm branding guidelines.
2017-12-20 16:05:44 +00:00
Prashant Ravi b64590babd reverting all tabs to spaces 2017-12-20 16:05:44 +00:00
Prashant Ravi 2edd6e567a Replacing formatting issues 2017-12-20 16:05:44 +00:00
Prashant Ravi 0671e11faf Moving changes to RTW driver 2017-12-20 16:05:44 +00:00
Prashant Ravi d69efa578e Revert "Fixing changes to make greentea test mbed-os-tests-netsocket-connectivity pass for target Realtek AMEBA"
This reverts commit 1fcfced203.
2017-12-20 16:05:44 +00:00
Prashant Ravi fc24d80cff Fixing changes to make greentea test mbed-os-tests-netsocket-connectivity pass for target Realtek AMEBA 2017-12-20 16:05:44 +00:00
Ryan Kurte 5b81d8880f Nanostack flag fix 2017-12-20 16:05:44 +00:00
Bilal e163adbacf Bracket moved to next line 2017-12-20 16:05:44 +00:00
Bilal bef3ea63c3 Licenses added in header files 2017-12-20 16:05:44 +00:00
Bilal 2614c0bc52 C030 Battery Charger Voltage Fix 2017-12-20 16:05:44 +00:00
jeromecoutant e005456f70 STM32F4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
jeromecoutant 0dfa368c76 STM32L4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
jeromecoutant b753262432 STM32F3 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
adustm 8abe9a4be3 Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A) 2017-12-20 16:05:44 +00:00
David Walters 7dac0c0359 Fixed call to deprecated get_details_txt 2017-12-20 16:05:44 +00:00
Senthil Ramakrishnan a3bb61b8f0 Statically allocate ARMCC required mutex objects 2017-12-20 16:05:44 +00:00