Commit Graph

13123 Commits (c621c688c4777b5bef65ea00d4bfb537d547cf12)

Author SHA1 Message Date
Jimmy Brisson 9163ddfe61
Merge pull request #5399 from jeromecoutant/PR_MSP
STM32F4/STM32L4: remove MSP template file
2017-11-02 10:42:04 -05:00
Jimmy Brisson 551a2a3c66
Merge pull request #5373 from ARMmbed/g-fix-nodev-errno
fs: Correct errno when not finding a mounted filesystem
2017-11-02 10:40:19 -05:00
Jimmy Brisson 5768693e0d
Merge pull request #5088 from kjbracey-arm/uartserial_flow
UARTSerial: add flow control and format APIs
2017-11-02 10:37:40 -05:00
Jimmy Brisson 1454e6b54b
Merge pull request #5047 from maciejbocianski/lp_ticker_tests
Test set for LowPowerTicker class
2017-11-02 10:37:00 -05:00
Jimmy Brisson c40b642455
Merge pull request #4650 from catiedev/master
NUCLEO_L496ZG: Add new Platform
2017-11-02 10:36:23 -05:00
Laurent MEUNIER 96b4c36f0f STM32: Ethernet: Workaround for STM32_F767 revA
On STM32 F767 rev A devices ,Ethernet peripheral had problems on RMII
interface, on MII this was not the case.

This commits implements a tentative workaround for the issue rerfered to
as Ethernet erroneous data received in RMII configuration in the Errata
sheet below:
http://www.st.com/content/ccc/resource/technical/document/errata_sheet/group0/23/a6/11/0b/30/24/46/a5/DM00257543/files/DM00257543.pdf/jcr:content/translations/en.DM00257543.pdf

