Commit Graph

12621 Commits (e20d35df27059e8ab5ea0289cf4cb74bb0616a25)

Author SHA1 Message Date
Laurent MEUNIER e20d35df27 STM32F4: Flash: fix 2MB GetSector computation
The computation of the sector number in GetSector for 2MB flash sizes
consists in adding an extra constant for 2MB dual bank (12 as in
ADDR_FLASH_SECTOR_12), then going through the same address check as if it
was an address of the first sector.

That means that we need to modify tmp and address as if it was a first bank
address, which we're doing here by sub_stracting 0x100000 delta.
2017-11-17 14:55:45 +00:00
jeromecoutant c2bba672df STM32F412 IAR linker file issue 2017-11-17 14:55:45 +00:00
Martin Kojtal 2f36cd78d6 test: realtek net config default to none
Changing this to none as result of build failures. Wifi needs own configuration
per an enviroment. By setting this to none, net tests are skipped for Realtek
platform.
2017-11-17 14:55:45 +00:00
danclement 889e22cce9 Checking in the fixes related to I2C issues.
Three main issues:
1) The 0x13 special case section in write data in ncs36510_i2c.c didn't have a write++ command.
2) In the same write function, the WDAT8 command was put before the 0x13 section and this is not correct
3) Needed to add wait_us(0) before and after the register writes for apparent clock domain crossing delay times until registers are stable in HW

There were also a handful of other tweaks related to general code maintenance and moving some status register checks to the proper locations.
2017-11-17 14:55:45 +00:00
Senthil Ramakrishnan d116c9d031 RealTek WiFi test configuration 2017-11-17 14:55:45 +00:00
Anna Bridge 78474a5129
Merge pull request #5427 from ARMmbed/release-candidate
Release candidate for mbed-os-5.6.4
2017-11-06 13:15:06 +00:00
Martin Kojtal ee7d82864c Update Mbed version block for patch release 2017-11-03 13:02:58 +00:00
Shrikant Tudavekar 8c386421fb Collect build artifacts disable cleanup
In preparation to exporter tests
2017-11-03 13:02:57 +00:00
Laurent MEUNIER 36190391cf 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-03 13:02:57 +00:00
Vincent Coubard cfe4c7a649 BLE: Fix typos in iBeacon documentation. 2017-11-03 13:02:57 +00:00
Amanda Butler 756df3ebe4 Copy edit iBeacon.h
Make minor copy edits.
2017-11-03 13:02:57 +00:00
Vincent Coubard e4ac455e07 BLE: Fix conjugation and spelling of iBeacon documentation. 2017-11-03 13:02:57 +00:00
Vincent Coubard 054a301b4f BLE: iBeacon minor edit. 2017-11-03 13:02:56 +00:00
Vincent Coubard fd603c7e68 BLE: Update iBeacon documentation.
Provide detailled description of the purpose, general concepts and usage.
2017-11-03 13:02:56 +00:00
Russ Butler 371a24a810 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-11-03 13:02:56 +00:00
Gabor Kertesz 4ffe2aa612 Beetle BLE: Fix variable length GATT attribute
Variable length flag was lost during attribute settings,
so variable length GATT attributes should have been set
to the predefined maximum length.
This fixes issue #86.

