Commit Graph

5734 Commits (af8ab49a74858b612e96623dc72cb874cf3e385f)

Author SHA1 Message Date
Ryan Morse b140b7011a Update PDL to latest 1.3 build
Updates to documentation and personalities. No functional code changes.
2019-08-30 08:35:39 -07:00
Roman Okhrimenko 9780c9018e Disabled QSPI for now 2019-08-30 16:00:09 +03:00
Roman Okhrimenko c249bf97c2 Updated target files structure to align with the following BSP PR. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 515555e7ba Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 74e873a045 Updated README.md 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 74c5ea6517 Updated BSD license file content. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 7e8d569261 Added example x.509 certificate for provisioning. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko b8639a00ec Updated CyBootloader hexes. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 9d4a697207 Updated linker scripts and startup file for ARM - fixes tests-mbedmicro-rtos-mbed-heap_and_stack failure on ARM compiler. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 4db392c2f6 Updated licenses in files, mentioned in commnets to https://github.com/ARMmbed/mbed-os/pull/11046 2019-08-30 15:10:18 +03:00
Roman Okhrimenko b15d54f5bf Fixed IAR linker script. 2019-08-30 15:10:18 +03:00
Roman Okhrimenko ed9995e06c PSOC6_SB: Initial commit to add CY8CPROTO_064_SB to mbed-os sources. 2019-08-30 15:10:18 +03:00
int_szyk 3fa878f8a8 Change LSI_VALUE in STM implementation.
Wrong LSI value might be causing problems witch watchdogs.
2019-08-30 13:54:39 +02:00
Martin Kojtal 1c32e3ca5a
Merge pull request #11353 from kyle-cypress/pr/psoc-reserved-resources
Add reserved resources metadata to Cypress BSPs
2019-08-30 12:47:42 +02:00
Martin Kojtal 335f3ad7ea
Merge pull request #11355 from kyle-cypress/pr/psoc-serial-flash
Initial support for Serial Flash on PSoC Devices
2019-08-30 12:42:59 +02:00
Martin Kojtal 68054861e8
Merge pull request #11354 from kyle-cypress/pr/pdl-linker-script
Update linker scripts based on latest PDL 1.3
2019-08-30 07:10:32 +02:00
Chun-Chieh Li 254866eac1 M263: Remove redundant SPI I2S pins from pinmap
The pins suffixed with 'I2SMCLK' are for SPI I2S and cannot be used in normal SPI.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi.
2019-08-30 11:33:56 +08:00
Chun-Chieh Li c67a0d8bd0 M263: 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-30 11:33:55 +08:00
Chun-Chieh Li 78ae1e0c73 M263: 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-30 11:33:54 +08:00
Chun-Chieh Li 5b7beab9da M263: 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-30 11:33:52 +08:00
Chun-Chieh Li eb435b7da0 M263: 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-30 11:33:51 +08:00
Chun-Chieh Li d15abe5171 M263: 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-30 11:33:49 +08:00
Chun-Chieh Li 9d4d99cf34 M263: 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-30 11:33:48 +08:00
Chun-Chieh Li 9aa69d03bf M263: Exclude USB UART from testing
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-08-30 11:33:47 +08:00
Chun-Chieh Li 3cb95a8baf M263: 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-30 11:33:45 +08:00
Ryan Morse d373cab5ab Initialize serial flash on device startup 2019-08-29 14:09:21 -07:00
Ryan Morse ee944cf850 Add serial flash implementation for PSoC 6 2019-08-29 14:08:56 -07:00
Martin Kojtal a65ed8c3d8
Merge pull request #11303 from jeromecoutant/PR_H743ZI2_480
NUCLEO_H743ZI2 : increase system clock from 400 MHz to 480 MHz
2019-08-29 17:10:06 +02:00
Hennadiy Kytsun bf00ebe409 Remove rom start/size macros when bootloader=true
Allow the application to specify this depending on whether/how
it is using the bootloader and whether it requires a CM0+ image.
2019-08-29 07:15:56 -07:00
Ryan Morse aaf641062c Update linker scripts based on latest PDL 1.3 2019-08-29 07:15:56 -07:00
jeromecoutant bb1388be8e NUCLEO_L4R5ZI: add QSPI_x definition 2019-08-29 14:17:33 +02:00
Martin Kojtal 8ef742a49c
Merge pull request #11370 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc1
Driver Updates + ARMC6 driver support + WIFI fixes
2019-08-29 13:35:06 +02:00
jeromecoutant f13072490c NUCLEO_L4R5ZI : add OSPI pins for QSPI 2019-08-29 12:11:28 +02:00
Chun-Chieh Li 7504cf835f M263: Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing
This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:

TARGET      EXP(us)     EXP+TOL(us) ACT(us)
NANO130     42000       43000       42939
NUC472      42000       43000       42236
M453        42000       43000       43274
M487        42000       43000       42877
M2351       42000       43000       43213

Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.

