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
Dustin Crossman
006adf3592
Fixed byte string related TypeError if using python3.
2019-08-29 13:28:43 -07:00
Martin Kojtal
ea582f3e11
Merge pull request #11235 from evedon/mprintf-rework
...
minimal-printf should not bypass the retargetting code
2019-08-29 18:49:01 +02: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
Martin Kojtal
9203c88b1e
Merge pull request #11275 from VeijoPesonen/disable_nvstore
...
Enable building feature storage with a bare metal profile
2019-08-29 17:05:54 +02:00
Martin Kojtal
40a84fc96f
Merge pull request #11359 from anttiylitokola/update-mbed-coap-to-5.0.0
...
Update mbed-coap to version 5.1.0
2019-08-29 16:37:09 +02:00
Martin Kojtal
159ee4583a
Merge pull request #11225 from kjbracey-arm/µvision528c++14
...
µVision export: Handle more C++ language standards
2019-08-29 16:31:45 +02:00
Lei Zhang
0b2e7bbef9
Use event handlers for link state callback
...
Allows DHCP to listen for device disconnect and refresh ip lease on reconnect.
2019-08-29 07:19:46 -07: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
Jaeden Amero
3e53118727
crypto: Add IPC for psa_copy_key()
2019-08-29 14:55:21 +01:00
Jaeden Amero
4eb4b32910
psa: Update crypto service for PSA Crypto 1.0b3
2019-08-29 14:55:21 +01:00
Jaeden Amero
ea17d58b49
mbedtls: Update Mbed TLS and Mbed Crypto
...
Update Mbed TLS to 2.19.0d0 and Mbed Crypto to 2.0.0d1.
2019-08-29 14:55:05 +01:00
Maciej Bocianski
e7e5cd2aa4
equeue tests: add user allocated events tests
2019-08-29 15:02:41 +02:00
Maciej Bocianski
b336f73e77
equeue posix impl: make queue mutex reentrant
2019-08-29 15:02:40 +02:00
Maciej Bocianski
66da694625
equeue: add user allocated event support
...
Allow posting events allocated outside queue memory
2019-08-29 15:02:14 +02:00
jeromecoutant
bb1388be8e
NUCLEO_L4R5ZI: add QSPI_x definition
2019-08-29 14:17:33 +02:00
Veijo Pesonen
155f04713a
Revert "Sets NVStore disabled by default"
...
This reverts commit bda7678071
.
2019-08-29 14:50:40 +03: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
Antti Yli-Tokola
5f92db3c12
Add a flag to maintain backward compatibility
...
By default CoAP will create a copy of the whole data to be passed to application and it keeps the backward compatibility.
If enabled, application must NOT free the payload when it gets the COAP_STATUS_PARSER_BLOCKWISE_MSG_RECEIVED status.
And application must call sn_coap_protocol_block_remove() instead.
2019-08-29 13:34:24 +03:00
Evelyne Donnaes
d9f32639eb
Changed minimal-printf to call fputc so that it does not bypass the retargetting code
...
Removed minimal-printf-console-output
2019-08-29 11:30:34 +01:00
jeromecoutant
64b11c5322
STM32 PeripheralPins generation script: add OSPI parsing
2019-08-29 12:11:58 +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
Seppo Takalo
3057ac16dc
Remove I2CEE component from K64F
2019-08-29 11:22:07 +03:00
Martin Kojtal
98c0fd06be
Merge pull request #11343 from OpenNuvoton/nuvoton_esp8266_power_pin
...
ESP8266: Support power pin in custom wiring
2019-08-29 10:09:52 +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
Martin Kojtal
56a8227c54
Merge pull request #11304 from AnttiKauppila/esp8266_fix
...
RSSI getter fixed for ESP8266
2019-08-29 08:49:24 +02:00
Martin Kojtal
4d2078ebe8
Merge pull request #11367 from kyle-cypress/pr/cypress-5.14-rollup
...
Cypress 5.14 rollup
2019-08-29 08:42:49 +02:00
Martin Kojtal
c4a2e3f879
Merge pull request #11349 from VeijoPesonen/tdbstore_ecc_fix
...
TDBStore bugfix: won't rely on flash erase value to detect is a sector erased
2019-08-29 08:38:48 +02:00
Martin Kojtal
c1f1b2a609
Merge pull request #11339 from sathishm6/topic/pr-bct-auto-ip-fix
...
mbed-os/LwIP changes and fixes in auto-IP for Bonjour Conformance Test
2019-08-29 08:38:32 +02:00
Martin Kojtal
a884c7c090
Merge pull request #11302 from desmond-blue/feature-config-esp8266-baud-rate
...
Enable json overriding ESP8266 default baud rate
2019-08-29 08:37:50 +02:00
Martin Kojtal
a5af86dcf0
Merge pull request #11369 from kyle-cypress/pr/kit-43012-qspi-frequency
...
Specify QSPI frequency for more Cypress targets
2019-08-29 08:36:23 +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
Kyle Kearney
1facc76d22
Specify QSPI frequency for more Cypress targets
...
Provide values for CY8CKIT_062S2_43012 and CYW943012P6EVB_01
2019-08-28 17:56:27 -07:00
dolphin\gena
605fdd13de
Add pin speed controlling interface
2019-08-28 22:17:45 +03:00