Change-Id: Ia0cd236ecd903fdb9e62a21bffef57d1e63764b9
2017-11-03 13:02:56 +00:00
Maciej Bocianski 873d7d10fe malloc test - reduce heap usage 2017-11-03 13:02:56 +00:00
jeromecoutant 7a5ffad58a STM32F4/STM32L4: remove MSP template file
HAL_MspInit/HAL_MspDeInit/HAL_PPP_MspInit/HAL_PPP_MspDeInit weak functions can now be overwritten as it is expected
2017-11-03 13:02:56 +00:00
Christopher Haster ac82578d4a fs: Corrected errno when not finding a mounted filesystem 2017-11-03 13:02:56 +00:00
Maciej Bocianski 31feb1d2b3 Test set for LowPowerTicker class 2017-11-03 13:02:56 +00:00
Pierre-Marie Ancele 3198920f34 remove sys.cpp file of the ARM_STD toolchain as done in the MR #4949 2017-11-03 13:02:55 +00:00
Pierre-Marie Ancele cabd7a33a6 fix can_s struct definition 2017-11-03 13:02:55 +00:00
Pierre-Marie Ancele dbe34f005c add target definition for sw4stm32 exporter 2017-11-03 13:02:55 +00:00
adustm 59155b7551 Fix for IAR tests 2017-11-03 13:02:55 +00:00
adustm 9d143dc415 Add STM32L496VG to be able to exprot a program in IAR 2017-11-03 13:02:55 +00:00
adustm 8835146045 Align IAR files with mbed-os implementation (tests are still failing) 2017-11-03 13:02:55 +00:00
adustm a08f7d42e0 Replace tab by spaces 2017-11-03 13:02:55 +00:00
adustm fd4ef9595b Make ARM test pass on mbed-os5 tests 2017-11-03 13:02:55 +00:00
adustm ae6e44e75b replace tab by spaces 2017-11-03 13:02:54 +00:00
Nabil Elqatib 3847477b29 Remove analogin_s definition from objects.h
The structure being already defined in
targets/TARGET_STM/TARGET_STM32L4/common_objects.h#L119, there is a
redefinition conflict.
2017-11-03 13:02:54 +00:00
Pierre-Marie Ancele c3595f473c NUCLEO_L496ZG change LPUART1 clock source to fix crash on serial init 2017-11-03 13:02:54 +00:00
Pierre-Marie Ancele f281f51905 NUCLEO_L496ZG JSON Clock Configuration 2017-11-03 13:02:54 +00:00
Pierre-Marie Ancele ab4b6cbc20 NUCLEO_L496ZG Fix IAR startup script 2017-11-03 13:02:54 +00:00
Pierre-Marie Ancele 6db1d2de71 NUCLEO_L496ZG Fix ARM startup script 2017-11-03 13:02:54 +00:00
Pierre-Marie Ancele cb6326f62a STM32L496xG fix objects.h to fit common_objects definition 2017-11-03 13:02:54 +00:00
Pierre-Marie Ancele 902765f03c NUCLEO_L496ZG Update comments 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele 565beab2ef NUCLEO_L496ZG Use new alternative pins definition 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele 5ea8a111a6 NUCLEO_L496ZG update date in file copyrights headers 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele fc119955b9 NUCLEO_L496ZG Use correct linker script for IAR 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele 992f6e964a build_travis.py Fix indentation 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele bdac5dc4e5 NUCLEO_L496ZG target inherits from FAMILY_STM32 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele f9bf18f1e8 STM32L496ZG add IAR toolchain 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele 9b155d8dcc STM32L496ZG add ARM_STD toolchain 2017-11-03 13:02:53 +00:00
Pierre-Marie Ancele fe851f5d2e STM32L496ZG add ARM_MICRO toolchain 2017-11-03 13:02:52 +00:00
Pierre-Marie Ancele 123772b611 NUCLEO_L496ZG add mbedOS 2 compatibility 2017-11-03 13:02:52 +00:00
Pierre-Marie Ancele 3812e0965b NUCLEO_L496ZG update build_travis.py 2017-11-03 13:02:52 +00:00
Nabil Elqatib 5edb0901e6 Add BSP files for NUCLEO_L496ZG 2017-11-03 13:02:52 +00:00
Pierre-Marie Ancele e3c91a2ce1 add compatibility with STM32L496xG MCUs 2017-11-03 13:02:52 +00:00
Kevin Gilbert b0ab46e271 Resolve doxygen warning in filesystems 2017-11-03 13:02:51 +00:00
Amanda Butler 55043e100a Copy edit pull_request_template.md
Make minor copy edit to match our style guide to fulfill older JIRA task.
2017-11-03 12:59:07 +00:00