Commit Graph

11606 Commits (e3896f5db92e81c2059605276b4e76a7698e8267)

Author SHA1 Message Date
Bartek Szatkowski efc28a2968 RTOS: Mutex: Improve API docs 2017-07-28 14:46:23 +01:00
Bartek Szatkowski 623c7ae625 RTOS: Mutex: Rework tests
Add descriptions, fix small issues and timings.
2017-07-28 14:46:23 +01:00
Jimmy Brisson 1f58726f4a Deprecate Simplicity Version 3 2017-07-28 14:46:23 +01:00
Jimmy Brisson f6710236ef Deprecate LPCXpresso 2017-07-28 14:46:23 +01:00
Jimmy Brisson 423959d4ca Deprecate KDS 2017-07-28 14:46:23 +01:00
Jimmy Brisson cc53dd75a3 Deprecate e2studio 2017-07-28 14:46:23 +01:00
Jimmy Brisson 4407b001b7 Deprecate Coide 2017-07-28 14:46:22 +01:00
Jimmy Brisson 66fa34c0b6 Deprecate Atmel Studio 2017-07-28 14:46:22 +01:00
Jimmy Brisson ccc2105cd1 Create deprecated exporter class decorator 2017-07-28 14:46:22 +01:00
Jimmy Brisson 7af22d0499 Remove unusable exporters 2017-07-28 14:46:22 +01:00
Martin Kojtal 5832307f9b LPC MCUXpresso: fix write_fill argument for block write function
The latest HAL extension was not applied to the LPC MCUXpresso targets.
2017-07-28 14:46:22 +01:00
Deepika 84d14ee788 Closed review comments
1. Doxygen and Grammar related
2. Change dummy to spi_fill
3. Remove NXP driver and add default loop in spi block read (same as all
other drivers)
2017-07-28 14:46:22 +01:00
Deepika 66c9f44bfc Allow user to set dummy tranfer byte for block read 2017-07-28 14:46:21 +01:00
Bartek Szatkowski 5d2c5ff114 sara_nbiot_evk: Expose SystemCoreClock via cmsis.h
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-28 14:46:21 +01:00
Bartek Szatkowski 18e17ff2c8 REALTEK_RTL8195AM: Expose SystemCoreClock via cmsis.h
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-28 14:46:21 +01:00
jeromecoutant 82176e16ee NUCLEO_F767ZI : boot issue with GCC 2017-07-28 14:46:21 +01:00
jeromecoutant 653b0e9499 STM32 I2C : correct async issue 2017-07-28 14:46:21 +01:00
Marcus Chang d1983e28f8 mbed-hal: Fixed flash test
The test assumed that data written to flash would be memory mapped
and directly accessible. On some platform this is not the case
and data has to read back through an explicit read command.

The test has been changed to use the flash read command instead
of direct memory access.
2017-07-28 14:46:21 +01:00
Russ Butler b4e83dab24 Change 'macros' to 'macros_add' for NUCLEO_F756ZG
Address PR feedback by renaming 'macros' to 'macros_add'.
2017-07-28 14:46:21 +01:00
adustm 2d259e0a6d fix typo in directory name 2017-07-28 14:46:20 +01:00
adustm a1810d4aec Add AES HW encryption for NUCLEO_F756ZG in mbedtls 2017-07-28 14:46:20 +01:00
Russ Butler e530d12fe1 Fix non-portable defines
A define which expands to more defines is not portable across all
compilers and GCC warns about this. Restructure this so the behavior
is defined. This fixes the GCC warning:
"this use of "defined" may not be portable"
2017-07-28 14:46:20 +01:00
Russ Butler be1d14c897 Add support for runtime test specification
Add a constructor which explicitly takes the number of test cases.
This allows a test case array created at runtime to be used.
2017-07-28 14:46:20 +01:00
jeromecoutant a8461992c3 STM32F0 : remove unavailable pins
Pins used for STDIO_UART_TX and STDIO_UART_RX are not available
2017-07-28 14:46:20 +01:00
jeromecoutant 7f9f279ef3 DISCO_L475VG_IOT: remove unavailable pins 2017-07-28 14:46:20 +01:00
jeromecoutant 70c5407697 STM32L4 AnalogIn init issue with _ALT pins 2017-07-28 14:46:20 +01:00
Martin Kojtal 8e989b072d Fix #4613: remove duplicated startup files for MICRONFCBOARD
Inherits from LPC11U34_421, that defines startup. They were identical.
2017-07-28 14:46:19 +01:00
Yuguo Zou fa193fcc5e Resolve TLS handshake failing issue
this issue, relating to wifi thread priority,  makes blocking TCP socket
failing
2017-07-28 14:46:19 +01:00
Laurent MEUNIER 5c652685e0 STM32: Serial - use TXE as tx_irq instead of TC
TXE indicates that a byte can be written to UART register for sending,
while TC indicates that last byte was completely sent. So the TXE flag
can be used in case of interrupt based Serial communication, to allow
faster and efficient application buffer emptying.

