Commit Graph

13770 Commits (e56ef99593c5fc1b4acd51f51ba0e17ee03d9fc4)

Author SHA1 Message Date
bcostm d048ec2fa8 Use legacy CAN api 2018-01-27 01:37:26 -06:00
bcostm 5bb6edc952 Update stm32l4xxxx.h files 2018-01-27 01:37:26 -06:00
bcostm 4c7f0e6e5b Update stm32l4xx.h files 2018-01-27 01:37:25 -06:00
bcostm 9971ad27ca Update system_stm32l4xx.c with latest version 2018-01-27 01:37:25 -06:00
bcostm fb71917adb Remove release notes file 2018-01-27 01:36:57 -06:00
bcostm 6b5302c8f5 Add more comments 2018-01-27 01:36:38 -06:00
bcostm 5fa45e827a L4 ST CUBE V1.11.0
Update to STM32CubeL4 V1.11.0

Conflicts solved:
	targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/stm32l433xx.h
	targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/device/stm32l4xx.h
	targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l496xx.h
	targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l4xx.h
	targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_conf.h
	targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_def.h
	targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_i2c.c
	targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_spi.h
2018-01-27 01:35:20 -06:00
Christopher Haster d6db9b5263 littlefs: Fixed file truncation without writes
In the open call, the LFS_O_TRUNC flag was correctly zeroing the file, but
it wasn't actually writing the change out to disk. This went unnoticed because
in the cases where the truncate was followed by a file write, the
updated contents would be written out correctly.

Marking the file as dirty if the file isn't already truncated fixes the
problem with the least impact. Also added better test cases around
truncating files.
2018-01-27 00:59:16 -06:00
Cruz Monrreal II‰ baada69442 Update Mbed version block for patch release 2018-01-27 00:58:05 -06:00
Przemyslaw Stekiel 47656776dd Add RTC time test. 2018-01-27 00:57:57 -06:00
Matthias L. Jugel c983f0f891 flatten the compiled files list 2018-01-27 00:57:57 -06:00
Matthias L. Jugel b055db154b use the normal name without cmake- prefix 2018-01-27 00:57:57 -06:00
Matthias L. Jugel 0087bc28cb add link library paths to build 2018-01-27 00:57:56 -06:00
Matthias L. Jugel ca09a299d6 add ci build operations 2018-01-27 00:57:56 -06:00
Matthias L. Jugel e332d5c23d change linking stage (dependencies), print built hex file name 2018-01-27 00:57:56 -06:00
Matthias L. Jugel 49e5fd0b10 fix linker issue 2018-01-27 00:57:56 -06:00
Matthias L. Jugel 441cd56acd add handling of sub-dependencies, fix profile selection 2018-01-27 00:57:56 -06:00
Matthias L. Jugel 5e669e0599 simplify the complicated removal of dependency sources add hex file generation 2018-01-27 00:57:56 -06:00
Matthias L. Jugel bb6081eb5b explain code, fix naming, work on linking 2018-01-27 00:57:56 -06:00
Matthias L. Jugel 706e133ee8 add cmake exporter for CLion use 2018-01-27 00:57:55 -06:00
Russ Butler c5d5718ed4 Remove tickless assert for tick count
Remove the assert that the tick count of the OS matches the tick
count of the tickless timer as this occurs frequently when
debugging. This is because the function svcRtxKernelResume
only increments the OS's tick count until the next wakeup event
so if the device was halted by a debugger past the next wakeup
event the tick counts will be out of sync.
2018-01-27 00:57:55 -06:00
Russ Butler f0b9add71e Fix clearing of ISTAT in Kinetis USB
The ISTAT register is write 1 to clear. Because of this ORing this
register with itself fill clear all bits that are set. This patch
updates the code to use plain assignment so only desired
bit is cleared.
2018-01-27 00:57:55 -06:00
Russ Butler 40125cf121 Remove use of deprecated attach in USB
Attach callbacks with the assignment operator rather than with the
deprecated attach function. This fixes deprecation warnings.

This patch also adds the ability to attach a Callback directly.
2018-01-27 00:57:55 -06:00
Russ Butler 3205901e99 Fix local static initialization in USB
The local static initialization in USB was causing multiple problems:
-Configurable descriptor values are set only once
-USB descriptor initialization causes a trap in debug builds since
 this is acquiring a mutex in an interrupt handler
-Extra ram used since all descriptors  are in RAM

