Commit Graph

921 Commits (mbed-os-5.6)

Author SHA1 Message Date
misodengaku 9574a484eb add target TARGET_SAKURAIO_EVB_01. 2017-12-01 17:01:46 +00:00
Laurent MEUNIER 1c67d62271 STM32: SPI 3 wires mode not supported in SPI slave
This patch handles the case of SPI slave mode without MISO (NC).
In case MISO is not connected, we consider that SPI will be configured in
3 wires mode (CLK / MOSI / CS, but no MISO). In this case, the MOSI line
is bi-directional : SPI_DIRECTION_1LINE.

But as this is not supported yet in slave mode, we force it to
SPI_DIRECTION_2LINES. In this case slave SPI will receive data on MOSI
but nothing will be sent back to master as MISO is not connected.
2017-12-01 17:01:46 +00:00
Michael Kaplan 6484120174 TARGET_STM32L4: added missing #ifdef in serial_device.c 2017-12-01 17:01:44 +00:00
jeromecoutant fdc121746e STM32L072CZ error in ARM sct file name 2017-12-01 17:01:43 +00:00
bcostm 1b6e1ab0c5 DISCO_L072CZ: remove dead code 2017-11-17 14:55:49 +00:00
bcostm f2155a3212 DISCO_L072CZ: align SetSysClock_PLL_HSE() with SetSysClock_PLL_HSI() 2017-11-17 14:55:49 +00:00
bcostm 21fcb756aa STM32: fix error with CAN_3 not defined 2017-11-17 14:55:49 +00:00
bcostm b3406e3389 STM32: fix compilation error with STM32F1 2017-11-17 14:55:49 +00:00
bcostm 061edef904 STM32: Use CAN3_BASE + typos 2017-11-17 14:55:49 +00:00
bcostm e56598cfa8 STM32: Add support of CAN3 on STM32F413/F767 2017-11-17 14:55:49 +00:00
Laurent MEUNIER 23a162971b STM32: HAL smartcard, fix memory corruption in Receive
Re-casting with tmp the uint8_t* pData pointer to uint16_t* brings a
memory corruption and typically can corrupt the size parameter. This
is fixed with this commit.

STM32 Internal ticket reference : 39116
2017-11-17 14:55:49 +00:00
Andrea Corrado 6de5b39f3f 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-11-17 14:55:47 +00:00
jeromecoutant 27d4b52a5f NUCLEO_L496ZG minor update 2017-11-17 14:55:46 +00:00
Laurent MEUNIER f81521adcc STM32: remove trailing white spaces 2017-11-17 14:55:45 +00:00
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
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
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
adustm 59155b7551 Fix for IAR tests 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 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
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
bcostm 53acf471b6 STM32: Remove IAR compilation warning 2017-11-03 12:59:04 +00:00
bcostm cbb1f98299 STM32: Remove GCC_ARM compilation warnings 2017-11-03 12:59:04 +00:00
bcostm b9acc52977 Typo correction 2017-11-03 12:59:03 +00:00
bcostm 781f6f731c Coding style and add State field init 2017-11-03 12:59:03 +00:00
bcostm 4afca4df87 NUCLEO_F207ZG: Fix issue with tests-api-analogout and GCC_ARM
Without this fix the tests-api-analogout test is fail with GCC_ARM.
2017-11-03 12:59:03 +00:00
Laurent MEUNIER 9bbe822d56 STM32: RNG: Ensure that no more than 1 instance is used
There is only 1 RNG HW IP and we do not support more than one driver
user at a time, so let's ensure this is the case and raise an error if
needed.
2017-11-03 12:59:03 +00:00
Laurent MEUNIER a375ea0619 STM32: TRNG: remove call to deprecated HAL_RNG_GetRandomNumber
HAL_RNG_GetRandomNumber is a deprecated API and replaced here with
a call to HAL_RNG_GenerateRandomNumber.

Doing so, we also rework the driver to use the 4 bytes returned by a call
to HAL_RNG_GenerateRandomNumber instead of 1 byte out of 4.

HAL_RNG_GenerateRandomNumber was not returning any error code, so now
we can also check the return code.
2017-11-03 12:59:03 +00:00
Roberto Spelta c6f68b21b5 removed memory allocation 2017-10-20 16:18:30 +01:00
Roberto Spelta dd1d294c74 fixed pin LEDs 2017-10-20 16:18:30 +01:00
Roberto Spelta 4d4884d688 setted pin USBTX and USBRX 2017-10-20 16:18:30 +01:00
Roberto Spelta eb0da90583 added TARGET_STM32L476JG define in mbed_rtx.h 2017-10-20 16:18:29 +01:00