Jimmy Brisson
82f5ce22f8
Merge pull request #4951 from JanneKiiskila/ublox_odin_buttons
...
UBLOX_EVK_ODIN_W2- add BUTTON1/2 definitions
2017-08-29 13:46:10 -05:00
Jimmy Brisson
318e92c028
Merge pull request #4950 from OpenNuvoton/nuvoton_usb
...
M487: Support USB device/host
2017-08-29 13:45:55 -05:00
Jimmy Brisson
d68cd09c63
Merge pull request #4944 from LMESTM/F1_AFIO_CLK
...
STM32: F1 GPIO: Enable AFIO clock
2017-08-29 13:45:27 -05:00
Boting Ren
defb8ebf41
Add bootloader support configuration for DISCO_L476VG.
2017-08-29 19:01:25 +09:00
Laurent MEUNIER
dacf04e69b
STM32: Flash: cover TARGET_F410RB case
...
There was a comilation error for NUCLeO_F410RB as it does not have
a ADDR_FLASH_SECTOR_5.
2017-08-29 11:42:51 +02:00
Laurent MEUNIER
9bed429aa0
STM32: L1: Activate FLASH API for NUCLEO_L152RE
2017-08-28 16:21:33 +02:00
Wolfgang Betz
f8114f2295
[STM32F401xE] Freeze master timer on stop/breakpoint
2017-08-28 14:29:47 +02:00
Yuguo Zou
c834b7faac
Fix bugs for RTL8195AM with debug profile of compilers
...
1. Add alignment / padding for postbuild segments
2. Clear tcm.bss section
3. Remove TRAP_OverrideTable(), move lines to PLAT_Start()
2017-08-28 19:04:26 +08:00
Laurent MEUNIER
a9468c09e3
STM32: F7 Flash API support
...
Adding flash API support to STM32F7 family. The code is derived from
F4 family one. The memory topology is described in flash_data.h files
and the flash_api.c implementation manages the 2 possible memory types (1
or 2 banks).
2017-08-28 10:23:55 +02:00
Laurent MEUNIER
e6631c02a4
STM32: adjust flash.get_page_size() to minimum programable size
...
Users of FlashIAP usually get the minimum programable size
by calling flash.get_page_size(), so let's return the minimum
to allows a most efficient usage of flash.
For F4 devices, this is 1 byte.
For L0 and L1 devices, this is a word (4 bytes).
For L4 devices, this is a double word (8 bytes).
2017-08-25 17:21:30 +02:00
Laurent MEUNIER
3de2ce9c10
STM32: Add Flash API support to STM32F413xH
...
First add the flash_data.h that describe the flash memory topology,
and also activate FLASH support for the corresponding targets.
This is a 1,5MB flash memory device which contains 15 sectors, where
sectors 12 to 15 are 128KB sectors. So flash_api.c needed has been
updated to differentiate between this flash memory and the 2MB ones
by checking existence of sector 16 instead of sector 12.
2017-08-25 17:21:30 +02:00
Laurent MEUNIER
4b62cf015c
STM32: Add Flash API support to STM32F469xI
...
First add the flash_data.h that describe the flash memory topology,
and also activate FLASH support for the corresponding targets.
2017-08-25 17:21:08 +02:00
Laurent MEUNIER
86ad16f5f8
STM32: Add Flash API support to STM32F410RB
...
First add the flash_data.h that describe the flash memory topology,
and also activate FLASH support for the corresponding targets.
2017-08-25 17:20:40 +02:00
Laurent MEUNIER
645fd0f06d
STM32: Add Flash API support to STM32F4 devices with 512KB Flash
...
First add the flash_data.h that describe the flash memory topology,
and also activate FLASH support for the corresponding targets.
2017-08-25 17:20:13 +02:00
gorazd
436d97c9f9
new target added L-TEK FF1705
...
based on XDOT
2017-08-24 22:11:10 +02:00
Jimmy Brisson
3926b56cd8
Merge pull request #4935 from LMESTM/F410RB_ARM_TC
...
STM32: fix F410RB vectors size
2017-08-24 10:16:31 -05:00
Jimmy Brisson
d2793ede5e
Merge pull request #4922 from gorazdko/bug-fix-clock-config-xdot
...
bug fix: xdot clock config
2017-08-24 10:15:25 -05:00
Jimmy Brisson
7252447385
Merge pull request #4920 from scartmell-arm/led-error-sequence
...
Modify LED error sequence to be more recognisable
2017-08-24 10:14:13 -05:00
Jimmy Brisson
0a063a00fd
Merge pull request #4840 from ganesh-ramachandran/master
...
Add Support for TOSHIBA TMPM066 board
2017-08-24 10:13:09 -05:00
Mahadevan Mahesh
c5b66b85ba
K66F,KW24D,K22F,K64F: Fix NVIC_NUM_VECTORS value
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-23 10:50:12 -05:00
Yuguo Zou
c530be0eeb
Fix stack underflow issue
...
Switch on TCM
2017-08-23 16:12:07 +08:00
Boting Ren
4b9b174c7f
Add function to read 12byte HW RoT over STM32L4xx.
2017-08-23 11:06:44 +09:00
Yuguo Zou
1e398cfc60
Add RTL8195AM support for mbed client with IAR
...
Move ticker related code to SRAM due to time drift sensitive
2017-08-22 17:34:00 +08:00
Yuguo Zou
e16c2d2833
Add RTW8195AM support for mbed client with ARMCC
...
Move ticker related code to SRAM due to time drift sensitive
2017-08-22 17:33:41 +08:00
Janne Kiiskilä
2e6cd907d4
UBLOX_ODIN_EVK_W2 - add BUTTON1/2 definitions
...
UBLOX_ODIN_EVK_W2 is missing the abstract button definitions originally
introduced with PR https://github.com/ARMmbed/mbed-os/pull/4249 .
Fix two tab to spaces issues on the go as well.
2017-08-22 09:54:53 +03:00
ccli8
cacc444b73
[M487] Support USB device/host
2017-08-22 09:27:31 +08:00
Jimmy Brisson
316c875136
Merge pull request #4926 from bcostm/merge_l053x8
...
STM32L053x8: Refactor NUCLEO_L053R8 and DISCO_L053C8 targets
2017-08-21 10:38:42 -05:00
Jimmy Brisson
bb7ab1942a
Merge pull request #4896 from pilotak/patch-1
...
target BLUEPILL_F103C8 compile fix
2017-08-21 10:37:01 -05:00
Laurent MEUNIER
d4fa585ac4
STM32: F1 GPIO: Enable AFIO clock
...
It is required to enable AFIO clock before using __HAL_AFIO_REMAP_xy
macros, which was missing here. Without clocks enable, the remap
actually doesn't occur. This would possibly cause some PIOs (part of
PB_3, PB_4, PA_13, PA_14, PA_15) to not behave as expected.
In most cases AFIO clock was enabled in stm_pin_SetAFPin function, so
that this bug was not visible. But there were few cases left were
stm_pin_DisconnectDebug would be called first. A typical case was
with GCC_ARM in case a DigitalInOut variable is declared as global.
2017-08-21 13:32:33 +02:00
Laurent MEUNIER
95fc6d0bad
STM32: fix F410RB vectors size
...
On F410RB, the size reserved to vectors with ARM toolchains was not properly
defined,which was not the case for other toolchains.
This would cause few tests to fail like EXAMPLE_1 with below error:
HOST: Unknown property: mbed assertation failed: _ptr == (T *)&_data, file: C:/github/mbed/BUILD/mbed/platform/SingletonPtr.h, line 91
2017-08-18 11:57:51 +02:00
bcostm
d0fce353cc
STM32F4: Set ADC sample time to max value for VRefInt
2017-08-17 16:12:16 +02:00
Laurent MEUNIER
8c99bf3b62
SPI: HAL: disable IP at the end of transmit
...
in case of 1LINE direction
2017-08-17 11:02:43 +02:00
mapellil
6dfafc7293
STM32: SPI: Use LL in spi_slave_read
...
this is more a cosmetic change, but since LL was introduced, we can now
use it here as well.
2017-08-17 11:02:43 +02:00
Laurent MEUNIER
57371ea591
STM32: SPI: Do not enable SPI during Init if 3W
...
Enabling SPI causes the clock to be output by default.
Most devices will not care about extra clock cycles, especially as long
as chip select is not active, nevertheless this may cause side issues
with other devices especially during init phase.
This was actually the case with a 3 wire device (LPS22HB sensor).
2017-08-17 11:02:43 +02:00
mapellil
4f20cfc0be
STM32: SPI: SPI3W / SPI_DIRECTION_1LINE management
...
In case MISO is not passed at SPI init, then we consider a 3 wires SPI
configuration is requested, which corresponds to SPI_DIRECTION_1LINE
configuration parameter in STM32 HAL layer.
We're then handling this specific case of SPI_DIRECTION_1LINE,
in spi_master_write or spi_master_block_write, we call to HAL API
2017-08-17 11:02:43 +02:00
bcostm
8273e371df
STM32L053x8: Align system_clock.c files
2017-08-17 10:55:18 +02:00
gorazd
34bd3e5c14
xdot: fix target clock config in targets.json
...
Resolves #4876
2017-08-17 10:37:17 +02:00
Ganesh Ramachandran
f79216c8d8
Issue with mbed compile for GCC_ARM tool resolved
...
Functions 'serial_break_set' & 'serial_break_clear' wrongly removed during 'SERIAL_FC disabled, critical section API Updation' commit.
Due to this 'mbed compile' command for GCC_ARM tool fails to compile.
2017-08-17 11:14:09 +05:30
Ganesh Ramachandran
552feccca3
Main stack dependant on GCC toolchain removed
2017-08-17 10:54:26 +05:30
Ganesh Ramachandran
48ee6a0fb6
Clear interrupt and delta check removed
2017-08-17 10:54:26 +05:30
Ganesh Ramachandran
9dca3fe5df
Interrupt and Overflow check for us_ticker
2017-08-17 10:54:26 +05:30
Ganesh Ramachandran
0a781c4f04
ADC Reset Conflict Fixed
...
ADC Reset conflict with already configured ADC pins is fixed
2017-08-17 10:54:25 +05:30
Ganesh Ramachandran
624620b0d2
SERIAL_FC disabled, critical section API Updation
...
SERIAL_FC disabled, critical section API and Format changes updated
2017-08-17 10:54:25 +05:30
Ganesh Ramachandran
bd8fa4eb70
Added Support for Toshiba TMPM066
2017-08-17 10:54:25 +05:30
bcostm
794d4f657f
STM32L053x8: Add STM32L053x8 label in targets.json
2017-08-16 17:10:43 +02:00
bcostm
580c7cb0b6
STM32L053x8: cleanup ARM compiler files
2017-08-16 17:10:42 +02:00
bcostm
9b8bb9eec4
STM32L053x8: Move other folders and files
2017-08-16 17:10:42 +02:00
bcostm
04cefd300d
STM32L053x8: Create folder and move objects.h
2017-08-16 17:10:42 +02:00
Steve Cartmell
9c87f5936c
Unified the LED error pattern for all boards
...
- Removed the patterned LED sequence, all boards now use the 4 fast pulse, 4 slow pulses LED sequence.
- Changed the LED used from LED_RED to LED1. Only 58/174 targets seem to define LED_RED but they all define LED1.
- Removed all ERROR_RED and ERROR_PATTERN definitions from targets/targets.json
2017-08-16 11:55:24 +01:00
Jimmy Brisson
7653f65434
Merge pull request #4878 from jeromecoutant/PR_ADC_INTERNAL
...
STM32 : internal ADC channels
2017-08-14 11:42:30 -05:00
Jimmy Brisson
1c41a9b920
Merge pull request #4869 from toyowata/lpc_spi_fix
...
HAL LPCs SPI: Fix mask bits for SPI clock rate
2017-08-14 11:40:25 -05:00
Jimmy Brisson
96074417b2
Merge pull request #4863 from Archcady/RTWInf
...
Optimize memory usage of wifi scan for REALTEK_RTW8195AM
2017-08-14 11:39:59 -05:00
Jimmy Brisson
d10d5af28a
Merge pull request #4842 from NXPmicro/Fix_Analogout
...
Add call to DAC_Enable as this is no longer done as part …
2017-08-14 11:38:38 -05:00
Jimmy Brisson
0f0a461209
Merge pull request #4832 from OpenNuvoton/nuvoton
...
NUC472/M453: Fix several startup and hal bugs
2017-08-14 11:38:18 -05:00
Jimmy Brisson
069b2536bf
Merge pull request #4812 from deepikabhavnani/nxp_spi
...
Use DSPI SDK driver API's in SPI HAL driver
2017-08-14 11:37:52 -05:00
Jimmy Brisson
98720b0ae2
Merge pull request #4809 from betzw/betzw_ticker_github_wb
...
STM32: Align HAL & US tickers
2017-08-14 11:36:52 -05:00
Jimmy Brisson
25bcc2795e
Merge pull request #4808 from betzw/betzw_idle_github_wb
...
Make HAL & US tickers idle safe
2017-08-14 11:36:35 -05:00
Jimmy Brisson
2766e56e3d
Merge pull request #4801 from bcostm/fix_can_issue_4763
...
STM32 CAN: Fix issue with speed function calculation
2017-08-14 11:36:17 -05:00
Jimmy Brisson
097720670e
Merge pull request #4631 from OpenNuvoton/nuvoton_nano130
...
Add new target NUMAKER_PFM_NANO130
2017-08-14 11:35:58 -05:00
Jimmy Brisson
0150f58e12
Merge pull request #4608 from OpenNuvoton/nuvoton_m487
...
Support Nuvoton's new target NUMAKER_PFM_M487
2017-08-14 11:35:33 -05:00
Rob Meades
410a345b70
Enable crypto HW acceleration for STM32F437xG platforms (i.e. ublox C030 family).
2017-08-14 11:44:13 +01:00
Pavel Slama
2bc224bc2f
target BLUEPILL_F106C8 compile fix
...
INITIAL_SP missing when compile, here is a quick fix
2017-08-13 15:32:11 +02:00
Deepika
2a9c88c1b0
Use DSPI SDK driver API's in spi block read
2017-08-11 10:22:23 -05:00
Anna Bridge
8a1c7fab79
Merge pull request #4813 from jacobjohnson-ON/master
...
Dual Flash and Hex file support on NCS36510
2017-08-11 11:50:15 +01:00
Jimmy Brisson
00ab1fd6b2
Merge pull request #4852 from janjongboom/cortexm0p_bugs
...
SAM_CortexM0P uses uninitialized memory in i2c and uses out of bounds array in pwmout
2017-08-10 09:38:53 -05:00
Jimmy Brisson
95ca29930f
Merge pull request #4851 from janjongboom/stm32f4_wrong_erase
...
STM32F4_HAL_MMC erase command check is wrong. == has higher precedence than &
2017-08-10 09:38:25 -05:00
Mahadevan Mahesh
8a8553e8a0
Add call to DAC_Enable as this is no longer done as part of DAC_Init
...
Fixes Issue #3999
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-10 09:36:48 -05:00
Yuguo Zou
215a7906d3
Change to use copy assignment operator for RTWInterface::scan
2017-08-10 17:36:05 +08:00
MS30 CCChang12
346209ed2f
[NANO130] Adjust the stack size in IAR toolchains
2017-08-10 15:35:02 +08:00
Wolfgang Betz
e2dc67750c
Make HAL & US tickers idle safe
2017-08-09 14:29:57 +02:00
Martin Kojtal
1c948283be
Merge pull request #4805 from NXPmicro/Update_K64F_DSPI_SDK_Driver
...
K64F: Update the DSPI SDK driver to support the new API to change DUM…
2017-08-09 10:24:07 +01:00
jeromecoutant
54a32e0410
STM32L1 : internal ADC channels
2017-08-09 11:01:40 +02:00
jeromecoutant
726f207ee8
STM32L0 : internal ADC channels
2017-08-09 11:01:36 +02:00
jeromecoutant
27bf7d21d1
STM32F7 : internal ADC channels
2017-08-09 11:01:32 +02:00
jeromecoutant
803ab189fc
STM32F4 : internal ADC channels
2017-08-09 11:01:27 +02:00
jeromecoutant
3826ad23f6
STM32F3 : internal ADC channels
2017-08-09 11:01:23 +02:00
jeromecoutant
63ccfa0958
STM32F1 : internal ADC channels
2017-08-09 11:01:19 +02:00
jeromecoutant
aff3478519
STM32F0 : internal ADC channels
2017-08-09 11:01:14 +02:00
toyowata
da7fa0dd2a
[HAL LPC43xx] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
toyowata
72e8241ee0
[HAL LPC408x] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
toyowata
cb9b2b0456
[HAL LPC13xx] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
toyowata
db2da2e932
[HAL LPC11xx_11Cxx] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
toyowata
aa334b0d3e
[HAL LPC11Uxx] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
toyowata
fdc071d5e8
[HAL LPC11U6x] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
toyowata
9ad17b21a2
[HAL LPC176x] Fix mask bits for SPI clock rate
2017-08-09 16:51:31 +09:00
Martin Kojtal
f200db3e84
STM32F4: fix for 2nd back sector
...
Use ADDR_FLASH_SECTOR_12 as this is defined by target (the flash size varies, for
instance for some F437xx is up to 2MB (2nd bank might not be there)).
2017-08-08 09:50:19 +01:00
Martin Kojtal
c7dd95d9b8
STM32F437: remove flash api implementation
...
STM32F4 already contains generic flash api implementation, use it.
2017-08-08 00:13:47 +02:00
Jimmy Brisson
0e1c20d8e7
Merge pull request #4854 from adustm/STM32F412_flash_boot
...
NUCLEO_F412ZG add flash driver and bootloader support
2017-08-07 10:28:14 -05:00
Jimmy Brisson
9c81ba8766
Merge pull request #4835 from u-blox/c030_bootloader
...
Add bootloader support for the UBLOX_C030 platforms.
2017-08-07 10:27:56 -05:00
Jan Jongboom
f9d0304a81
SAM_CortexM0P HAL accesses uninitialized memory
...
Uses uninitialized memory in I2C, and accesses an out of band array in pwmout
2017-08-07 11:15:48 +02:00
Yuguo Zou
f24a40906a
Use placement new to optimize wifi scan
2017-08-07 11:23:30 +08:00
adustm
9d0e9dd8de
Move DEVICE_FLASH define to avoid compilation issues for non FLASH devices
2017-08-04 10:09:27 +02:00
adustm
44c8d16243
Add bootloader support
2017-08-03 15:07:14 +02:00
adustm
8bd7b595d8
Move flash_api.c to STM32F4 level + add flash_data.h for STM32F412 device
...
add FLASH to targets.json
2017-08-03 14:14:05 +02:00
Jan Jongboom
54929f6aee
STM32F4_HAL_MMC erase command check is wrong. == has higher precedence than &
2017-08-03 13:03:36 +02:00
ccli8
f8af225dda
[M487] Remove support for uVisor core debug message via STDIO
...
This is necessary. Otherwise, program will hang in uninitialized STDIO UART because uVisor core doesn't enable it.
2017-08-03 18:48:31 +08:00
ccli8
04578b6a11
[M487] Add back device_name in target description
2017-08-03 13:53:48 +08:00
ccli8
9ac0d90937
[M487] Move target configuration from mbed_lib.json to targets.json
2017-08-03 13:40:32 +08:00
ccli8
afb5aba8d9
[M487] Fix compile warnings with IAR toolchain
2017-08-03 13:33:17 +08:00
ccli8
99d12b1eb8
[M487] Fix compile warnings with GCC_ARM toolchain
2017-08-03 11:10:15 +08:00
Yuguo Zou
56a98e11d1
Move ticker related text to SRAM to fix GCC mbed-os-tests-mbed_drivers-timeout failing issue
2017-08-03 11:06:24 +08:00
ccli8
b31d6f6eaa
[M487] Fix compile warnings with ARM toolchain
2017-08-03 09:24:05 +08:00
Yuguo Zou
1d06bf4279
Disambiguate function __memset() in rtl8195a_init.c
...
When use ARMCC, __memset is replaced by ARM's version which will make
boot process hang.
2017-08-01 17:45:04 +08:00
Yuguo Zou
49a7e4b59e
Fix GCC compile errors
2017-08-01 17:03:01 +08:00
Tony Wu
35d7ca27be
rtl8195am - fix ARMCC SRAM + SDRAM porting
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-08-01 15:29:21 +08:00
Steven Cooreman
1e51dfa302
[Silicon Labs] cryptographic acceleration support
...
Initial commit of mbed TLS hardware acceleration drivers for Silicon Labs parts
2017-08-01 09:25:19 +02:00
cyliangtw
6b8724b27d
[NUC472] Sync SPI mode with NUC472 BSP V3.02.001
2017-08-01 14:40:54 +08:00
ccli8
d885de6ec5
[NUC472/M453] Move target configuration from mbed_lib.json to targets.json
2017-08-01 14:40:48 +08:00
ccli8
8092c3611b
[NUC472/M453] Add comment for Receive Time-out IF in SPI HAL
2017-08-01 14:40:42 +08:00
ccli8
c7fcd071e9
[NUC472/M453] Add sanity check for serial format
2017-08-01 14:40:37 +08:00
ccli8
5e335de67e
[NUC472/M453] Set LED4 to LED1
...
No real LED4. Just for passing ATS.
2017-08-01 14:40:31 +08:00
ccli8
ea1de8c9a8
[NUC472/M453] Remove mbed_sdk_init_forced()
...
1. With mbed OS 5, mbed_sdk_init() is ensured to call before C++ global object constructor.
2. Refine startup file with GCC_ARM toolchain related to this modification.
2017-08-01 14:40:25 +08:00
ccli8
6c9fda4e3e
[NUC472/M453] Fix lp_ticker typo
2017-08-01 14:40:20 +08:00
ccli8
ea7a0fdf74
[NUC472/M453] Add comment in gpio_irq_init()
2017-08-01 14:40:14 +08:00
ccli8
46cb684a32
[NUC472] Conform to mbed TLS H/W acceleration support
2017-08-01 14:40:08 +08:00
ccli8
8067f9ac91
[NUC472/M453] Move SystemInit() to register unlock range for perhaps future protected register access
2017-08-01 14:40:02 +08:00
ccli8
2844be6434
[NUC472/M453] Fix RTC time doesn't continue across reset cycle
2017-08-01 14:39:57 +08:00
ccli8
c4df35d1b5
[NUC472/M453] Fix region end address error with IAR toolchain
2017-08-01 14:39:50 +08:00
ccli8
306d8449b3
[M487] Remove NVIC_SetVector/NVIC_GetVector to match updated boot flow
2017-08-01 10:53:40 +08:00
ccli8
670822a581
[M487] Update spi_master_block_write() API
2017-08-01 10:47:39 +08:00
ccli8
bc7193508e
[M487] Fix GCC linker script with uVisor
2017-08-01 10:37:28 +08:00
ccli8
52d5a61e29
[M487] Fix include file error in case-sensitive environment
2017-08-01 10:37:27 +08:00
ccli8
0803267eab
[M487] Add ticker API us_ticker_fire_interrupt and lp_ticker_fire_interrupt
2017-08-01 10:37:26 +08:00
ccli8
b54e7e9639
[M487] Remove debug code in I2C HAL
2017-08-01 10:37:25 +08:00
ccli8
ed5ef0cc54
[M487] Refine coding style
2017-08-01 10:37:16 +08:00
ccli8
7b564c7f52
[M487] Add comment for Receive Time-out IF in SPI HAL
2017-08-01 10:32:50 +08:00
ccli8
7cfb7ae8f8
[M487] Add sanity check for serial format
2017-08-01 10:32:48 +08:00
ccli8
7a60b35d52
[M487] Set LED4 to LED1
...
No real LED4. Just for passing ATS.
2017-08-01 10:32:46 +08:00
ccli8
355b4336d6
[M487] Remove dead code
2017-08-01 10:32:43 +08:00
ccli8
8c76476929
[M487] Remove mbed_sdk_init_forced()
...
1. With mbed OS 5, mbed_sdk_init() is ensured to call before C++ global object constructor.
2. Refine startup file with GCC_ARM toolchain related to this modification.
2017-08-01 10:32:41 +08:00
ccli8
e99dc63d1b
[M487] Fix lp_ticker typo
2017-08-01 10:32:38 +08:00
ccli8
58e79d5186
[M487] Remove device_name temporarily due to CMSIS pack for it not ready yet
2017-08-01 10:32:36 +08:00
ccli8
642a2acb92
[Nuvoton] Give universal rtx configuration for all Nuvoton targets
2017-08-01 10:32:34 +08:00
ccli8
77ea786c04
[M487] Fix abnormal pulse on re-configuring pwmout
...
The issue is met in ARM mbed CI test tests-api-pwm.
2017-08-01 10:31:52 +08:00
ccli8
39a9f05491
[M487] Fix ARM mbed CI pwm test failed
2017-08-01 10:31:50 +08:00
ccli8
f182d7fcae
[M487] Add internal configuration control_01
2017-08-01 10:31:48 +08:00
ccli8
9c90cfd304
[M487] Add Arduino UNO pins D14 and D15
2017-08-01 10:31:45 +08:00
ccli8
d709deffc6
[M487] Fix emitting uvisor core debug message through USB VCOM
2017-08-01 10:31:43 +08:00
ccli8
e49ceb173e
[M487] Support initial stack allocated on SPIM CCM memory
2017-08-01 10:31:41 +08:00
ccli8
694838b706
[M487] Guard from initial stack allocated on SPIM CCM memory not initialized yet
...
Not add this guard in IAR toolchain due to its unsupported ILINK syntax
2017-08-01 10:31:38 +08:00
cyliangtw
aa47503435
[M487] Revise CAN & AES to fulfill real-chip
2017-08-01 10:31:36 +08:00
cyliangtw
8f67774fd9
[M487] Revise EMAC to fulfill real-chip
2017-08-01 10:31:26 +08:00
ccli8
b516019b12
[M487] Add comment in gpio_irq_init()
2017-08-01 10:24:07 +08:00
ccli8
b7dedbe917
[M487] Align with BSP
2017-08-01 10:24:04 +08:00
ccli8
23672b09a2
[M487] Support bootloader
2017-08-01 10:23:58 +08:00
ccli8
cc2ab31d2c
[M487] Divert SRAM bank2 (32 KB) to CCM from SPIM cache
...
Extend SRAM from 128 KB to 160 KB
2017-08-01 10:23:56 +08:00
ccli8
30ab1007e4
[M487] Support one-to-many mapping in the same pin map
2017-08-01 10:23:55 +08:00
ccli8
bcb96a12e1
[M487] Add SPI MOSI0/MISO0 into pin map
...
SPI MOSI0/MISO0 can use as SPI standard MOSI/MISO pins
2017-08-01 10:23:54 +08:00
ccli8
ef50c180fc
[M487] Add LED4 to pass ATS
2017-08-01 10:23:52 +08:00
ccli8
280d767700
[M487] Update startup files
...
1. Add SYS_DISABLE_POR() in startup_M480.c
2. Fix FMC_T::CYCCTL access is not unlocked
3. Sync system_M480.c with BSP
2017-08-01 10:23:51 +08:00
ccli8
82a5b5dd34
[M487] Fix board header for real chip
2017-08-01 10:23:50 +08:00
ccli8
12536436f8
[M487] Conform to mbed TLS H/W acceleration support released with mbed OS 5.3
2017-08-01 10:23:48 +08:00
ccli8
7578541021
[M487] Fix some compile warnings
2017-08-01 10:23:47 +08:00
ccli8
4d4d1a89f9
[M487] Change OS_CLOCK to 192 MHz
2017-08-01 10:23:45 +08:00
ccli8
aaf26a12e1
[M487] Fix compile error with GCC_ARM toolchain
2017-08-01 10:23:44 +08:00
ccli8
90e35febc1
[M487] Alpha support for real chip
...
Real chip is incompatible with test chip due to change of pinout. From this on, test chip is unsupported.
2017-08-01 10:23:43 +08:00
ccli8
59acfb3a47
[M487] Correct comment for RTC time error in 1 sec after boot
2017-08-01 10:23:40 +08:00
ccli8
2fc3d1721b
[M487] Fix RTC time doesn't continue across reset cycle
2017-08-01 10:23:39 +08:00
ccli8
00b69c7ddd
[M487] Change comment for serial_getc/serial_putc
2017-08-01 10:23:38 +08:00
ccli8
e3fb76f0d9
[M487] Fix region end address error with IAR toolchain
2017-08-01 10:23:37 +08:00
ccli8
3f97ad3cdd
[M487] Rename sleep/deepsleep to hal_sleep/hal_deepsleep
2017-08-01 10:23:36 +08:00
ccli8
4cc90e54d5
[M487] Fix serial error with sync/async calls interlaced
2017-08-01 10:23:34 +08:00
ccli8
3f650566d9
[M487] Fix pwmout power-down condition
2017-08-01 10:23:33 +08:00
ccli8
bea7548717
[M487] Fix DMA channel over-allocate
2017-08-01 10:23:32 +08:00
ccli8
5e9999424a
[M487] Fix flash algorithm
...
1. Remove setting of not released register ICPCON
2. Enable FMC_APUEN to update APROM
2017-08-01 10:23:31 +08:00
ccli8
3a8be6c711
[M487] Remove 'FIXME' comment in flash_api.c
2017-08-01 10:23:29 +08:00
ccli8
bced49325a
[M487] Support flash
2017-08-01 10:19:54 +08:00
ccli8
898a4bb4bd
[M487] Refine serial PDMA code
2017-08-01 10:19:50 +08:00
ccli8
422871ab4d
[M487] Refine SPI PDMA code
2017-08-01 10:19:48 +08:00
ccli8
a76d55a555
[M487] Add dma_modbase() to get PDMA base address
2017-08-01 10:19:45 +08:00
ccli8
aeee0e8b57
[M487] Fix pwmout power-down condition
2017-08-01 10:19:42 +08:00
ccli8
ae33f9eed7
[M487] Fix PDMA error on timeout
2017-08-01 10:19:39 +08:00
ccli8
0c574f6a98
[M487] Add missing support for ANALOGIN
2017-08-01 10:19:36 +08:00
ccli8
65de13454e
[M487] Prepare support for one-to-many mappings in the same pin map
...
Also fix bumped bug which doesn't call NU_MODBASE() to retrieve module base address
2017-08-01 10:19:33 +08:00
ccli8
04bd652a56
[M487] Add configuration option MBED_CONF_M480_USB_DEVICE_HSUSBD
2017-08-01 10:19:30 +08:00
cyliangtw
d32607294f
[M487] Support CAN feature
2017-08-01 10:19:25 +08:00
ccli8
95e0bc094a
[M487] Change sbrk() allocation to be 32-byte aligned
2017-08-01 10:19:22 +08:00
ccli8
acee0379c7
[M487] Remove power-down support from us_ticker
2017-08-01 10:19:19 +08:00
ccli8
3dc5f2da34
[M487] Support uvisor debug message through stdio uart
2017-08-01 10:19:16 +08:00
ccli8
ebe56466cc
[M487] Fix us_ticker drift error > 5%
2017-08-01 10:19:14 +08:00
ccli8
44572cf1a8
[M487] Fix link error in uvisor-enabled application
2017-08-01 10:19:11 +08:00
ccli8
ee622a0c51
[M487] Fix compile error with Travis CI
...
Use MBED_CONF_RTOS_PRESENT to filter out des/sha alternative for mbed OS 2.
2017-08-01 10:19:09 +08:00
cyliangtw
b91f064be7
[M487] Add CAN, AES and Eth
2017-08-01 10:18:54 +08:00
ccli8
98a79c872b
[M487] Support NuMaker-PFM-M487 board
2017-08-01 10:14:24 +08:00
Jimmy Brisson
50c616ec74
Merge pull request #4750 from andreaslarssonublox/ublox_enable_hw_acc_odin_w2
...
Enable crypto HW acceleration for UBLOX_EVK_ODIN_W2
2017-07-31 15:24:47 +00:00
Jimmy Brisson
66c3385727
Merge pull request #4398 from maximmbed/max326xx_ble_update
...
MAX326xx: BLE updates, fixed sleep, open-drain LEDs
2017-07-31 15:23:47 +00:00
Jimmy Brisson
f08d5a496c
Merge pull request #4623 from LMESTM/analogin_handle
...
Improve management handling of multiple instances of analogin ojects
2017-07-31 15:23:31 +00:00
Yuguo Zou
d1c87347af
Fix ARMCC & IAR compile errors
2017-07-28 18:33:52 +08:00
Jimmy Brisson
74387f8c78
Merge pull request #4765 from iotvietmember/add_vbluno52
...
Add support for the VBLUno52 board
2017-07-27 09:45:53 -05:00
Jimmy Brisson
66805f5c67
Merge pull request #4755 from LordGuilly/bluepill_hse_config
...
Bluepill: hse config fix
2017-07-27 09:44:42 -05:00
Yuguo Zou
2654d2c433
Switch off DBG messages
...
And clean up some unused debug messages
2017-07-27 18:51:57 +08:00
Tony Wu
c9ecb2749d
rtl8195am - adjust memory layout and enable fota support
...
1. Rearrange SDRAM and SRAM layout. Move timing critical code to SRAM,
and the rest to SDRAM.
2. Add bootloader that's capable of FOTA over mbed cloud.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-07-27 13:55:45 +08:00
Tony Wu
37739937ca
rtl8195am - rename GCC_ARM linker script
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-07-27 13:55:44 +08:00
Yuguo Zou
2864e4b05d
enable sdram usage of REALTEK_RTL8195AM
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-07-27 13:55:42 +08:00
jacobjohnson-ON
bd60addf40
Changed 36510 -> NCS36510 in targets.json
2017-07-26 08:15:06 -06:00
jacobjohnson-ON
41a0941d53
mbed OS 5.5.3, including the changes needed to enable 640k. Includes the proposed changes by Mac. 7/25/17
2017-07-25 17:37:14 -06:00
Wolfgang Betz
4fe8e8ca44
Align HAL & US tickers
2017-07-25 13:25:09 +02:00
MS30 CCChang12
38e78fa8b3
[NANO130] Ticker: add fire interrupt now function
2017-07-25 18:07:47 +08:00
MS30 CCChang12
c7cd9b607c
[NANO130] Change dummy to spi_fill in spi_api.c
2017-07-25 18:03:27 +08:00
Martin Kojtal
c8d43aeb2d
LPC MCUXpresso: fix write_fill argument for block write function
...
The latest HAL extension was not applied to the LPC MCUXpresso targets.
2017-07-25 10:26:40 +01:00
lordguilly
909a8343f5
Change HSE for blupill,can only be XTAL
...
The BLUEPILL board does have XTAL soldered, cannot be used with an external oscillator
2017-07-24 22:36:40 +01:00
Mahadevan Mahesh
cb95458c44
K64F: Update the DSPI SDK driver to support the new API to change DUMMY_DATA
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-24 15:26:13 -05:00
Jimmy Brisson
1f94ede86c
Merge pull request #4744 from deepikabhavnani/spi_issue_4743
...
Allow user to set default transfer byte for block read
2017-07-24 14:45:30 -05:00
Jimmy Brisson
d5108e5a7a
Merge pull request #4714 from bulislaw/expose_systemcoreclock
...
Expose SystemCoreClock via cmsis.h to support new CMSIS/RTX
2017-07-24 10:59:47 -05:00
Jimmy Brisson
456607b170
Merge pull request #4794 from jeromecoutant/PR_F767
...
NUCLEO_F767ZI : boot issue with GCC
2017-07-24 10:59:23 -05:00
Jimmy Brisson
f4de24bae1
Merge pull request #4793 from jeromecoutant/PR_F4_I2C
...
STM32 I2C : correct async issue
2017-07-24 10:59:03 -05:00
Jimmy Brisson
579bb3e994
Merge pull request #4778 from c1728p9/rebase_4161
...
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-24 10:58:32 -05:00
Jimmy Brisson
2098af5919
Merge pull request #4764 from jeromecoutant/PR_F0_PIN
...
STM32F0 : remove unavailable pins
2017-07-24 10:57:31 -05:00
Jimmy Brisson
732f7328f8
Merge pull request #4762 from jeromecoutant/PR_L4_ADC
...
DISCO_L475VG_IOT : pin update
2017-07-24 10:57:18 -05:00
Jimmy Brisson
c20154234f
Merge pull request #4756 from 0xc0170/fix_4613
...
Fix #4613 : remove duplicated startup files for MICRONFCBOARD
2017-07-24 10:56:57 -05:00
Jimmy Brisson
7a153ce337
Merge pull request #4754 from Archcady/TLS
...
Resolve TLS handshake failing issue for REALTEK_RTL8195AM
2017-07-24 10:55:30 -05:00
Jimmy Brisson
9e443e9d14
Merge pull request #4734 from LMESTM/stm32_uart_irq
...
Avoid data loss with serial interrupt used at high baudrates
2017-07-24 10:55:07 -05:00
Jimmy Brisson
57a4c95d2e
Merge pull request #4717 from monkiineko/master
...
STM32: Remove i2c_read() and i2c_write() redirects to HAL_I2C_IsDeviceReady()
2017-07-24 10:53:49 -05:00
Jimmy Brisson
a3359d6a9c
Merge pull request #4721 from marcuschangarm/flashiap_rtl8195am
...
REALTEK_RTL8195AM: FlashIAP read and address scope
2017-07-24 10:53:26 -05:00
Jimmy Brisson
742d98a9ed
Merge pull request #4696 from pan-/max32630_fix_uart
...
Max32630 UART: Fix IRQ dispatching and CTS/RTS line configuration
2017-07-24 10:46:36 -05:00
Jimmy Brisson
93ae6f99aa
Merge pull request #4290 from NXPmicro/Add_LPC54114_Support
...
Add mbed support for LPCXpresso54114 & LPCXpresso54608 boards
2017-07-24 10:46:14 -05:00
bcostm
cef5133092
STM32 CAN: Fix issue with speed function calculation
2017-07-24 16:35:39 +02:00
iotvietmember
bd49f4303e
Add support for the VBLUno52 board
...
Fix ERROR_PATTERN in VBLUNO52 config
Signed-off-by: iotvietmember <robotden@gmail.com>
2017-07-22 11:23:51 +07:00
Deepika
1b797e9081
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-21 09:46:22 -05:00
jeromecoutant
9e334a6b4a
NUCLEO_F767ZI : boot issue with GCC
2017-07-21 14:46:39 +02:00
jeromecoutant
c8cba15be7
STM32 I2C : correct async issue
2017-07-21 13:35:58 +02:00
Mahadevan Mahesh
316b859baf
LPC: Move platform specific code out of the analog api file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:16:06 -05:00
Mahadevan Mahesh
7d8b6d7684
LPC: Move platform specific code out of sleep api file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:15:59 -05:00
Mahadevan Mahesh
dfe2d3ba4c
Add support for LPC54608
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:15:51 -05:00
Mahadevan Mahesh
aee6f7b227
Add mbed support for LPCXpresso54114 board
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:15:36 -05:00
Laurent MEUNIER
7414b1266b
STM32: ADC: Fix PinMap_ADC_Internal
...
The instance needs to be searched in PinMap_ADC_Internal, not PinMap_ADC.
This was a copy paste error...
2017-07-20 14:15:37 +02:00
Russ Butler
7a9a22e2cd
Change 'macros' to 'macros_add' for NUCLEO_F756ZG
...
Address PR feedback by renaming 'macros' to 'macros_add'.
2017-07-19 13:09:45 -05:00
jeromecoutant
b654af2d80
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-19 16:39:26 +02:00
jeromecoutant
912c0de938
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-19 16:39:17 +02:00
jeromecoutant
341713b2ae
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-19 16:23:43 +02:00
jeromecoutant
26cd51f42a
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-19 16:23:43 +02:00
jeromecoutant
bc40b735d4
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-19 16:23:42 +02:00
jeromecoutant
df6a570a41
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-19 16:23:41 +02:00
jeromecoutant
68e1b2b465
STM32F1 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f1xx.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-19 16:23:41 +02:00
jeromecoutant
c13998f306
STM32F0 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f0xx.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-19 16:23:40 +02:00
Marcus Chang
1930c4b136
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-19 14:24:50 +01:00
adustm
1ae5f8cdaa
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-18 17:09:54 -05:00
MS30 CCChang12
5f58104640
[NANO130] Fix the file name case problem, verified on Ubuntu Linux
2017-07-18 20:00:08 +08:00
Jimmy Brisson
953b9250f1
Merge pull request #4751 from andreaslarssonublox/ublox_remove_redundant_odin_target_folder
...
Remove redundant ODIN-W2 target folder
2017-07-17 11:09:58 -05:00
Jimmy Brisson
e62b61c9a5
Merge pull request #4745 from Wiznet/master
...
WIZnet W7500*: Remove support for RTC
2017-07-17 11:09:39 -05:00
Jimmy Brisson
a0231db0b9
Merge pull request #4727 from u-blox/c030_peripheral_pins
...
Update UART3 pins for UBLOX_C030 platform.
2017-07-17 11:09:19 -05:00
Jimmy Brisson
1f23f74b93
Merge pull request #4732 from theotherjimmy/bcostm-pinmap
...
Correct DAC pin assignment
2017-07-17 11:08:57 -05:00
Jimmy Brisson
a2896cbd8d
Merge pull request #4708 from mattot01/CM3DS_enable_MPS2_test
...
Enable greentea testing on CM3DS_MPS2 target
2017-07-17 11:07:35 -05:00
Jimmy Brisson
775b935ed0
Merge pull request #4687 from bcostm/update_mbed_rtx_h
...
STM: cleanup mbed_rtx.h file
2017-07-17 11:07:07 -05:00
Jimmy Brisson
185b7233da
Merge pull request #4676 from LMESTM/issue_2959
...
Correctly enable / disable InterruptIn Edges detection
2017-07-17 11:06:27 -05:00
Jimmy Brisson
a75f935348
Merge pull request #4664 from bperry730/fix/st_can_api_freq
...
STM32: Fix the CAN initializing to the wrong frequency
2017-07-17 11:06:04 -05:00
Jimmy Brisson
adfed0f9de
Merge pull request #4644 from 0xc0170/fix_ticker_delta_negative
...
Ticker: add fire interrupt now function
2017-07-17 11:05:46 -05:00
Jimmy Brisson
6593d5bc7f
Merge pull request #4640 from chrissnow/xDot-Bootloader
...
STM32L1 Flash API and xDot bootloader support
2017-07-17 11:04:53 -05:00
Laurent MEUNIER
b9d801fe72
STM32: L0: adc struct member does not exist anymore
2017-07-17 16:29:09 +02:00
jeromecoutant
7da7af6cc4
STM32F0 : remove unavailable pins
...
Pins used for STDIO_UART_TX and STDIO_UART_RX are not available
2017-07-17 16:19:15 +02:00
jeromecoutant
a98594d132
DISCO_L475VG_IOT: remove unavailable pins
2017-07-17 14:09:01 +02:00
jeromecoutant
e0e332f5d9
STM32L4 AnalogIn init issue with _ALT pins
2017-07-17 13:33:50 +02:00
Laurent MEUNIER
ea33f8bf94
STM32: F2: adc; struct member not needed
...
Same as other families applied here
2017-07-17 13:27:22 +02:00
Laurent MEUNIER
efbeb0d057
STM32: analogin: adc struct member not needed anymore
...
The adc in analogin_t has the same value as the Instance member of
ADC_HandleTypeDef. So we can only rely on the later one.
2017-07-17 13:27:22 +02:00
Laurent MEUNIER
8540e8a1dd
STM32: Analogin - define handle in object not as a global
...
In this commit, the analogin_s structure is moved to commonn_objects.h file
to limit the duplicaion.
The ADC handle is moved from a global variable to a struct member of the
analogin object. This allows multiple ADC instances to work correctly.
Note that State needs to be explicitely set to HAL_ADC_STATE_RESET
because the object is not zero initialized.
2017-07-17 13:23:45 +02:00
Laurent MEUNIER
b5cbaaa0d0
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-17 08:46:00 +02:00
Laurent MEUNIER
85711eb09e
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-17 08:46:00 +02:00
Jesse Marroquin
3a4138369d
Update BLE, fix sleep and open-drain LEDs in MAX326xx
...
MAX32630FTHR gets BLE, uses timer peripheral 5 for HCI timing
libexactLE update for 610,620
Fixup hal_sleep and hal_deepsleep for 620
LEDn outputs now forced to open-drain
2017-07-14 17:36:56 -05:00
Yuguo Zou
2ec8b04074
Resolve TLS handshake failing issue
...
this issue, relating to wifi thread priority, makes blocking TCP socket
failing
2017-07-14 11:21:53 +08:00
MS30 CCChang12
4f66d2d809
[NANO130] Fix the file name case problem for building code in Linux system
2017-07-14 09:39:08 +08:00
Martin Kojtal
a7f9dc66b8
Fix #4613 : remove duplicated startup files for MICRONFCBOARD
...
Inherits from LPC11U34_421, that defines startup. They were identical.
2017-07-13 17:03:29 +01:00
Martin Kojtal
c295187750
Merge pull request #4634 from nvlsianpu/bugfix/issue_4357_I2C_SPI_simultaneously
...
Fix the issue #4357 : NRF52 doesn't support simultaneous use of I2C and SPI.
2017-07-13 16:53:33 +02:00
Bartek Szatkowski
693a3a8837
sara_nbiot_evk: Expose SystemCoreClock via cmsis.h
...
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-13 15:49:34 +01:00
Bartek Szatkowski
03e80119b5
REALTEK_RTL8195AM: Expose SystemCoreClock via cmsis.h
...
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-13 15:49:33 +01:00
Martin Kojtal
43a361214a
Merge pull request #4667 from Archcady/mute_debug_msg
...
Update and mute debug messages of REALTEK_TRL8195AM
2017-07-13 16:47:31 +02:00
Martin Kojtal
1e821499df
Merge pull request #4668 from bcostm/update_f429zi_pinouts
...
DISCO/NUCLEO_F429ZI: Enable all alternate functions and pins
2017-07-13 16:45:59 +02:00
Martin Kojtal
42548f3dce
Merge pull request #4691 from LMESTM/analogin_sample_time
...
STM32: F4: Increase ADC sampling time for VBAT
2017-07-13 16:43:40 +02:00
Martin Kojtal
06ff4f8bf2
Merge pull request #4693 from pan-/fix#4658
...
Nordic: Fix multiple defined symbol.
2017-07-13 16:43:09 +02:00
Rob Meades
1c7a7bc6a3
Add bootloader support for the UBLOX_C030 platforms.
2017-07-13 15:42:54 +01:00
Martin Kojtal
58d0aa5ce8
Merge pull request #4694 from bcostm/typo_pins_disco_l475vg
...
DISCO_L475VG_IOT01A: typo corrections in PeripheralPins.c
2017-07-13 16:42:00 +02:00
Martin Kojtal
29fefe8639
Merge pull request #4699 from jeromecoutant/PR_L0_InternalADC
...
STM32L0 : internal ADC channels
2017-07-13 16:40:54 +02:00
Martin Kojtal
59dd859210
Merge pull request #4707 from LMESTM/stm32_serial_it_source
...
STM32: serial: use proper macro to check interrupt
2017-07-13 16:40:16 +02:00
Martin Kojtal
08dfc8458e
Merge pull request #4736 from pan-/fix_nrf52_idle_stack
...
NRF52832: Extend idle thread stack size to 512 bytes.
2017-07-13 16:36:38 +02:00
Martin Kojtal
10ea63b8e7
Ticker: add fire interrupt now function
...
fire_interrupt function should be used for events in the past. As we have now
64bit timestamp, we can figure out what is in the past, and ask a target to invoke
an interrupt immediately. The previous attemps in the target HAL tickers were not ideal, as it can wrap around easily (16 or 32 bit counters). This new
functionality should solve this problem.
set_interrupt for tickers in HAL code should not handle anything but the next match interrupt. If it was in the past is handled by the upper layer.
It is possible that we are setting next event to the close future, so once it is set it is already in the past. Therefore we add a check after set interrupt to verify it is in future.
If it is not, we fire interrupt immediately. This results in
two events - first one immediate, correct one. The second one might be scheduled in far future (almost entire ticker range),
that should be discarded.
The specification for the fire_interrupts are:
- should set pending bit for the ticker interrupt (as soon as possible),
the event we are scheduling is already in the past, and we do not want to skip
any events
- no arguments are provided, neither return value, not needed
- ticker should be initialized prior calling this function (no need to check if it is already initialized)
All our targets provide this new functionality, removing old misleading if (timestamp is in the past) checks.
2017-07-13 12:23:25 +01:00
andreas.larsson
969d44d833
Remove redundant ODIN-W2 target folder
2017-07-12 15:05:25 +02:00
andreas.larsson
e776e0ee54
Added HW acceleration for ODIN-W2
2017-07-12 12:13:22 +02:00
Yuguo Zou
d46cc2ad3f
Remove unused headfile
...
This shall prevent confusion
2017-07-12 17:49:52 +08:00
Yuguo Zou
b435ff4a16
Enable/Disable debug from argument of constructor
2017-07-12 17:40:24 +08:00
MS30 CCChang12
2050095b0f
[NANO130] remove usage of mktime/localtime in rtc_api.c
2017-07-12 13:53:59 +08:00
justinkim
66500c0917
Unsupported RTC
...
delete rtc_api.c -> PWM3 pin enable
2017-07-12 13:43:08 +09:00
Yuguo Zou
c7111c429e
mute wifi_conf messages
2017-07-12 12:13:05 +08:00
MS30 CCChang12
83f395c07c
[NANO130] Fix symbol of IAR toolchain
2017-07-12 11:01:03 +08:00
MS30 CCChang12
00fa0f64c1
[NANO130] Remove dead code
2017-07-12 10:49:40 +08:00
Deepika
fd43405ffe
Allow user to set dummy tranfer byte for block read
2017-07-11 15:46:32 -05:00
Vincent Coubard
bf419ca1b3
Max32630 UART: Fix P5_5 mapping.
2017-07-11 17:53:58 +01:00
Laurent MEUNIER
be8024de28
STM32: serial: use proper GET_IT macro
...
Depending on families, different HAL macros are defined to check the
state of serial interrupts. In several cases, we can find only 1 macro:
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt has occurred or not
But in F0, F3, F7, L0, L4 there are 2 different macros
__HAL_UART_GET_IT
Checks whether the specified UART interrupt has occurred or not
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt source is enabled.
In the later case, __HAL_UART_GET_IT_SOURCE was being used so far,
but actually needs to be replaced by __HAL_UART_GET_IT. Using the right
macro, we also check the proper flags accordingly.
2017-07-11 17:22:33 +02:00
Vincent Coubard
3f4e839957
NRF52832: Extend idle thread stack size to 512 bytes.
...
Fix a crash where the idle thread stack size overflows. This crash
was depending on the compiler and standard library used.
2017-07-11 11:55:47 +01:00
MS30 CCChang12
3bbacad6a7
[NANO130] Remove mbed_sdk_init_forced()
...
1. With mbed OS 5, mbed_sdk_init() is ensured to call before C++ global object constructor.
2. Refine startup file with GCC_ARM toolchain related to this modification.
2017-07-11 17:50:20 +08:00
Jimmy Brisson
668d47305b
Correct DAC pin assignment
2017-07-10 13:33:21 -05:00
Jimmy Brisson
aae62bd990
Merge pull request #4674 from andreaslarssonublox/ublox_evk_nina_b1_fix_led4
...
Fix LED4 for UBLOX_EVK_NINA_B1
2017-07-10 12:06:11 -05:00
Jimmy Brisson
b38c85cafe
Merge pull request #4525 from fahhem/patch-1
...
Improve the startup code on the STM32F070
2017-07-10 12:04:42 -05:00
Jimmy Brisson
3d86959dd8
Merge pull request #4485 from kegilbert/f429_sdk_flash_driver-rebase
...
Replace CMSIS flash driver by SDK flash driver
2017-07-10 12:03:03 -05:00
Rob Meades
f920cc65af
UBLOX_C030: correct UART 3 Tx & Rx pins (they were the wrong way around) and add the flow control lines for UART 3.
2017-07-08 11:32:46 +01:00
Laurent MEUNIER
61648a53f5
Fix alignement
2017-07-07 17:27:46 +02:00
Anna Bridge
4890261c98
Merge pull request #4548 from deepikabhavnani/os_warn
...
Resolve Warnings for mbed-os-examples
2017-07-07 12:43:27 +01:00
Jimmy Brisson
e0f56d1ab7
Merge pull request #4659 from jeromecoutant/PR_F767
...
Add the correct startup s file in TARGET_STM32F767
2017-07-06 10:18:08 -05:00
Jimmy Brisson
dea489ef29
Merge pull request #4163 from adustm/STM_aes_l486rg
...
STM32L486RG/mbedtls: add aes hw acceleration
2017-07-06 10:17:15 -05:00
mattot01
774b5c6584
Enable greentea testing on CM3DS_MPS2 target
...
Set copy_method and reset_method in targets.json which is needed for
htrun.
2017-07-06 08:23:45 +02:00
Bradley Scott
251459e8aa
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-05 14:02:34 -04:00
bcostm
98aa178127
NUCLEO_F429ZI: comments corrections
2017-07-05 10:03:30 +02:00
bcostm
a86fc17e99
DISCO_F429ZI: Typo correction
2017-07-05 10:03:27 +02:00
bcostm
e8c817b105
NUCLEO_F429ZI: Add alternate pins and enable all pins
2017-07-05 10:03:23 +02:00
bcostm
20ef523195
DISCO_F429ZI: Typo corrections + add missing ALT pins
2017-07-05 10:03:21 +02:00
bcostm
b11151a96d
DISCO_F429ZI: Add missing ADC alternate pins
2017-07-05 10:03:17 +02:00
bcostm
3cdf90dc2f
DISCO_F429ZI: Add alternate pins and enable all pins
2017-07-05 10:03:15 +02:00
bcostm
7b09a10360
DISCO_F429ZI: Add 'Connected to' comment
2017-07-05 10:03:11 +02:00
cyliangtw
2f8e3fbfff
[NANO130] remove dead code
2017-07-05 11:11:43 +08:00
cyliangtw
348fa75b34
[NANO130] remove unnecessary progen in target.json
2017-07-05 11:10:25 +08:00
Jimmy Brisson
3f3fce9448
Merge pull request #4679 from 0xc0170/fix_ncs_usticker
...
ncs36510: us ticker improvements
2017-07-03 13:39:57 -05:00
Vincent Coubard
004d01d1b5
MAX32630: Apply correct configuration for CTS/RTS lines.
2017-07-03 17:02:43 +01:00
Vincent Coubard
5157c7b622
MAX32630: clear uart interrupt flag prior to handler call.
2017-07-03 16:39:29 +01:00
Vincent Coubard
253de5286d
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-03 16:35:19 +01:00
bcostm
d58070b658
DISCO_L475VG_IOT01A: typo corrections in PeripheralPins.c
2017-07-03 16:12:14 +02:00
Vincent Coubard
17b68d7c50
Nordic: Fix multiple defined symbol.
...
The symbol Systick_Handler was defined as a weak symbol in us_ticker.c and
startup_nRF51822.s. While it work as expected when an application is compiled
from mbed OS source code it creates a duplicate symbol issue when mbed OS is
bundled as a library.
2017-07-03 15:07:06 +01:00
Laurent MEUNIER
f8d6f95102
STM32: F4: Increase ADC sampling time
...
To get a valid VBAT measurement on F4 targets, it is required to increased
the sampling time to its maximum value.
2017-07-03 15:51:14 +02:00
Anna Bridge
c826e2f8b7
Merge pull request #4565 from Archcady/flash
...
Add FlashIAP support for REALTEK_RTL8195AM
2017-07-03 11:07:21 +01:00
bcostm
bd8fd08fe4
STM: cleanup mbed_rtx.h file
2017-07-03 11:16:35 +02:00
Chris
2a2d904b91
Tidy from rebase
2017-06-30 22:31:21 +01:00
Chris
a516dcac84
Code tidy
2017-06-30 22:28:06 +01:00
Chris
e59c059d3f
Incorrect comments removed.
2017-06-30 22:28:06 +01:00
Chris
8484467fdd
GCC Bootloader support
2017-06-30 22:28:06 +01:00
Chris
82a33b2a70
IAR Bootloader support
2017-06-30 22:28:06 +01:00
Chris
a4c7a29144
uArm Bootloader support
2017-06-30 22:28:06 +01:00
Chris
ed51bcb1d0
Formatting tidy up.
2017-06-30 22:28:06 +01:00
Chris
65ab95572c
added missing FLASH_FLAG_OPTVERR
2017-06-30 22:28:06 +01:00
Chris
5803bdd715
clear additional flags on erase to prevent errors
2017-06-30 22:28:06 +01:00
Chris
802000b059
GCC_ARM VTOR fixed, doesnt fit in the bootloader region though..
2017-06-30 22:28:06 +01:00
Chris
0ff055115a
VTOR bootloader aware
...
Attempt to add flash API but not working properly
2017-06-30 22:28:06 +01:00
Chris
18998411d8
added flash algorithm
2017-06-30 22:25:53 +01:00
Chris
c1e32a75df
initial commit of xDot bootloader
2017-06-30 22:25:53 +01:00
Jimmy Brisson
d382d44f06
Merge pull request #4529 from LMESTM/issue_1083
...
Manage multiple instances of analog out
2017-06-30 13:53:46 -05:00
Martin Kojtal
865f470324
ncs36510: us ticker improvements
...
Do not ticker read in ISR, use reminder to schedule the next interrupt, this should make ticker much faster.
read - disable Timer0 while reading it, if ISR is pending just reread the time again via read() function
These 2 improvements should decrease time spent when reading/scheduling ticker
events.
2017-06-30 16:34:30 +01:00
Laurent MEUNIER
cea91306de
STM32: Raise error in case of spurious interrupt
...
In case we've run through the entire GPIOs loop, withouth finding a
matching interrupt, we're in the case of a spurious interrupt, let's
raise an error to track it down.
2017-06-30 13:26:09 +02:00
Laurent MEUNIER
ade981dc9e
STM32: Store and restore rising falling config of gpio_irq
...
Now that rising / falling edge detection is disabled in the
gpio_irq_disable function, we also need to restore it when gpio_irq_enable
gets called.
2017-06-30 13:26:09 +02:00
Laurent MEUNIER
88770528bd
STM32 Fuly disable GPIO irq settings
...
When disabling GPIO irq, also the falling / rising edge settings need
to be reset (EXTI_RTSR and EXTI_FTSR registers).
If not reset, the same EXTI line can be later enabled again with a wrong
Rising / Falling configuration. This was especially seen and reported in
ci-test tests-api-interruptin on NUCLEO_F446RE target where DIO2=PA_10 and
DIO6=PB_10 were successively tested: as they are sharing the same EXTI_LINE
(EXTI_10), this resulted in calling the irq_handler with wrong
IRQ_FALL/IRQ_RAISE parameter and donothing being called in loop.
2017-06-30 13:26:09 +02:00
andreas.larsson
461c1b8492
Set LED4 the same as LED3 to get tests-mbedmicro-rtos-mbed-timer to pass. If set to NC the test will assert.
2017-06-30 12:29:38 +02:00
jeromecoutant
aefb13ab2a
STM32L0 : internal ADC channels
2017-06-30 11:07:31 +02:00
adustm
90bc8ca7ae
Replase CMSIS flash driver by SDK flash driver
2017-06-29 14:25:27 -05:00
adustm
4860e6a485
Rebase of: cb3907ef70
...
typo in flash_s struct
2017-06-29 14:24:40 -05:00
adustm
e7fb5b4edd
Rebase of: dfd0cf63e9
...
fix STM32F439 flash HAL
2017-06-29 14:24:40 -05:00
adustm
64e902edda
Rebase: 0d1c6c2d34
...
This commit completely rewrote flash_api.c in a few places so kicked out changes from Master and accepted the branch changes.
F429 + F439 : changes after code review
GetSector has been rewritten
2017-06-29 14:24:40 -05:00
adustm
565c3c11ad
Allow UBLOX to use SDK flash driver
2017-06-29 14:24:40 -05:00
Jimmy Brisson
9b082fff55
Merge pull request #4656 from LMESTM/update_flash_comments
...
Correct comments in flash api for STM32 L0 targets
2017-06-29 11:09:23 -05:00
Jimmy Brisson
0c5fc5b05a
Merge pull request #4641 from LMESTM/Increase_STM32L0_analogin_sampling_time
...
Increase L0 ADC sample time
2017-06-29 11:09:03 -05:00
Jimmy Brisson
d52ed5394c
Merge pull request #4632 from 0xc0170/fix_stm32_32bitticker
...
STM32: fix us ticker set event timestamp double ISR possibility
2017-06-29 11:08:42 -05:00
Jimmy Brisson
916bc4d953
Merge pull request #4629 from iotvietmember/add_target_vbluno51
...
Add support for VBLUno51 board
2017-06-29 11:08:19 -05:00
Jimmy Brisson
041737b248
Merge pull request #4577 from MultiTechSystems/xdot-enable-hsi
...
XDOT_L151CC: enable HSI after waking from stop mode so ADC functions
2017-06-29 11:07:17 -05:00
Jimmy Brisson
ea5c2cf328
Merge pull request #4421 from jeromecoutant/PR_CONFIG_CLOCK
...
STM32 : Clock source selection in json config file
2017-06-29 11:04:24 -05:00
Jimmy Brisson
88268bd3eb
Merge pull request #4625 from adustm/PULL_REQUEST_CUBE_UPDATE_F7_V1.7.0
...
Update STM32F7 cube from v1.6.0 to v1.7.0
2017-06-29 11:04:02 -05:00
Jimmy Brisson
54b2816b11
Merge pull request #4647 from nvlsianpu/bugfix/issue_4488_hardcode_uart_pins_nrf52
...
Remove hardcode UART pins definitions for nRF52832 SoC
2017-06-29 11:03:01 -05:00
adustm
2da3128a2a
STM32L486RG/mbedtls: add aes hw acceleration
2017-06-29 16:05:45 +02:00
Yuguo Zou
b7f1e73f97
Update and mute debug messages from wifi
2017-06-29 16:40:01 +08:00
jeromecoutant
2ae2d9896e
STM32F4: json clock source configuration
...
- default value is the same as before patch
- system_stm32f4xx.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
- nvic_addr.h file is now in TARGET_STM level, and can be used everywhere
2017-06-29 09:57:40 +02:00
Brad Perry
f7d76b5d29
Fixing the problem where the CAN is initialized to the wrong frequency at startup regardless of the value set in the constructor. Issue #3863
2017-06-28 12:07:14 -07:00
jeromecoutant
b5ef7a675a
Add the correct startup s file in TARGET_STM32F767
2017-06-28 17:13:02 +02:00
Jimmy Brisson
4fc4405306
Merge pull request #4610 from jeromecoutant/PR_TARGETJSON
...
STM32 : targets.json file simplification
2017-06-28 09:23:40 -05:00
Jimmy Brisson
bb3bedad79
Merge pull request #4638 from bcostm/fix_cmsis5_disco_l475vg
...
DISCO_L475VG_IOT01A: Fix startup files for cmsis5
2017-06-28 09:20:05 -05:00
Laurent MEUNIER
c5d76a2950
Correct comments in flash api for STM32 L0 targets
...
The initial comments were copied from L4 implementation but do not apply
to L0 targets where 1 sector is composed of a constant number of pages.
2017-06-28 09:41:52 +02:00
Jimmy Brisson
e907079456
Merge pull request #4603 from jeromecoutant/PR_OVERRIDE
...
STM32 : mbed_overrides.c is common for all families
2017-06-27 14:59:24 -05:00
iotvietmember
96e932525b
Remove comment in sdk_config.h
...
Signed-off-by: iotvietmember <robotden@gmail.com>
2017-06-27 21:27:40 +07:00
Andrzej Puzdrowski
080c5af88b
remove hardcode uart pins definition for nRF52 SoCs
...
Each boards define its own pins.
2017-06-27 16:00:52 +02:00
Martin Kojtal
0591b2bcd4
STM32: fix us ticker set event timestamp
...
While we are handling new timestamp, disable ticker's interrupt.
2017-06-27 09:54:29 +01:00
Andrzej Puzdrowski
323633611c
nrf5 spi_api - coding style enhancement
2017-06-27 10:44:21 +02:00
Andrzej Puzdrowski
c1870afa86
Bugfix: #4357 simultaneous using of I2C and SPI.
...
Use serial-box of Nordic nRF5 SDK to share resource between
SPI and I2C.
SPI is allocated from highest hw instance number resource in order
to allocate as many I2C instances as possible.
2017-06-27 10:44:20 +02:00
Laurent MEUNIER
ca26db620b
Increase L0 ADC sample time
...
With default sampling time, the MBED2 and CI test shield tests would fail
because the stabilization slope of ADC is relatively slow.
ERROR (out:0.8000) - (in:0.7407) = (0.0593)
ERROR (out:0.9000) - (in:0.8354) = (0.0646)
ERROR (out:1.0000) - (in:0.9289) = (0.0711)
This is related to the 10kOhms resistors used to connect Ain to
Aout mounted on the CI shileds, and internal capacitance of L0 targets.
If connecting Ain and Aout with wires, bypassing the resistors, the test
is passed. So we're increasing the sampling time to let the automated
ci shiled tests PASS.
OK (out:0.8000) - (in:0.7863) = (0.0137)
OK (out:0.9000) - (in:0.8869) = (0.0131)
OK (out:1.0000) - (in:0.9844) = (0.0156)
2017-06-27 10:33:42 +02:00
Laurent MEUNIER
4238216ad8
STM32: STM32F413xH dac_s common definition
...
Fixing conflict as STM32F413xH target has been merged after the first
version of moving dac_s structure definition to common_ojects.h
2017-06-27 09:30:45 +02:00
Laurent MEUNIER
07575b33f0
STM32: STM32L475xG dac_s common definition
...
Fixing conflict as STM32L475xG target has been merged after the first
version of moving dac_s structure definition to common_ojects.h.
2017-06-27 09:27:46 +02:00
Laurent MEUNIER
024b3da5f1
STM32: analog_out: generalize code for multiple instance handling
...
Moving some code in common to be able to manage several ADC instances,
or several channels of an instance.
The change involves:
- moving dac_s structure definition to common_object.h
- create TARGET_STM/analogout_api.c and move fully common analog_out
functions in there
- rename analogout_api.c of each target family into analogout_device.c
to keep platform specific code
- update analogout_device.c to rely on obj->handle and obj->channel
- align analogout_init function as much as possible between families in
analogout_device.c files
2017-06-27 09:27:46 +02:00
Laurent MEUNIER
b51d676dc0
STM32: analog_out: Enable Buffer and switch
...
ADC1 channel2 and ADC2 of few targets only have an output switch and no
buffer. This switch needs to be enabled, and also the buffer can be enabled
in order to reduce the output impedance on output, and to drive external
loads directly without having to add an external operational amplifier.
2017-06-27 09:27:46 +02:00
Laurent MEUNIER
cdd581b244
STM32: analag_out: Use dynamic handle in object rather than static
...
This allows a proper handling of multiple instances. Also this commit
stores the channel in the HAL format so that it can be re-used more easily
and call to HAL are straightforward.
2017-06-27 09:27:46 +02:00
Yuguo Zou
f7b2edc88c
Coding style fix
2017-06-27 11:33:46 +08:00
bcostm
03930b88f6
DISCO_L475VG_IOT01A: Add missing nvic_addr.h file
2017-06-26 20:14:08 +02:00
bcostm
72be051088
DISCO_L475VG_IOT01A: Update system init for cmsis5
2017-06-26 19:04:44 +02:00
bcostm
bd6d7382a3
DISCO_L475VG_IOT01A: Update toolchain files for cmsis5
2017-06-26 19:02:52 +02:00
Jimmy Brisson
fc39ad1625
Merge pull request #4422 from jeromecoutant/PR_F4_HSE_TIMEOUT
...
STM32F4 set HSE timeout value to 100ms
2017-06-26 10:29:13 -05:00
Jimmy Brisson
d103979e92
Merge pull request #4572 from bcostm/add_usb_disco_l072cz
...
DISCO_L072CZ_LRWAN1: Add support of USB Device
2017-06-26 10:28:31 -05:00
Jimmy Brisson
17a88a80ef
Merge pull request #4557 from mmorenobarm/master
...
Enable I2C and Analogin drivers for CM3DS_MPS2 target
2017-06-26 10:28:08 -05:00
Jimmy Brisson
50ec6db4d3
Merge pull request #4405 from arostm/Fix_Issue_4404
...
DISCO_L072CZ_LRWAN1: PC_13 definition missing in PinNames.h fix
2017-06-26 10:21:53 -05:00
Jimmy Brisson
0d2fb2d0a7
Merge pull request #4390 from mickeyln/patch-1
...
Nucleo-F070RB It doesn't work when use internal clock
2017-06-26 10:20:50 -05:00
jeromecoutant
8e28d9e47c
STM32 : targets.json file simplification
...
"FAMILY_STM32" has been creeated with all common features.
All STM32 devices can now inherit from it.
This will simplify readability and maintainability.
2017-06-26 11:00:00 +02:00
iotvietmember
5c0c964291
Add support for VBLUno51 board [TARGET_VBLUNO51]
...
+ VBLUno51 board:
Nordic nRF51822
Bluetooth Low Energy
DAPLink interface
Arduino UNO pinout compatible
4 Power
+ Wiki: https://vngiotlab.github.io/vbluno/
+ Pass all test case in mbed test suite
Signed-off-by: iotvietmember <robotden@gmail.com>
2017-06-25 20:16:58 +07:00
Anna Bridge
f1d0314783
Merge pull request #4410 from arostm/dev_disco_f413ZH
...
DISCO_F413ZH: Add new platform
2017-06-23 11:41:50 +01:00
Anna Bridge
55355d7374
Merge pull request #4401 from jeromecoutant/PR_USB_PIN
...
STM32 : Add USB used pins in PinNames.h files
2017-06-23 11:37:19 +01:00
Anna Bridge
4f5d4f040e
Merge pull request #4375 from LMESTM/STM32_SPI_LL
...
Stm32 spi : use LL API to improve performances
2017-06-23 11:33:55 +01:00
MS30 CCChang12
6c870ca65f
[NANO130] Fix issues in OS 5.5 Greentea test
...
1. Support CMSIS_VECTAB_VIRTUAL feature
2. Reduce the register sync waiting time in LP ticker
3. Adjust the stack and heap size in GCC and IAR toolchains
2017-06-23 17:24:22 +08:00
adustm
8058e04238
F7 ST CUBE V1.7.0
2017-06-23 09:49:31 +02:00
arostm
b5af4c40ec
DISCO_F413ZH: Add include of LL timer file
2017-06-22 09:23:09 +02:00
arostm
c0725aa3e8
DISCO_F413ZH: Deleted cmsis_nvic.c and modified cmsis_nvic.h
2017-06-22 09:23:08 +02:00
arostm
9a34c72bc5
DISCO_F413ZH: Remove hal_conf file
...
The board have to use th hal_conf file from F4/device directory
2017-06-22 09:23:08 +02:00
arostm
46949d054f
DISCO_F413ZH: add UART9 and 10 in serial_api.c
2017-06-22 09:23:08 +02:00
bcostm
6426d277d2
DISCO_F413ZH: Change I2C and SPI instances for Arduino default pins
...
Needed to pass ci-test-shield tests.
2017-06-22 09:23:07 +02:00
bcostm
8e798a9f35
DISCO_F413ZH: typo corrections in peripheralpins.c
2017-06-22 09:23:07 +02:00
bcostm
b62005ebb8
DISCO_F413ZH: Fix wrong NVIC RAM end address in IAR icf file
2017-06-22 09:23:07 +02:00
bcostm
e8ceb3bfa1
DISCO_F413ZH: correct ram length in GCC ld file
2017-06-22 09:23:07 +02:00
bcostm
a89c0ab1c0
DISCO_F413ZH: Add BUTTON1 definition
2017-06-22 09:16:32 +02:00
arostm
b862b653d3
DISCO_F413ZH: corrections
...
- leds definition
- add sw4stm32 exporter
- recomment mco debug
2017-06-22 09:16:32 +02:00
arostm
4a87436db2
DISCO_F413ZH: modifications in peripheralPins.c
2017-06-22 09:16:32 +02:00
arostm
781db4f265
DISCO_F413ZH: add some files and modification (targets.json, rtx...)
2017-06-22 09:16:32 +02:00
arostm
45d42336ce
DISCO_F413ZH: add terget.json, build_travis.py and test.py changes
2017-06-22 09:16:32 +02:00
arostm
5e3350ce38
DISCO_F413ZH: Modification needed to build
2017-06-22 09:07:00 +02:00
arostm
af6f9aaee0
DISCO_F413ZH: Creation folders and files (pinout, startup, etc...)
2017-06-22 09:07:00 +02:00
jeromecoutant
18572cc65b
STM32 : mbed_overrides.c is common for all families
2017-06-21 16:03:05 +02:00
Martin Kojtal
d121a43e37
Merge pull request #4597 from theotherjimmy/travis-upcase-asm
...
Assert that all assembly files are named correctly in travis
2017-06-21 09:50:47 +02:00
Jimmy Brisson
c7d6bbe295
Upcase all assembler file extensions
2017-06-20 14:50:08 -05:00
Anna Bridge
525debc63b
Merge pull request #4567 from u-blox/ublox_odin_driver_os_5_v2.1_rc1
...
Updated u-blox ODIN-W2 driver binaries to 2.1 rc1
2017-06-20 17:09:13 +01:00
bcostm
2d294495e1
DISCO_L072CZ_LRWAN1: Update HSI clock config for USB
2017-06-20 16:07:07 +02:00
Anna Bridge
810e16f88e
Merge pull request #4337 from u-blox/cellular_feature_br_ublox_pr1
...
Platform support for new CellularInterface in UBLOX_C027 and UBLOX_C030_U201.
2017-06-20 14:00:11 +01:00
Anna Bridge
c5e1fa70d9
Merge pull request #4242 from bcostm/dev_disco-l475-iot
...
DISCO_L475VG_IOT01A : Add new target
2017-06-20 11:41:42 +01:00
Jimmy Brisson
d8061216fe
Merge pull request #4563 from c1728p9/fix_stack_overflow
...
Increase background stack size to fix overflow
2017-06-19 11:04:51 -05:00
Jimmy Brisson
3f464217f1
Merge pull request #4554 from LMESTM/L476RG_ld_file
...
Fix NUCLEO_L476RG linker scripts
2017-06-19 11:04:10 -05:00
Jimmy Brisson
737a64c988
Merge pull request #4502 from LMESTM/issue_899
...
STM32: serial: clear Overrun flag if it is set when checking if readable
2017-06-19 11:00:23 -05:00
cyliangtw
bc0fc2ea4e
[NANO130] Align with mbed master
...
1. Remove RTX_CM_lib.h modification for NANO130 platform
2. Remove semaphore test code's speific modification for NANO130 platform
3. Fix duplicate definitions of __NVIC_SetVector/__NVIC_GetVector
4. Add spi_master_block_write()
2017-06-19 20:06:23 +08:00
Mike Fiore
1403dfc086
[XDOT_L151CC] enable HSI after waking from stop mode so ADC functions properly
2017-06-16 10:52:44 -05:00
andreas.larsson
e12efc073d
Moved u-blox ODIN-W2 cb_cert_utils.h to the correct place
2017-06-16 11:18:37 +02:00
Vincent Coubard
970ee38079
NRF52840: Adjust idle thread stack size.
...
A stack size of 256 bytes is not enough on the NRF52840, this patch
changes it to a size of 512 bytes.
2017-06-16 10:15:03 +01:00
andreas.larsson
a33f65d5f5
Updated binaries to 2.1 rc1
2017-06-16 10:44:16 +02:00
Laurent MEUNIER
20bd774a6c
STM32 SPI specific mode for higher performance
...
This commit implements a SPI mode which will offer better performance
thanks to usage of Lower Layer API which use fewer registers access,
at the cost of lower robustness (no error management).
2017-06-16 10:23:48 +02:00
Deepika
251fae34ac
Resolving: unused variable 'mode' [-Wunused-variable]. mode is used to determine kMCG_ModePEE in case of PEE to switch back manually as default after wakeup MCG is in PBE mode. this is required only when PEE mode is required
2017-06-15 12:14:04 -05:00
Deepika
35a436672b
Resolving warning: unused variable 'instance' [-Wunused-variable]
2017-06-15 12:09:50 -05:00
Deepika
8e1fe0a6b7
Added newline at end of file
2017-06-15 12:08:34 -05:00
Deepika
cc6de51688
Resolving warning: #2524-D: #pragma pop with no matching #pragma push : Pragma push for CC_ARM option is inside GNUC define, same hierarchy to be followed while pop
2017-06-15 12:07:02 -05:00
Deepika
9c9586a388
moving static at the start to resolve warning:'static' is not at beginning of declaration [-Wold-style-declaration]
2017-06-15 12:02:43 -05:00
Marc Moreno Berengue
6b04bb364f
Update port api driver to add missing ports
...
This patch updates port api driver to add missing
ports.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-06-15 17:30:31 +01:00
Marc Moreno Berengue
8de4c5323f
Update CMSDK_CM3DS.h
...
This patch updates CMSDK_CM3DS.h to remove the
DMA peripheral memory map and defines, as
that peripheral is not present in the system.
In addition, some define names where updated
concerning rtc. RTC_api was updated accordingly.
This patch also updates SMM_MPS2 to align defines and
comments.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-06-15 17:30:31 +01:00
Marc Moreno Berengue
fabfc85d31
Add analogin driver for CM3DS MPS2 target
...
This patch adds analogin driver for
CM3DS MPS2 target.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2017-06-15 17:30:30 +01:00
Marc Moreno Berengue
985a2bb01d
Add I2C driver for CM3DS MPS2 target
...
This patch adds the I2C driver for CM3DS MPS2 target.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-06-15 17:30:30 +01:00
Marc Moreno Berengue
ef79cf68a7
Implement pin_function and gpio_set
...
This patch implements pin_function and gpio_set
with some fixes in the PinNames.
The patch also updates the serial and spi
drivers to use the pin_function.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-06-15 17:30:30 +01:00
Sam Grove
226af545a4
Merge pull request #4510 from kegilbert/rearrange-odin-target-rebase
...
u-blox rearrange ODIN target
2017-06-15 11:20:48 -05:00
Sam Grove
109269da9c
Merge pull request #4414 from tkaman/master
...
Enable CM3DS_MPS2 target
2017-06-15 11:20:09 -05:00
Sam Grove
9787c5aff7
Merge pull request #4542 from NXPmicro/Update_K82_UART_Clock_Init
...
Issue#4528 K82F: Move the UART clock inititialization to board specif…
2017-06-15 11:18:47 -05:00
Rob Meades
fdf8a7980f
Platform support for OnboardCellular modem and u-blox cellular interface drivers. This change allows the u-blox C027 and C030 boards to use both the mbed-os OnboardCellular modem driver and the u-blox cellular interface drivers (which support both PPP and AT data modes).
2017-06-15 14:32:09 +01:00
Martin Kojtal
0f61af58a2
ncs36510: timer.h rename
...
This fixes an issue as Timer.h is mbed file, thus if this file gets included first,
causes failures.
2017-06-15 12:15:00 +01:00
Martin Kojtal
db71029eb7
targets: micronfcboard should add macros, not overwrite
2017-06-15 12:09:05 +01:00
Yuguo Zou
0de89c7712
Add FlashIAP support for REALTEK_RTL8195AM
2017-06-15 16:27:08 +08:00
Andreas Larsson
6a270fb348
Moved ODIN target files into STM32F439xI folder to avoid duplicate code
2017-06-14 13:21:04 -05:00
Laurent MEUNIER
73eebaad19
NUCLEO_L476RG: FLASH size of 1MB, not 2MB
...
MBED_APP_SIZE was erroneously defined to 2MB for this target,
while it's only 1MB.
2017-06-14 16:52:08 +02:00
Laurent MEUNIER
1d802028cf
NUCLEO_L476RG: GCC_ARM ld file fix
...
Following
Merge pull request #4063 from LMESTM/17q2_L4_bootloader
the NUCLEO_L476RG binairies could not boot anymore.
The change done in #4063 was derived from work on NUCLEO_L429ZI target
which supports uvisor. The VECTORS defintiion is introduced as part of
uvisor support and requires further changes in ld file which were missing.
As uvisor is not considered yet, we remove VECTORS for now and will
introduce only when needed.
2017-06-14 16:48:29 +02:00
Russ Butler
47b78a2d17
Fix STM32 crashes on boot due to unset VTOR
...
Remove HAL_Init and related code from SystemInit and move it to
mbed_sdk_init. The function SystemInit is called early in the boot
sequence before RAM is initialized or the VTOR is setup, so it should
not be used to perform the HAL initialization.
This fixes crashes due the vector table being used before it has been
relocated.
2017-06-13 12:12:20 -05:00
Mahadevan Mahesh
ef00edf934
Issue#4528 K82F: Move the UART clock inititialization to board specific file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-13 12:10:16 -05:00
jeromecoutant
8301ee04ca
STM32 Add USB pins name in PinNames.h files
2017-06-13 17:15:27 +02:00
bcostm
8ede14dac1
DISCO_L475VG_IOT01A: Add include of LL timer file
2017-06-12 17:12:57 +02:00
bcostm
66cbc8b452
DISCO_L475VG_IOT01A: Update device files after CubeL4 update
2017-06-12 17:03:12 +02:00
bcostm
af2078f38d
DISCO_L475VG_IOT01A: Update cmsis_nvic files
2017-06-12 17:03:12 +02:00
bcostm
f6a48838ad
DISCO_L475VG_IOT01A: Move USB device config files
2017-06-12 17:03:12 +02:00
bcostm
3519d535a0
DISCO_L475VG_IOT01A: Add generic buttons declaration
2017-06-12 17:03:12 +02:00
bcostm
2ed207efd4
DISCO_L475VG_IOT01A: change comment for 8-byte aligned adress for IAR .icf file
2017-06-12 17:03:12 +02:00
bcostm
7a2d1bd74a
DISCO_L475VG_IOT01A: Move ADC internal channels in dedicated table.
2017-06-12 17:03:12 +02:00
bcostm
05c023bcad
DISCO_L475VG_IOT01A: Add all pins even those not available on connectors.
2017-06-12 17:03:12 +02:00
bcostm
a8ab839e2c
DISCO_L475VG_IOT: Re-organize folder
...
- Move TARGET_DISCO_L475VG_IOT01A/ in TARGET_STM32L475xG/
- Add STM32L475xG extra label in targets.json
2017-06-12 17:03:12 +02:00
bcostm
b40591f1e1
DISCO_L475VG_IOT: Add USB Device files
2017-06-12 17:03:12 +02:00