Note that the issue has been fixed in 'Z' revision. of STM32 F767 MCUs.
2017-11-02 10:38:12 +01:00
Dave Wu 9e0e9c8bee Added a check for the STUCK bit before reading the RNG data register to ensure there are no hardware faults. 2017-11-02 15:50:55 +11:00
deepikabhavnani d4e6decf32 Added arguments to importer script
Repository and json file will be mandotory inputs to script file.
As part of this change we do not need to clone/remove CMSIS repository
2017-11-01 17:05:42 -05:00
deepikabhavnani 78fdb7bcd6 Renamed importer script file 2017-11-01 17:05:42 -05:00
deepikabhavnani 021caa6dcf Python script to add cmsis/rtx changes in mbed-os 2017-11-01 17:05:42 -05:00
Jimmy Brisson 9dfbf228ec
Merge pull request #5395 from kegilbert/resolve-doxy-warnings-filesystem
Resolve doxygen warning in filesystems docs
2017-11-01 14:07:17 -05:00
Jimmy Brisson 349541bfa3
Merge pull request #5391 from ARMmbed/AnotherButler-patch-1
Copy edit pull_request_template.md
2017-11-01 14:06:28 -05:00
Jimmy Brisson c7b4c7a7ef
Merge pull request #5379 from maciejbocianski/race_mem_fix
race test: fix out of memory problem for NUCLEO_F070RB
2017-11-01 14:05:58 -05:00
Jimmy Brisson bfcb173879
Merge pull request #5369 from mprse/ticker_irq_handler_set
Add API to set ticker IRQ handler.
2017-11-01 14:05:37 -05:00
Jimmy Brisson 44c4d84082
Merge pull request #5359 from ganesh-ramachandran/master
Added IAR export for TMPM066
2017-11-01 13:28:08 -05:00
Jimmy Brisson f4672cdc29
Merge pull request #5415 from theotherjimmy/no-include-make
Remove include from assember in makefile exporter
2017-11-01 11:20:47 -05:00
Jimmy Brisson cbc3d83f83 Remove include from assember in makefile exporter
The build system does not do this, so this is a consistency fix
2017-11-01 09:26:25 -05:00
Kevin Gilbert 54980546ce Remove build warnings in LWIP 2017-11-01 08:47:58 -05:00
Jaeden Amero 75ad20b65f RTX5: uVisor: Switch threads very carefully
uVisor doesn't set the PSP of the target thread. The RTOS sets the PSP
of the target thread from the target thread's TCB. However, when
interrupts of higher priority than PendSV happen between the call to
uVisor to switch boxes, and the RTOS setting PSP, the uVisor vIRQ
interrupt handler will attempt to use an invalid PSP (the PSP from
before the box and thread switch). This leads to a crash. Make box and
thread switching atomic by disabling interrupts immediately before the
box switching until immediately after the new PSP is set.
2017-11-01 09:25:43 +00:00
Jaeden Amero 474f6c63ba RTX5: uVisor: Use OsEventObserver 2017-11-01 09:25:43 +00:00
Jaeden Amero 12a47f0031 RTX5: uVisor: Extend thread control block with context
OsEventObserver objects expect a context to be maintained per thread on
their behalf. Add this context to the thread control block and extend
the thread creation functions with the ability to supply a context.
2017-11-01 09:25:43 +00:00
Jaeden Amero f363ccbb59 RTX5: uVisor: Add OsEventObserver
Add the OsEventObserver mechanism. A client interested in receiving
notifications on certain OS events can register to receive notifications
with osRegisterForOsEvents. This is useful for clients like the secure
memory allocator, which observes thread switching events in order to
swap in and out different memory allocator objects.
2017-11-01 09:25:42 +00:00
Jaeden Amero 372b7b8b47 RTX5: uVisor: Defer to uVisor for SVCall priority
Only set the SVCall priority if uVisor is not present. If uVisor is
present, keep using whatever priorities it has already set up.
2017-11-01 09:25:42 +00:00
Bartek Szatkowski b8aa068def CMSIS/RTX: Rename asm files to upper case .S 2017-11-01 09:25:42 +00:00
Bartek Szatkowski 4523b5d266 CMSIS/RTX: Allow overwriting _mutex_initialize symbol for ARMC 2017-11-01 09:25:42 +00:00
Bartek Szatkowski 20357bc1fa CMSIS/RTX: Reintroduce core_cmSecureAccess.h lost during CMSIS update 2017-11-01 09:25:42 +00:00
Martin Kojtal 02d01f42a6 CSMIS/RTX: cmain IAR: add mbed main
This fixes #4602 issue, mbed_main should be invoked right before the real main
2017-11-01 09:25:42 +00:00
Bartek Szatkowski 3f97e57364 CMSIS/RTX: Remove os_tick_gtim.c
This implementation of timer conflicts with the default ptim, we will
keep the default and let the timer override the implmenetation if
needed.
2017-11-01 09:25:42 +00:00
Bartek Szatkowski 1b131edd69 CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets 2017-11-01 09:25:42 +00:00
Bartek Szatkowski 5d6abd6572 CMSIS/RTX: Patch RTX includes to match mbed OS scheme 2017-11-01 09:25:42 +00:00
Bartek Szatkowski d5933f198c CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
mbed OS used older RTX4 version and with osThreadDef accepting only 3
parameters, to preserve compatibility we hardcode the 'instances'
parameter to 1.
2017-11-01 09:25:42 +00:00
Bartek Szatkowski a03591d6e3 CMSIS/RTX: Update CMSIS and RTX to 22b68c
This includes Cortex A support and directory reshuffle.
2017-11-01 09:25:42 +00:00
Shrikant Tudavekar ccd82c24c8 Collect build artifacts disable cleanup
In preparation to exporter tests
2017-10-31 17:34:06 -05:00
Ryan Kurte 37a38d08ea Swapped to macro definition for debug prints 2017-11-01 11:02:08 +13:00
Senthil Ramakrishnan 1ba418e41e Fixed doxygen_options.json 2017-10-31 16:17:07 -05:00
Steven Cooreman 2f02a23ac0 Cosmetic fix 2017-10-31 18:58:15 +01:00
Vincent Coubard 63668cb7d2 BLE: Add generic event filter.
This filter prevent events to be signaled multiple times to the upper layer. It
also signal events to a newly set event processor hook.
2017-10-31 17:37:05 +00:00
Vincent Coubard 0025b685ea BLE: Generic Access Service Adaptation layer
Add an abstraction which manage the state of the GAP service exposed by the GATT server.
2017-10-31 17:35:37 +00:00
Vincent Coubard 744abca8ff BLE: Adaptation interface of the GAP layer.
This interface expose the primitives needed to realize operations defined in
the GAP layer. Data types, event and function definitions follow closely HCI
commands and events defined in the Bluetooth specification.
2017-10-31 17:32:01 +00:00
Filip Jagodzinski fc27107311 Tests: RTOS: RtosTimer: Fix tests for NRF51_DK board
Additional delay is needed to prevent random failures when
waiting for a semaphore.
2017-10-31 18:19:36 +01:00
Russ Butler d98a011749 Ensure Thread stack is 8 byte aligned
Ensure both the stack and stack size used in the Thread class are
aligned to 8 bytes. This prevents the runtime error
"Thread 0 error -11: Unknown" due to incorrect stack alignment.
2017-10-31 11:58:18 -05:00
Vincent Coubard 3ad3942810
BLE: Fix typos in iBeacon documentation. 2017-10-31 16:50:07 +00:00
Vincent Coubard 65bb642c81 BLE: Deprecate GapEvent
This class and its components are not used by BLE API and never been used in the
last two years.

This patch deprecate all the components in GapEvent.h and exclude its definitions
from the documentation process.
2017-10-31 16:39:24 +00:00
Amanda Butler 0042cd8751
Copy edit iBeacon.h
Make minor copy edits.
2017-10-31 11:27:23 -05:00
0x6d61726b 830db6a5a0
code style adopted 2017-10-31 16:07:33 +01:00
Vincent Coubard 5d26ea50f3 BLE: Fix conjugation and spelling of iBeacon documentation. 2017-10-31 13:19:16 +00:00
Vincent Coubard 699ad9c29c BLE: iBeacon minor edit. 2017-10-31 11:55:31 +00:00
Vincent Coubard 62e984bdb3 BLE: Update iBeacon documentation.
Provide detailled description of the purpose, general concepts and usage.
2017-10-31 11:43:16 +00:00
Andrea Corrado 53c476acf2 introduced mbed Connect Cloud board based on ODIN-W2 Module rety commit, added ublox changes
Corrected error

Corrected error in targets json

Reworked JSON

Added lwip-eth to Connect ODIN removes ARM CC error

Fixed formating issues

Correct formating error in  .json

Indentation errors
2017-10-31 11:24:28 +00:00
Ryan Kurte c64c7b8624 Added critical section around rf_start_cca 2017-10-31 23:48:03 +13:00