Commit Graph

13882 Commits (mbed-os-5.7)

Author SHA1 Message Date
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
Martin Kojtal f0f6fa95d6 Travis: fix gcc arm version to 6
Use download from official website, to have
fixed version, rather than latest.

The official support for current mbed OS is
GCC ARM 6.
2017-12-20 16:05:44 +00:00
Christopher Haster bc16f2f29d Travis: Minor cleanup
language -> python
pip --user installs -> virtual env installs
2017-12-20 16:05:44 +00:00
Christopher Haster 802ea1e20a Travis: Added yaml references for mbed 2 jobs 2017-12-20 16:05:43 +00:00
Martin Kojtal d58614caf6 Travis: allow build/make to print output
As we have now matrix for targets, there might be some targets that take longer to compile.
It can timeout, if we produce an output after every target that it was build, it
should extend the timeout per target build.
2017-12-20 16:05:43 +00:00
Martin Kojtal 7b09e95fd3 Travis: set language to generic
Do not fall to default Ruby
2017-12-20 16:05:43 +00:00
Martin Kojtal 859f367392 Travis: define vendor matrix
Use vendor matrix, creates a job for each vendor folder (targets/TARGET_XXX).
This fixes the errors we have seen, as a job has a limit 50 minutes.
2017-12-20 16:05:43 +00:00
Russ Butler 0493ba2bfe Protect local static object construction in ARMCC
Implement the functions __cxa_guard_acquire, __cxa_guard_release
and __cxa_guard_abort for ARMCC so local static object construction is
thread safe.
2017-12-20 16:05:43 +00:00
Russ Butler e97b38f804 Fix deficiency in the race test
The test for construction of local static objects doesn't check
to see if the object returned has been fully initialized. Because
of this, an error with ARMCC was not detected.

This patch adds an assert to the race_test to ensure that the
object has been properly initialized.
2017-12-20 16:05:43 +00:00
Maciej Bocianski 4b4aeb44ce Add SingletonPtr test 2017-12-20 16:05:43 +00:00
Jimmy Brisson 7afa7caf40 Correct typo? in e2studio exporter code 2017-12-20 16:05:43 +00:00
bcostm 17f704c30c STM32 CAN3: add CAN_3 declaration for DISCO_F769NI 2017-12-20 16:05:43 +00:00
Adam Heinrich fd604f43b8 STM32: Set valid filter number for CAN3
Filter numbers 14 to 27 are reserved for dual CAN configuration.
However, CAN3 operates in single CAN configuration according to the
reference manual).
2017-12-20 16:05:43 +00:00
bcostm b43b6cc420 STM32 CAN3: remove test of CAN_2 and CAN_3
CAN_2 and CAN_3 are enum and not #define and this causes compilation error with GCC_ARM

Instead put back the test of CAN_NUM (which are defined in can_device.h).
2017-12-20 16:05:43 +00:00
Adam Heinrich 669e5495ff STM32: Pass correct id to can_irq() for CAN3 2017-12-20 16:05:43 +00:00
Christopher Haster 32a8b401b2 Split out "docs" into its own Travis job
And some cleanup
2017-12-20 16:05:43 +00:00
Christopher Haster 82811f5f33 Add caching of apt-get + pip to .travis.yml 2017-12-20 16:05:43 +00:00
jeromecoutant 990fb1c18a STM32 RTC : update and comment prescaler values 2017-12-20 16:05:43 +00:00