This patch fixes these problems by making fixed descriptors
static const so they are stored in flash and never need to be
initialized and by making descriptors that do change a member
of the class so they are always initialized when requested
rather than once though lazy static local initialization.
2018-01-27 00:57:55 -06:00
bcostm 96227a861d STM32F0 uart irq: test IT flags for usart3/4 2018-01-27 00:57:55 -06:00
bcostm 2c0daf8e1f STM32F0: manage better uart3 & 4 irqs
Manage the case where both uart3 and uart4 interrupts are arriving at the same time.
2018-01-27 00:57:55 -06:00
bcostm 2538f9d000 STM32F0 usart irq: fix issue with F070/F072 2018-01-27 00:57:54 -06:00
bcostm d5523167bf STM32F0: fix usart irq management 2018-01-27 00:57:54 -06:00
drewcassidy f047a93066 fix typos in lint.py 2018-01-27 00:57:54 -06:00
Michael Kaplan e0882e1931 CriticalSectionLock: fixing missing include
Macro MBED_DEPRECATED_SINCE is defined in platform/mbed_toolchain.h which was not included.
If someone used member functions lock or unlock (which are prefixed with MBED_DEPRECATED_SINCE since some time), there would be a compile error instead of a warning.
Including mbed_toolchain.h fixes that.
2018-01-27 00:57:54 -06:00
PHST c0b4f0c8dd Add missing EFM32 HAL flash init/deinit function calls 2018-01-27 00:57:54 -06:00
Serge Camille 52c7fe5167 NXP LPC4088: Add missing SPI SSEL pin to Pinmap
The Pin P5_3 (p31) was missing from the NXP LPC4088 SPI PinMap for SSEL.

Adding this Pin allows usage of SPISlave with SSP2 using the SSEL pin.

The pin and its SSP2_SSEL function is both documented in https://os.mbed.com/media/uploads/embeddedartists/lpc4088_qsb_pinning.xlsx as well as in UM10562 LPC408x/407x User manual Rev. 3 — 12 March 2014 chapter 7.4.1.4 Table 90 (https://www.nxp.com/docs/en/user-guide/UM10562.pdf).
2018-01-27 00:57:54 -06:00
bcostm a5598df4d7 Use RawSerial in MBED_11 test 2018-01-27 00:57:53 -06:00
Christopher Haster 1e5295b17c littlefs: Set specific hash for littlefs-fuse testing 2018-01-27 00:57:53 -06:00
jeromecoutant 5651aa22da NUCLEO_F401RE : PeripheralPins file update
Default SERIAL pins are now available for ADC and PWM
  when STDIO_UART_TX and STDIO_UART_RX are user defined
https://os.mbed.com/teams/ST/wiki/STDIO

Alternative pins have been also defined
2018-01-27 00:57:53 -06:00
jeromecoutant acfdaca56a MTB_XX : STDIO configuration
Here is a proposition
 - to align with other STM32
 - and to remove compilation warnings :
[Warning] PeripheralNames.h@38,0: "STDIO_UART" redefined
2018-01-27 00:57:53 -06:00
Mahesh Mahadevan 7b7f9b4b43 Update CMSIS pack
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-01-27 00:57:53 -06:00
Martin Kojtal e7b7bea320 Revert "STM32F7: Add bootloader support" 2018-01-27 00:57:52 -06:00
jeromecoutant 33d2548d24 STM32F407 : correct ARM scatter file
Alignment with STM32Cube_FW_F4_V1.18.0 done
2018-01-27 00:57:52 -06:00
adustm c95ef84da6 Improve SRAM use for IAR toolchain Use the entire SRAM2 with NVIC buffer + stack Increase HEAP size to 0x10000 in SRAM1 Increase the available SRAM1 by 0x2000 2018-01-27 00:57:52 -06:00
Martin Kojtal 9da55ffd57 RZ_A1H: cmsis nvic include fix
To get cmsis nvic definitions, this header file should be included
in cmsis.h file.

Fixes #5886
2018-01-27 00:57:52 -06:00
bcostm 4ea39124ff STM32: fix serial 7bit data format 2018-01-27 00:57:48 -06:00
Cruz Monrreal II‰ dd9dd9bbed Removed RTC as a supported peripheral for NCS36510 2018-01-27 00:57:48 -06:00
jeromecoutant 1d0354d1ab STM32LX : HAL_RCC_OscConfig update in PLL configuration
check PLL settings before retuuning error
2018-01-27 00:57:48 -06:00
bcostm 248db987bc NUCLEO_F767ZI: Add bootloader support 2018-01-27 00:57:48 -06:00
bcostm b89be917fd Check cache before enabling it
The mbed_sdk_init can be called either during cold boot or during
application boot after bootloader has been executed.
In case the bootloader has already enabled the cache,
is is needed to not enable it again.
2018-01-27 00:57:47 -06:00
bcostm 00003cdc47 BL NUCLEO_F746ZG: change scb->vector assignment 2018-01-27 00:57:47 -06:00
bcostm 03b264c269 BL NUCLEO_F746ZG: enable bootloader 2018-01-27 00:57:47 -06:00
bcostm 51207deeff BL STM32746xG: Update scatter/link files 2018-01-27 00:57:47 -06:00
Ashok Rao c4394af334 Adding MTB MXChip EMW3166 as a new target 2018-01-27 00:57:47 -06:00