S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.
2019-08-29 18:08:12 +08:00
Chun-Chieh Li 2a48f54c1d M263: Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-08-29 18:00:45 +08:00
Laurent Meunier 8401c2ea31 STM32: Few fixes and tidy-up in qspi_api 2019-08-29 11:17:46 +02:00
jeromecoutant be78084a8b NUCLEO_H743ZI and NUCLEO_H743ZI2: clock configuration cleanup 2019-08-29 10:52:24 +02:00
Martin Kojtal 453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
Martin Kojtal 27571bc2d7
Merge pull request #11309 from NXPmicro/Fix_Kinetis_Spi
MCUXpresso Kinetis SPI drive: Add a delay between CS assertion and first sclk edge
2019-08-29 08:49:49 +02:00
aqib-ublox 7f36fbc86e Driver Updates + ARMC6 driver support + wifi fixes 2019-08-29 11:33:29 +05:00
Kyle Kearney 095e8dfbd9 Remove WATCHDOG from TARGET_SEQUANA
This was added to TARGET_PSOC6 which TARGET_SEQUANA inherits from,
but TARGET_SEQUANA doesn't implement WATCHDOG
2019-08-28 18:06:02 -07:00
dolphin\gena 605fdd13de Add pin speed controlling interface 2019-08-28 22:17:45 +03:00
Orest Akymyshyn 3898fed709 Update targets for Cypress Kits
Enable QSPI and Watchdog
Define additional macros to enable more generic BSP code
Allow deep sleep latency to be set by configurator-generated code
2019-08-28 10:56:15 -07:00
Ryan Morse 13f216d23d Fix LPA pin configuration for two Cypress Targets
Fixes are for CY8CKIT_062S2_43012 and CY8CPROTO_062_4343W
2019-08-28 10:56:15 -07:00
Kyle Kearney e8f325fe33 Update device startup code and linker scripts
Only include the CM4 startup code and linker scripts with the target for each board.
2019-08-28 10:56:15 -07:00
Kyle Kearney 8c2dec1233 Update board hardware configuration
Include all configurator design files with each BSP
2019-08-28 10:56:15 -07:00
Kyle Kearney 166325ac37 Move nested targets up one level
For kit targets that inherit from a module, move the kit a top-level
target folder rather than nesting underneath the module folder, to
avoid too-long-path issues on Windows.
Note this only changes the folder layout, not the inheritance.
2019-08-28 10:56:14 -07:00
Kyle Kearney 317f720b11 Move BSP design.modus/GenSrc into its own component
Enables code examples/end user applications to override if necessary
Add BSP_DESIGN_MODUS component by default to all PSOC6 boards. Applications can remove this if necessary.
2019-08-28 10:56:14 -07:00
Kyle Kearney 236bf2c0c3 Initialize timer for us_ticker at startup
This avoids a stack overflow if sleep is called for the first time from
the idle thread (which by default has a fairly small stack, and which is
already fairly deep by the time it calls into the usticker adapter)
2019-08-28 10:56:14 -07:00
Kyle Kearney ad6e833450 Enable SDIO DeepSleep Callback 2019-08-28 10:56:14 -07:00
Ryan Morse 0164ddcc80 Minor updates to BSP init for clarity 2019-08-28 10:56:14 -07:00
Kyle Kearney 85dd8d704b Clean up unnecessary doxygen comments
Fix incorrect file names in a few headers
2019-08-28 10:56:14 -07:00
Kyle Kearney d50145fd1d Comment about resource reservations in BSP Init 2019-08-28 10:56:14 -07:00
Kyle Kearney 0a1e64dd00 Register Sysclk PM callback in BSP Init 2019-08-28 10:56:14 -07:00
Kyle Kearney ced234607e Clean up common BSP implementation 2019-08-28 10:56:14 -07:00
Kyle Kearney e64fdba7fc Update BSP and WifiInterface for WHD Changes 2019-08-28 10:56:14 -07:00
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
James Wang 6d3d88f921
set NRF52832 static_memory_defines true
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52832 to use softdevice, it need MBED_RAM_START to set the true application ram start
2019-08-27 19:50:01 +08: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
Tony Wu 16e52f2868 rtl8195am - remove redundant code
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:34 +08:00
Tony Wu b170a90acf rtl8195am - fix array assumed to have one element warning
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:32 +08:00
Tony Wu d52dd1941e rtl8195am - fix argument format warning
[Warning] tcm_heap.c@70,18: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]
[Warning] tcm_heap.c@70,28: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:29 +08:00
Tony Wu ec7a3dd0f3 rtl8195am - fix missing braces around empty body warning
osdep_service.c@214,61: suggest braces around empty body in an 'else' statement [-Wempty-body]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:26 +08:00
Tony Wu 885b4ccbef rtl8195am - cleanup gcc linker script
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:51 +08:00
Tony Wu 020cf85cf0 rtl8195am - disable IAR support
Disable IAR support until HAL library is upgraded to IAR8

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:23 +08:00
Tony Wu 371d336fcd rtl8195am - enable USTICKER support
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:19 +08: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