adustm
c57a47e4b5
Change default FlashSize to 64Mbit = 8Mbytes = 0x800000
2018-08-22 15:00:20 +02:00
adustm
8e08740237
Fix Instruction with no data command
...
Adding QSPI_DATA_NONE activates the transfer
of the command inside HAL_QSPI_COMMAND function
2018-08-22 15:00:19 +02:00
adustm
05899e9c70
Fix Address.Size and AlternateByes.Size by shifting them
...
The ST HAL code is waiting for the correctly shifted vlue
(for a direct write into the HW register)
2018-08-22 15:00:18 +02:00
Martin Kojtal
d282c81e86
QSPI: add STM32L4 support
...
Disco IoT board support for QSPI. As it does not have dual flash support in QSPI,
we need to fix qspi hal implementation.
2018-08-22 15:00:17 +02:00
Martin Kojtal
ae7bb17eaf
QSPI: add flash pins for nrf52480_dk board
2018-08-22 15:00:16 +02:00
Martin Kojtal
0f7fd757a4
QSPI: add flash pins for F469 disco board
2018-08-22 15:00:16 +02:00
Martin Kojtal
c778c90184
QSPI STM32: fix default fifo and cycle
...
As example for DISCO F469NI defines them
2018-08-22 15:00:15 +02:00
Martin Kojtal
8783956a77
QSPI STM32: fix prepare comman - alt/address
2018-08-22 15:00:14 +02:00
Martin Kojtal
fff20729be
QSPI STM32: fix command transfer
...
use write/read from STM32 driver
2018-08-22 15:00:14 +02:00
Martin Kojtal
5038b38622
QSPI STM32: fix pin merging
...
hw name as input
2018-08-22 15:00:13 +02:00
Martin Kojtal
16ca742d87
QSPI STM32: fix disabled format phase
2018-08-22 15:00:12 +02:00
Martin Kojtal
2766672f64
QSPI STM32: add QSPI_x support to pinnames
2018-08-22 15:00:12 +02:00
Martin Kojtal
660d250e0d
QSPI STM32: init returns error if failed to init
2018-08-22 15:00:11 +02:00
Martin Kojtal
551f044e77
QSPI STM32: add qspi_command_transfer implementation
2018-08-22 15:00:11 +02:00
Martin Kojtal
6e5b889e52
QSPI STM32: remove polling from write/read
...
This will be part of custom instruction transfer, the flow will be:
1. write data
2. wait for transfer to complete (poll status register from the memory device)
2018-08-22 15:00:10 +02:00
Martin Kojtal
8da072d8af
QSPI STM32: set default command values to none
2018-08-22 15:00:10 +02:00
Martin Kojtal
11ae100d80
QSPI STM32: fix return value in frequency
2018-08-22 15:00:09 +02:00
Martin Kojtal
5e75b39b78
QSPI STM32: fix ssel af selection
2018-08-22 15:00:09 +02:00
Martin Kojtal
7da0ac2516
QSPI: add STM32 implementation
2018-08-22 15:00:08 +02:00
Senthil Ramakrishnan
cb4308ad64
Remove changes to Nordic SDK and modify HAL to track qspi init
2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan
10a6fd6549
Add support for 1_1_2 and 1_2_2 modes in HAL
2018-08-22 15:00:01 +02:00
Senthil Ramakrishnan
16d121c5d2
Review fixes and doxygen changes
2018-08-22 15:00:00 +02:00
Senthil Ramakrishnan
009cc8b474
Enabling QSPI headers in Nordic HAL implementation and fix for UART STDIO definitions
2018-08-22 14:59:59 +02:00
Senthil Ramakrishnan
2df58e2d25
Modify QSPI HAL API to include an API for command-transfer operations
2018-08-22 14:59:59 +02:00
Martin Kojtal
d1b51b6328
QSPI: initial HAL nrf52840 version
...
This commit adds QSPI HAL implementation for nrf52840 MCU targets
2018-08-22 14:59:58 +02:00
Martin Kojtal
d28d13cc9b
Merge pull request #7790 from jeromecoutant/PR_LPTICKER_RTC
...
STM32 LPTICKER : RTC wake up timer is reset before setting a new one
2018-08-22 14:04:58 +02:00
Andrew Leech
629357270e
NRF5x: Fix config of LFCLK source / settings.
2018-08-22 13:55:28 +10:00
Mahesh Mahadevan
f71004cf89
MIMXRT1050: Fix I2C Byte transfer functions
...
1. Added a flag to issue START command
2. Do not send START command inside i2c_start function as
the LPI2C hardware will issue a STOP on reception
of a NACK
3. Remove the i2c_address global variable, this is not
required
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-21 10:25:00 -05:00
Cruz Monrreal
17a525c487
Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp
...
UBLOX cellular api's for UDP and TCP
2018-08-21 10:12:47 -05:00
Cruz Monrreal
4b5c6c8953
Merge pull request #7823 from codeauroraforum/MIMXRT1050_Fix_I2C
...
MIMXRT1050_EVK: Update the I2C driver
2018-08-21 09:54:36 -05:00
Cruz Monrreal
a8f390ebec
Merge pull request #7798 from simosillankorva/NUCLEO_F303RE_bootloader_support
...
Add bootloader support for target NUCLEO_F303RE
2018-08-21 09:50:26 -05:00
Cruz Monrreal
c167275c6d
Merge pull request #7775 from jeromecoutant/PR_ASSERT
...
STM32 wrong MBED_ASSERT use
2018-08-21 09:44:23 -05:00
Cruz Monrreal
c10ad7f544
Merge pull request #7212 from davidsaada/david_flashiap_test_small_flash
...
FlashIAP & NVStore tests: Skip test if overwriting code in flash
2018-08-21 09:41:51 -05:00
Oren Cohen
795248bcaf
Restore lp_ticker_free to previous implementation when running with uvisor
...
This is a temporary patch until uvisor is removed
2018-08-20 13:20:45 +03:00
Mahesh Mahadevan
64e5eb01d2
MIMXRT1050_EVK: Update the I2C driver
...
1. Remove the repeated_start flag and code as this is not needed
for the LPI2C module
2. Enable the SION bit on the I2C pins
3. Enable 22K Pullup option of the I2C pins
4. Update the 0 byte write implementation to ensure the START
command gets flushed out of the FIFO
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-17 15:03:35 -05:00
Qinghao Shi
485fe79a71
add __ARM_FM macro in targets.json
2018-08-17 18:01:21 +01:00
Qinghao Shi
f612ea0b47
replace hard-coded vector size with macro in linker scripts
2018-08-17 17:59:17 +01:00
Cruz Monrreal
f15dbf2c3d
Merge pull request #7706 from jamesbeyond/fm_mem
...
Refactoring memory regions definitions for Fast Models MPS2 targets
2018-08-17 11:10:36 -05:00
Cruz Monrreal
8e25d2d905
Merge pull request #7669 from SigmaDeltaTechnologiesInc/master
...
SDT64, 8195, 32620, 32625, 51822, 52832B added to targets
2018-08-17 11:10:12 -05:00
David Saada
62a70f461b
Fix TMPM64B IAR linker file
...
Remove unnecessary manual inclusion of tmpm64b_fc object file in linker script
2018-08-16 21:59:44 +03:00
Simo Sillankorva
c6acfd389b
Change NUCLEO_F303RE IAR Linker script heap size
...
* Change the heap size value to be the stated 1/4 of the RAM.
2018-08-16 01:58:43 -07:00
Jiwon Yune
515e35efe9
fixed errors related to MAX32625_NO_BOOT
2018-08-16 13:53:47 +09:00
Jiwon Yune
f50e7e9620
SDT8195B removed
2018-08-16 11:05:19 +09:00
Cruz Monrreal
134ff0a3a9
Merge pull request #7777 from jeromecoutant/PR_SUNDAY
...
STM32F1 RTC : wrong Sunday value
2018-08-15 16:15:48 -05:00
Cruz Monrreal
c4e814d9cc
Merge pull request #7716 from MateuszMaz/#issue5119_pwm_fix
...
Fix issue #5119 , changed pwmout_api.
2018-08-15 16:12:41 -05:00
Cruz Monrreal
b01d0abf4c
Merge pull request #7693 from kapi90/cm3ds_gpio_api_fix
...
Fix for CM3DS GPIO api
2018-08-15 15:53:42 -05:00
Cruz Monrreal
b4e88392dd
Merge pull request #7645 from naveenkaje/fix_nrf
...
nrf_drv_twi: remove redundant nrf_drv_disable call in nrf_drv_twi_uninit
2018-08-15 15:51:21 -05:00
Simo Sillankorva
83608d59ac
Add bootloader support for target NUCLEO_F303RE
2018-08-15 07:30:05 -07:00
jeromecoutant
c8d628baf6
STM32 : update LPTICKER_DELAY_TICKS value
...
- decreased to 1 for low freq targets
- removed for high freq targets
- not changed for targets with LPTIM
2018-08-14 16:54:39 +02:00
jeromecoutant
a0fa0b6a5a
STM32 RTC : remove compilation warning with unused variable
2018-08-14 14:00:25 +02:00
jeromecoutant
7b77e50082
STM32 LPTICKER : RTC wake up timer is reset before settign a new one
2018-08-14 13:59:48 +02:00
jeromecoutant
e455d74f3d
STM32 : Sunday value is different for STM32F1
2018-08-13 17:04:56 +02:00
Cruz Monrreal
0e68570d49
Merge pull request #7686 from KariHaapalehto/1530_led
...
Correct MTB_ADV_WISE_1530 led configuration
2018-08-13 09:18:27 -05:00
jeromecoutant
063cad5992
STM32L4 assert in SetSysClock replaced
2018-08-13 16:01:49 +02:00
jeromecoutant
ac06d5574b
STM32L1 assert in SetSysClock replaced
2018-08-13 15:56:20 +02:00
jeromecoutant
220d033468
STM32L0 assert in SetSysClock replaced
2018-08-13 15:55:51 +02:00
jeromecoutant
749343f695
STM32F7 assert in SetSysClock replaced
2018-08-13 15:55:17 +02:00
jeromecoutant
b47c1ef6c4
STM32F4 assert in SetSysClock replaced
2018-08-13 15:54:51 +02:00
jeromecoutant
974141ce48
STM32F3 assert in SetSysClock replaced
2018-08-13 15:51:35 +02:00
jeromecoutant
bf7dc5f8b8
STM32F2 assert in SetSysClock replaced
2018-08-13 15:48:26 +02:00
jeromecoutant
dc02be705a
STM32F1 assert in SetSysClock replaced
2018-08-13 15:04:02 +02:00
jeromecoutant
76356039d9
STM32F0 assert in SetSysClock replaced
2018-08-13 14:53:33 +02:00
Mika Leppänen
4385361d38
Changed Realtek RTL8195A wifi interface to inherit EMAC interface
...
This allows connection status callback build into EMAC interface class
to work with Realtek RTL8195A wifi.
2018-08-10 10:07:16 +03:00
Cruz Monrreal
54f40a0f4f
Merge pull request #7523 from maximmbed/max32625pico-bl-updates
...
Add bootloader configuration parameters for MAX32625PICO
2018-08-09 19:06:30 -05:00
Cruz Monrreal
7bcbb78661
Merge pull request #7729 from davidsaada/david_fix_arm_linker_script_renesas_realtek
...
Rename text region in ARM linker file for Renesas & Realtek boards
2018-08-09 15:57:29 -05:00
Cruz Monrreal
c52d49c67b
Merge pull request #7731 from mirelachirica/wise_1570_clock_source_back_to_HSE_XTAL
...
Cellular: WISE_1570's system clock back to HSE_XTAL
2018-08-09 10:18:53 -05:00
Cruz Monrreal
e85acac175
Merge pull request #7717 from LMESTM/fix_checkfifo
...
STM32: check for UART ongoing transfers before entering deepsleep
2018-08-09 10:17:00 -05:00
MateuszM
b5eb59091a
fix formatting
2018-08-08 16:53:21 +02:00
Mirela Chirica
2d53282c38
Cellular: WISE_1570's system clock back to HSE_XTAL
2018-08-08 16:24:33 +03:00
Cruz Monrreal
d360da9d1d
Merge pull request #7419 from codeauroraforum/Add_MXRT_Sleep_Support
...
MIMXRT1050EVK: Fix Sleep support
2018-08-08 07:36:24 -05:00
David Saada
84412d6493
Rename text region in ARM linker file for Renesas & Realtek boards
2018-08-08 14:56:58 +03:00
Cruz Monrreal
0eb7e7dd89
Merge pull request #7703 from li-ho/adi_tmr_api
...
Resolve us_ticker.c api discrepancy between EV_COG_AD4050LZ and EV_COG_AD3029LZ
2018-08-07 09:16:55 -05:00
Cruz Monrreal
54bc12f91c
Merge pull request #7643 from bcostm/fix_uart_remove_force_reset
...
STM32: remove uart force_reset at init
2018-08-07 09:14:20 -05:00
Laurent Meunier
e12d98e1c0
Use HAL coding style for function naming
2018-08-07 13:42:46 +02:00
Laurent Meunier
402f3f1c3f
STM32: check for UART ongoing transfers before entering deepsleep
...
As suggested by Russ Butler in mbed-os issue #7328 , and until there is an
implementation of mbed-os issue #4408 , we are implementing a workaround
at HAL level to check if there is any ongoing serial transfer (which happens
if HW FIFO is not yet empty).
In case a transfer is ongoing, we're not entering deep sleep and
return immediately.
2018-08-07 11:30:53 +02:00
MateuszM
b5d23c3f26
Fix issue #5119 , changed pwmout_api.
...
The period of pwm we could get was limited to 69.9 ms, because prescaler value was set once only during initialization. base->mod is a 16 bit register, to get longer period we have to slow down the clk.
2018-08-07 09:36:32 +02:00
Mahesh Mahadevan
9cf2b76db9
MXRT1050_EVK: Enable Sleep function and add SKIP_SYSCLK_INIT macro
...
SKIP_SYSCLK_INIT prevents reinitializing the SYS_CLK PLL used by SDRAM.
This PLL is setup during bootup by the ROM code.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 11:55:33 -05:00
Mahesh Mahadevan
74c96b6359
MXRT1050_EVK: Sleep: add pre/post processing steps
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 11:55:32 -05:00
Mahesh Mahadevan
e18e0f12f4
MXRT1050_EVK: Ensure certain low power function are linked to internal memory
...
Low power functions related to powering off FLEXSPI and SDRAM needs
to be copied to internal memory
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 11:55:13 -05:00
Mahesh Mahadevan
a1d8298057
MIMXRT1050_EVK: Add Low Power Manager files
...
This is needed to support different Low-Power modes available
in MXRT1050
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-06 10:36:16 -05:00
Jiwon Yune
04fc7aa36f
Generic pin names added
2018-08-06 14:50:19 +01:00
Edmund Hsu
10af90ac0a
Resolve adi_tmr_ConfigTimer api conflict in us_ticker.c for both EV_COG_AD4050LZ and EV_COG_AD3029LZ
2018-08-06 16:41:55 +10:00
Edmund Hsu
da6c6bdc49
Resolve adi_tmr_ConfigTimer discrepancy between __ADuCM4050__ and __ADuCM3029__
2018-08-06 16:36:36 +10:00
Edmund Hsu
6a7bfeba6d
Disable unused Configuration data from compiler warning
...
Add __ADuCM3029__ constants
2018-08-06 16:32:18 +10:00
Edmund Hsu
20de3366ae
Add C++ linkage for adi_tmr.h
2018-08-06 16:25:32 +10:00
Edmund Hsu
9579440ce7
Add __ADUCM4050__ and __ADUCM3029__ to include MCU specific configurations
2018-08-06 16:23:25 +10:00
Qinghao Shi
f2aae22f92
Refactoring memory regions definitions for MPS2_M0 targets
...
* align MPS2_M0 FVP target with other MPS2 targets
* moved memory_zones.h
* chnage the flash_api.c where referencing the old memory_zones
* modify mbed_rtx.h to use the memory_zones definations as INITIAL_SP
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:48:53 +01:00
Qinghao Shi
6f92504467
Refactoring memory regions definitions for MPS2_M0P targets
...
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:43:45 +01:00
Qinghao Shi
8fc384296e
Refactoring memory regions definitions for MPS2_M7 targets
...
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:42:33 +01:00
Qinghao Shi
7159329efc
Refactoring memory regions definitions for MPS2_M4 targets
...
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:42:15 +01:00
Qinghao Shi
a9f44812ca
Refactoring memory regions definitions for MPS2_M3 targets
...
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-06 01:41:35 +01:00
Bence Kaposzta
f335fc10a6
Fix for CM3DS GPIO api
2018-08-03 15:10:49 +02:00
Kari Haapalehto
96457ab1e0
mbed-os-example_blinky didn't work with wise-1530, so MTB_ADV_WISE_1530
...
led configuration have been updated.
Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now
defined but not connected.
2018-08-03 10:29:13 +03:00
Cruz Monrreal
ae40a09036
Merge pull request #7508 from mprse/ticker_free
...
Ticker free() - requirements, pseudo code, tests, implementation
2018-08-02 23:05:14 -05:00
Cruz Monrreal
1023280bd9
Merge pull request #7676 from OpenNuvoton/nuvoton_organize_file_struct
...
Nuvoton: Organize file structure
2018-08-02 10:13:36 -05:00
Jiwon Yune
0046800c09
SDT64B in targets.json simplified
2018-08-02 22:34:14 +09:00
Przemyslaw Stekiel
ace821017f
Add implementation of ticker_free() function to CI boards.
...
This PR provides implementation of ticker_free() function for the following boards:
ARCH_PRO
EV_COG_AD3029LZ
EV_COG_AD4050LZ
K22F
K64F
K82F
KW24D
KW41Z
LPC546XX
NRF51_DK
NRF52_DK
NUCLEO_F207ZG
NUCLEO_F401RE
NUCLEO_F429ZI
NUCLEO_F746ZG
REALTEK_RTL8195AM
2018-08-02 09:48:10 +02:00
TomoYamanaka
04fcd33f15
Renesas : Improve Flash iap
...
I modified the _page_program() because when the request of the size exceeding the maximum size(256 byte) per one writing of Flash recieved, it was not able to loop the writing with sifting the address every 256 byte.
Also I modified the return value of flash_get_page_size() because I found that the minimum size per one writing of Flash is 1 byte by reviewing Flash spec.
"FLASH_PAGE_SIZE" macro's value is remain 256, it doesn't be used at flash_get_page_size(), used at _page_program() for refferencing of the maximum page size.
2018-08-02 13:48:56 +09:00
Cruz Monrreal
f9862b84e5
Merge pull request #7668 from bcostm/fix_cleanup_f7_hal_inittick
...
STM32F7: remove HAL_InitTick() declaration in us_ticker_data.h files
2018-08-01 21:42:22 -05:00
Martin Kojtal
b74a1ddf0d
Merge pull request #7552 from TomoYamanaka/feature-lp-ticker
...
Renesas: Add LPTICKER
2018-08-01 15:01:30 +02:00