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
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
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