Kyle Kearney
5d819ebc81
Initialize wifi SDIO during BSP init
2019-08-28 10:56:14 -07:00
Kyle Kearney
d98fa7a569
Rename BSP header for easier moves between targets
2019-08-28 10:56:14 -07:00
Martin Kojtal
96d9a8fea9
Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup
2019-08-28 18:37:17 +01:00
Martin Kojtal
104f9281c4
Merge branch 'I2C_SEQUENTIAL_COMMUNICATION_REWORK' of git://github.com/ABOSTM/mbed-os into dev_rollup
2019-08-28 18:36:53 +01:00
Martin Kojtal
31b65adf45
Merge branch 'master' of git://github.com/malavikasajikumar/mbed-os into dev_rollup
2019-08-28 18:36:40 +01:00
Martin Kojtal
7eb97be5a3
Merge pull request #11358 from 0xc0170/dev_rollup
...
Rollup PRs for 5.14
2019-08-28 16:39:36 +02:00
Martin Kojtal
67d1bb180b
Merge pull request #11319 from kyle-cypress/pr/whd-1.30-update
...
Update WHD to 1.30.0
2019-08-28 16:11:24 +02:00
Leon Lindenfelser
7063ccee9e
Add PA6 to ADC PeripheralPins for MTS_DRAGONFLY_L471QG
2019-08-28 13:12:08 +01:00
Mahesh Mahadevan
695e930f09
KL43Z: Enable USBDevice
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-28 13:12:04 +01:00
Marcelo Salazar
4d5bf75ae6
Fix ELMO_F411RE detect code
2019-08-28 13:12:03 +01:00
Martin Kojtal
2cfea4faba
target TT_: fix compilation errors
...
They define slave for spi, rtc but do not contain implementation - removing them.
Fixes #11143
2019-08-28 13:12:03 +01:00
Martin Kojtal
ae247b5645
Merge pull request #11326 from kyle-cypress/pr/psoc6-pdl
...
Update PDL for Cypress Targets
2019-08-28 12:30:37 +02:00
Martin Kojtal
d7b5f759ae
Merge pull request #11324 from kyle-cypress/pr/psoc6-csp
...
PSOC6: Update CSP to latest
2019-08-28 10:07:44 +02:00
Martin Kojtal
7e0fb8fab9
Merge pull request #11293 from NXPmicro/K82F_Add_USBDevice
...
K82F: Add USBDEVICE support
2019-08-28 07:27:40 +02:00
Ryan Morse
c611e76297
Update WHD to latest 1.30 build
2019-08-27 17:16:44 -07:00
Ryan Morse
ac3951097f
Update PDL to 1.3.0 final
2019-08-27 16:13:07 -07:00
Ryan Morse
5c899a3350
Bug fixes to interrupt/event handling in SDHC HAL
2019-08-27 15:29:32 -07:00
Malavika Sajikumar
db0d3d21e6
Updating SDP-K1 PinNames.h file.
...
- Removing LED pin definitions based on color.
- Removing and updating incorrect USB pin definitions.
- Adding comments for Arduino SPI and I2C pins.
2019-08-27 15:24:08 -07:00
Shuopeng Deng
8ad377add3
Fix I2C handling of 1 byte external memory address
2019-08-27 15:10:34 -07:00
Ryan Morse
459666f8f2
Fixed issue in QSPI when there aren't 8 pins
2019-08-27 15:10:34 -07:00
Kyle Kearney
375221097c
Update CSP to latest
...
Update HAL adapter for interface changes
Misc minor fixes to HAL adapter
2019-08-27 15:10:34 -07:00
Ryan Morse
5e2234f3e3
Add reserved resources lists to Cypress BSPs
...
These provide information to allow Cypress graphical configuration tools
to avoid conflicting usage of hardware resources which are managed by
firware included with the BSP.
2019-08-27 11:35:23 -07:00
Martin Kojtal
7e179f5beb
Merge pull request #11301 from jeromecoutant/PR_L4R
...
STM32L4+ : increase system clock from 80 MHz to 120 MHz
2019-08-27 09:49:09 +02:00
Kyle Kearney
33493b12d9
Update WHD clients for interface changes
2019-08-26 16:05:47 -07:00
Ryan Morse
66cf10f030
Update WHD to 1.30.0
2019-08-26 16:05:46 -07:00
Martin Kojtal
421ad37433
Merge pull request #11122 from OpenNuvoton/nuvoton_m263
...
Support Nuvoton's new target NUMAKER_IOT_M263A
2019-08-26 14:12:36 +02:00
Alexandre Bourdiol
de121a308a
Fix I2C issue with test mbed_hal_fpga_ci_test_shield
...
On last case #5 there was a last unexpected read.
It happened when stop condition was generated
2019-08-26 14:01:23 +02:00
Martin Kojtal
02d1873c06
Merge pull request #11266 from u-blox/feature_adc_temp_conf
...
ADC internal temperature support and EMAC header fix
2019-08-26 11:08:47 +02:00
Kyle Kearney
04aa0a6e9d
Update PDL
2019-08-23 17:58:41 -07:00
Alexandre Bourdiol
7910de2f38
TARGET_STM: Fix I2C sequential communication
...
Keep former behaviour for I2C V1.
For I2C V2:
Use only I2C_FIRST_FRAME, I2C_FIRST_AND_LAST_FRAME and I2C_LAST_FRAME,
thus we avoid using reload bit.
Reload suppose the next frame would be in the same direction,
but we have no guarranty about this. So we cannot use reload bit.
Note: in case of 2 consecutive I2C_FIRST_FRAME,
a restart is automatically generated only if there is direction change in the direction.
2019-08-23 16:26:19 +02:00
cyliangtw
5a1a25abe0
Add MBED_FAULT_HANDLER_DISABLED into macros to avoid GCC issue
2019-08-23 21:53:01 +08:00
Martin Kojtal
b786e68a6a
Merge pull request #11294 from NXPmicro/KL43_Add_Storage
...
KL43Z: Enable FALSHIAP storage
2019-08-23 15:43:19 +02:00
jeromecoutant
8cd00b3468
STM32L4: Add OSPI IP support in fallback QSPI mode
...
For STM32 platforms that embed an OSPI IP, we're offering
a QSPI fallback support with this commit.
When OSPI is supported in mbed, we can consider adding full
OSPI support
2019-08-23 15:18:48 +02:00
Mahesh Mahadevan
5af80db8b6
MCUXpresso Kinetis SPI drive: Add a delay between CS assertion and first sclk edge
...
1. FPGA test shield requires at least half sclk period delay between
CS assertion and first sclk edge
2. Update Kinetis SPI drivers to match what is already done for K64F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 07:11:43 -05:00
aqib-ublox
1ab75d3759
adding internal ADC pin definition for MBED_CONNECT_ODIN and MBED_ODIN_W2
2019-08-23 15:46:15 +05:00
cyliangtw
e57ed04252
modify acceptable license term of SDK drivres
2019-08-23 18:12:23 +08:00
cyliangtw
23267ba229
re-license files of M261 device folder to be Apache
2019-08-23 18:12:19 +08:00
cyliangtw
2b3fda91d3
Not disable MBED_FAULT_HANDLE by default after it supports Cortex-M23
2019-08-23 18:12:18 +08:00
cyliangtw
9d653af2cc
re-license all of M261 hal files to be Apache
2019-08-23 18:12:16 +08:00
cyliangtw
99e1d0b49c
M263 support GCC and IAR toolchain
2019-08-23 18:12:14 +08:00
cyliangtw
c9006bd422
Support InterruptIn class in ci-test/pwm_rise_fall test case
2019-08-23 18:12:13 +08:00
cyliangtw
d69e7c5613
Fix UNO pin map
2019-08-23 18:12:11 +08:00
cyliangtw
3164095cd6
M263: Fix channel release in analogout_free()
2019-08-23 18:12:10 +08:00
cyliangtw
a62c877d0e
M263: modify epwm-config-output
2019-08-23 18:12:09 +08:00
cyliangtw
2596b7c7be
M263: Include cmsis core_m23.h for macro __CORTEX_M in M261.h
2019-08-23 18:12:07 +08:00
cyliangtw
d52fced891
M263: Fix compile error on analogin/out & crypto-misc
2019-08-23 18:12:06 +08:00
cyliangtw
b9a2e06a1a
M263: delete 2 redundant files
2019-08-23 18:12:04 +08:00
cyliangtw
e46cf83850
M263: Add Numaker-IoT-M263A target board
2019-08-23 18:12:02 +08:00
jeromecoutant
3e4592703d
Create NUCLEO_H743ZI2 own target at 480 MHz
2019-08-23 10:33:08 +02:00
Martin Kojtal
14021eb4fe
Merge pull request #11268 from NXPmicro/Update_MCUXpresso_SDK_SPI
...
Update MCUXpresso SDK SPI drivers
2019-08-23 10:20:09 +02:00
Martin Kojtal
edc59ced82
Merge pull request #11215 from chrissnow/LPC1768_Scatter
...
LPC1768: Make use of the other 32K of RAM
2019-08-23 10:18:21 +02:00
Martin Kojtal
48b5939b33
Merge pull request #11152 from OpenNuvoton/nuvoton_fpga-ci
...
Nuvoton: Fix FPGA CI test failing
2019-08-23 10:02:19 +02:00
Martin Kojtal
b1aec797e2
Merge pull request #11282 from NXPmicro/K22_Add_Storage
...
K22F: Add FlashIAP for storage
2019-08-23 10:01:16 +02:00
Mahesh Mahadevan
6d736d8ce0
KL43Z: Enable FALSHIAP storage
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 12:16:09 -05:00
Mahesh Mahadevan
c249d5fd54
K82F: Add USBDEVICE support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 11:17:35 -05:00
Anna Bridge
7455b89603
Merge pull request #11280 from Tharazi97/stm_spi_api_memset_fill_truncated
...
Tweak stm_spi_api Coverity warning.
2019-08-22 17:11:19 +01:00
Mahesh Mahadevan
a85f0824be
MCUXpresso: Update EDMA drivers to fix warnings
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 10:47:43 -05:00
Mahesh Mahadevan
a184a86e90
MCUXpresso: Update the SDK LPUART drivers
...
Use the latest driver from K66F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 08:26:11 -05:00
Mahesh Mahadevan
bff287580c
MCUXpresso: Update I2C SDK driver
...
Use the K66F driver that has the latest
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:29 -05:00
Mahesh Mahadevan
23bf7b74b0
MCUXpresso: Update SDK EDMA driver
...
Update to the latest version from K66F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:29 -05:00
Mahesh Mahadevan
382696fc50
MCUXpresso: Use SDK API for spi_master_block_write
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:28 -05:00
Mahesh Mahadevan
33b66ffa60
MCUXpresso: Update Kinetis SPI SDK drivers
...
Added dummy data setup API to allow users to configure
the dummy data to be transferred.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:28 -05:00
Mahesh Mahadevan
4102114a72
MCUXpresso: Update Kinetis DSPI SDK drivers
...
- Added dummy data setup API to allow users to configure
the dummy data to be transferred.
- Added new APIs for half-duplex transfer function. Users
can send and receive data by one API in the polling/interrupt/EDMA way,
and they can choose either to transmit first or to receive first.
Additionally, the PCS pin can be configured as assert status in
transmission (between transmit and receive) by setting the
isPcsAssertInTransfer to true.
- Fix for MISRA issues
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:28 -05:00
Martin Kojtal
1182d1e9bb
Merge pull request #11284 from NXPmicro/K22_Add_USB_Support
...
K22: Add USBDEVICE support
2019-08-22 14:34:44 +02:00
jeromecoutant
680e0fc5fb
DISCO_L4R9I: increase system clock from 80MHz to 120MHz
2019-08-22 13:32:20 +02:00
jeromecoutant
bdd0689228
NUCLEO_L4R5ZI: increase system clock from 80MHz to 120MHz
2019-08-22 13:21:28 +02:00
Martin Kojtal
32e97e3371
Merge pull request #11267 from NXPmicro/LPC_Optimize_usticker
...
NXP MCUXpresso: optimize us_ticker for LPC platforms
2019-08-22 11:18:09 +02:00
Martin Kojtal
9d6bfcfc78
Merge pull request #11261 from NXPmicro/Enable_Tickless_LPC
...
MCUXpresso: Add TICKLESS support for LPC platforms
2019-08-22 11:06:00 +02:00
Alexandre Bourdiol
7647b39adc
TARGET_STM: I2C sequential communication revert PR #3324 to original cube HAL
2019-08-22 10:44:20 +02:00
Martin Kojtal
edcde1ce8c
Merge pull request #10796 from NXPmicro/tickless
...
NXP: Enable MBED_TICKLESS on various NXP platforms
2019-08-22 10:30:14 +02:00
Martin Kojtal
d0c917cb32
Merge pull request #11274 from VVESTM/vve_eth_h7
...
Add ethernet support on NUCLEO_H743ZI board
2019-08-22 09:42:45 +02:00
Mahesh Mahadevan
20aa1ecfd9
K22F: Add FlashIAP for storage
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-21 12:10:00 -05:00
int_szyk
5c9daa3941
Tweak stm_spi_api Coverity issue.
...
Coverity warining: "memset fill truncated (NO_EFFECT)".
Changed SPI_FILL_WORD to SPI_FILL_CHAR.
2019-08-21 16:47:35 +02:00
Vincent Veron
8ab6aecbe9
Move stm32xx_emac_config.h to family specific folder
...
This allows to specify which hal version to use for each family.
It can also be used to modify the thread stack size.
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 15:02:45 +02:00
Vincent Veron
76fb4d22cc
STM32H7 : update linker script files to use right location for lwip_ram_heap
...
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:41:30 +02:00
Vincent Veron
9f2e9aa576
Add EMAC support for NUCLEO_H743ZI
...
This port is based on :
* CurryGuy ethernet branch :
https://github.com/CurryGuy/mbed-os/tree/feature-stm32h7-emac
* STM32 Cube example :
Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS example
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:40:48 +02:00
Mahesh Mahadevan
7e6da8bffe
K22: Add USBDEVICE support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-20 15:15:46 -05:00
Mahesh Mahadevan
c8ad24c8f5
NXP MCUXpresso: optimize us_ticker for LPC platforms
...
Provide new optimizations for us_ticker and wait_us.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-20 10:39:28 -05:00
aqib-ublox
80e30f4258
ADc internal temperature suuport and EMAC header fix
2019-08-20 18:44:22 +05:00
Martin Kojtal
ce74bb53c4
Merge pull request #11178 from Tharazi97/watchdog_max_timeout
...
ST: Watchdog: Fix timeout registers value calculation
2019-08-20 13:47:31 +02:00
Martin Kojtal
c37b5628ec
Merge pull request #11255 from cy-vaira/nvram-cy8cmod-062s2-43012
...
Update NVRAM image for target CY8CMOD-062S2-43012
2019-08-20 10:27:30 +02:00
Martin Kojtal
169ada9209
Merge pull request #11237 from Tharazi97/TT_M3HQ-build-problem
...
Fix TT_M3HQ build problem
2019-08-20 10:23:28 +02:00
Martin Kojtal
191f029f73
Merge pull request #11226 from chrissnow/LPC1768_WDT
...
LPC1768 Watchdog & Reset Reason
2019-08-20 10:22:42 +02:00
Martin Kojtal
e2fef54898
Merge pull request #11188 from NXPmicro/MXRT_TRNG
...
MIMXRT1050_EVK: Add TRNG support
2019-08-20 09:50:43 +02:00
Martin Kojtal
e3bfcbc2ff
Merge pull request #11142 from hugueskamba/hk-usb-targets-relocation
...
Relocate USB target specific code to root `targets` directory
2019-08-20 09:39:30 +02:00
Martin Kojtal
e56f3199eb
Merge pull request #11127 from NXPmicro/Fix_LPC55S69_AnalogIn
...
Fix ANALOGIN support for LPC55S69
2019-08-20 09:33:40 +02:00
Martin Kojtal
b16aaca568
Merge pull request #11118 from ganesh-ramachandran/m46b_newfeatures
...
Add new features to Toshiba's TMPM46B
2019-08-20 09:27:28 +02:00
Chun-Chieh Li
96dac4faa7
[M487] Exclude A2/A3 from testing for NuMaker-IoT-M487 V1.3
...
Since NuMaker-IoT-M487 V1.3, A2/A3 are dedicated to on-board ESP8266 WiFi
module RTS/CTS pins and so must exclude from FPGA CI testing.
2019-08-20 13:12:44 +08:00
Chun-Chieh Li
c99c43cacd
[M2351] Fix pinmap table error with SPI clock pin
2019-08-20 13:12:44 +08:00
Chun-Chieh Li
07f39f1337
[M2351] Fix CLK_SetModuleClock_S(...) error with SPI
...
Fix SPI module index error in modidx_ns_tab table in CLK_SetModuleClock_S().
Need to update secure image for this bugfix.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - init/free test all pins.
2019-08-20 13:12:44 +08:00
Chun-Chieh Li
bab5d27e26
[M453] Classify by M45xD/M45xC and M45xG/M45xE
...
M451 series can classify by M45xD/M45xC and M45xG/M45xE. To support this
classification:
1. Create TARGET_M45xD_M45xC and TARGET_M45xG_M45xE targets.
2. Mark NUMAKER_PFM_M453 belongs to TARGET_M45xG_M45xE by 'extra_labels_add'
in targets.json.
3. Fix pin name table according to the classification.
4. Fix pinmap table according to the classification.
2019-08-20 13:12:43 +08:00
Chun-Chieh Li
6f1bd325cd
[NANO130] Remove SPI MOSI1/MISO1 pins from pinmap
...
MOSI1/MISO1 are used in second bit of 2-bit transfer mode and cannot be used
for normal MOSI/MISO. Remove them from pinmap.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - basic test.
2019-08-20 13:12:43 +08:00
Chun-Chieh Li
c3d7ef8341
[Nuvoton] Free up peripheral pins in peripheral free-up HAL API
...
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-08-20 13:12:43 +08:00
Chun-Chieh Li
ca0846b1e9
[Nuvoton] Support GPIO input pull-high/pull-low
...
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
09bf844d76
[Nuvoton] Fix redundant call to UART IRQ handler
...
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
d46c6fea47
[Nuvoton] Fix redundant SPI clock generation
...
Fix SPI clocks are generated redundantly at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
80c21aeff5
[Nuvoton] Fix I2C NACK error
...
Fix logic error on replying NACK at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
fef138a3cd
[Nuvoton] Fix IP initialization sequence
...
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)
NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
situation.
2019-08-20 13:12:41 +08:00
Chun-Chieh Li
560fe33ed8
[Nuvoton] Exclude USB UART from testing
...
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-08-20 13:12:41 +08:00
Chun-Chieh Li
f88bd72c19
[Nuvoton] Force enum PinName to 32-bit
...
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-08-20 13:12:41 +08:00