Also TXE flag will be erased from the interrupt when writing to register.
In case there is nothing to write in the register, the application is
expected to disable the interrupt.
2017-07-28 14:46:19 +01:00
Laurent MEUNIER 603188986b STM32: Serial - do no clear RXNE flag
The RXNE flag is getting cleared when reading Data Register so it should
not be cleared here. Especially in case of high data rate, another byte of
data could have received during irq_handler call and clearing the flag
would read and discard this data which would be lost for application.
2017-07-28 14:46:19 +01:00
Bartek Szatkowski 2aa9816165 Boot: Provide dynamic mutexes for ARM toolchain
ARM toolchain requires variable number of dynamic mutexes. We use combination of
RTX mutex pool and heap allocation to achieve that.
2017-07-28 14:46:19 +01:00
sarahmarshy eb00f46fa7 Update ATCmdParser example code.
The previous example code was not very helpful, as it doesn't show the use of UARTSerial.
2017-07-28 14:46:19 +01:00
Bradley Scott 8697d92e91 STM32: Remove i2c_read() and i2c_write() redirects to HAL_I2C_IsDeviceReady()
Some I2C devices require specific zero length read/write sequences which
the HAL_I2C_IsDeviceReady() redirect interferes with.  After Removing
these redirects, it was confirmed that zero length reads and writes
would both still work correctly for detecting presence/absence of an
I2C device on a bus.
2017-07-28 14:46:18 +01:00
Marcus Chang 147ec279fa REALTEK_RTL8195AM: FlashIAP read and address scope
The FlashIAP is supposed to have access to the full application
memory, so the address scope has been changed to encompass
the entire external flash.

The address translation has also been changed to reflect the memory
layout in the documentation:

 Realtek Ameba1 Memory Layout: 5.1 Flash Memory
2017-07-28 14:46:18 +01:00
Yogesh Pande 0501f992d9 Fix inconsistent mbed-trace dummy defines and original function declarations. 2017-07-28 14:46:18 +01:00
Rob Meades 2a8bae38a8 Add set_baud() method to UARTSerial(). 2017-07-28 14:46:18 +01:00
Vincent Coubard acf411c888 Max32630 UART: Fix P5_5 mapping. 2017-07-28 14:46:18 +01:00
Vincent Coubard 3c8fbbe31f MAX32630: Apply correct configuration for CTS/RTS lines. 2017-07-28 14:46:18 +01:00
Vincent Coubard c870fc1ae5 MAX32630: clear uart interrupt flag prior to handler call. 2017-07-28 14:46:18 +01:00
Vincent Coubard b86fc4298c MAX32630: Map UART IRQ to serial object.
Before this change none of the IRQ set would be dispatch to the actual serial object.
2017-07-28 14:46:17 +01:00
Mahadevan Mahesh 5b85962c95 LPC: Move platform specific code out of the analog api file
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-28 14:46:17 +01:00
Mahadevan Mahesh fb97d8bf42 LPC: Move platform specific code out of sleep api file
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-28 14:46:17 +01:00
Mahadevan Mahesh ef33371884 Add support for LPC54608
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-28 14:46:17 +01:00
Mahadevan Mahesh 7435b34bca Add mbed support for LPCXpresso54114 board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-28 14:46:17 +01:00
jeromecoutant 605562f382 STM32L4 : json clock source configuration
- default value is the same as before patch
- system_stm32l4xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- nvic_addr.h file is now in TARGET_STM level
2017-07-28 14:46:16 +01:00
jeromecoutant 254fb39838 STM32L1 : json clock source configuration
- default value is the same as before patch
- system_stm32l1xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-28 14:46:16 +01:00
jeromecoutant 36431bda95 STM32L0 : json clock source configuration
- default value is the same as before patch
- system_stm32l0xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-28 14:46:16 +01:00
jeromecoutant c659a0dfc3 STM32F7 : json clock source configuration
- default value is the same as before patch
- system_stm32f7xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-28 14:46:16 +01:00
jeromecoutant 9a41fd72ad STM32F3 : json clock source configuration
- default value is the same as before patch
- system_stm32f3xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-28 14:46:16 +01:00
jeromecoutant f3ce2751d8 STM32F2 : json clock source configuration
- default value is the same as before patch
- system_stm32f2xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-28 14:46:16 +01:00