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
Chun-Chieh Li
1bf6d898b0
FPGA: Free up I2C pins to avoid interference with following I2C tests
...
The most suitable place to free up I2C pins is in i2c_free(). Due to
i2c_free() not available in I2C HAL, we free up I2C pins manually by
configuring them back to GPIO.
Without free-up of I2C pins, SDA/SCL pins of the same I2C peripheral may
share by multiple ports due to 'all ports' tests here, and the following I2C
tests would be subject to interference by shared ports.
2019-08-20 13:12:40 +08:00
Chun-Chieh Li
0e092603df
FPGA: Skip some Nuvoton targets not supporting input pull-up/pull-down mode
...
The Nuvoton targets listed below don't support input pull-up/pull-down mode
and so are skipped for test:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-08-20 13:12:02 +08:00
Anna Bridge
033fffea84
Merge pull request #11208 from kjbracey-arm/atomic_thumb1
...
Atomics: GCC fix for M23 (again)
2019-08-15 13:01:02 +01:00
Anna Bridge
f9eb870a47
Merge pull request #11198 from RonEld/remove_redundant_file
...
Remove redundant file accidentally added
2019-08-15 12:59:57 +01:00
Anna Bridge
2af2b1b18b
Merge pull request #11190 from jarvte/fix_wise1570_netsocket_tests
...
Cellular: failure when deleting created context is not considered error
2019-08-15 12:58:32 +01:00
Anna Bridge
575cffbc13
Merge pull request #11185 from gpsimenos/move-target-cortexm
...
Move rtos & platform TARGET directories to source
2019-08-15 12:56:36 +01:00
Anna Bridge
42a2c79a68
Merge pull request #11180 from Tharazi97/atomic_test
...
tweak atomic_test timeout
2019-08-15 12:54:48 +01:00
Anna Bridge
3ede2a9a60
Merge pull request #11126 from teetak01/optimize-debug-profile
...
Optimize debug profile flags for size
2019-08-15 12:53:32 +01:00
Anna Bridge
797e58a2b3
Merge pull request #11148 from AriParkkila/cell-sim-pin
...
Cellular: Fix SIM pin enter command
2019-08-15 12:49:24 +01:00
Anna Bridge
08ecbfcd46
Merge pull request #11021 from OpenNuvoton/nuvoton_lpticker_delay_ticks
...
Nuvoton: Enlarge LPTICKER_DELAY_TICKS for safe
2019-08-15 12:47:55 +01:00
Anna Bridge
0056d8ea50
Merge pull request #11231 from OPpuolitaival/py3_fixes
...
Python3 fixes
2019-08-15 12:17:35 +01:00
Olli-Pekka Puolitaival
aa1d16e871
Python3 fixes
2019-08-15 10:06:41 +03:00
Martin Kojtal
a6c316afee
Merge pull request #11020 from OpenNuvoton/nuvoton_wakeup_latency
...
Nuvoton: Enlarge required deep sleep latency
2019-08-14 13:38:00 +02:00
Martin Kojtal
0a73eda9d4
Merge pull request #11200 from jarvte/move_string_to_pdp_type
...
Cellular: moved string_to_pdp_type from AT_CellularContext to Cellula…
2019-08-14 12:53:20 +02:00
Martin Kojtal
a64ab312dd
Merge pull request #11213 from evedon/partial-profile
...
Moved partial profile to a subdirectory
2019-08-14 10:36:04 +02:00
Evelyne Donnaes
1de64cbb4a
Updated minimal-printf README
2019-08-13 13:18:46 +01:00
Evelyne Donnaes
5eaa922ce1
Moved minimal-printf.json to a subdirectory
2019-08-13 12:59:45 +01:00
Evelyne Donnaes
7954ad3dd9
Revert commit 3010aaa253 (diff-1a477b054b847ec75ac3bf22194a3335)
that modified template for partial profile
2019-08-13 12:57:55 +01:00
Martin Kojtal
b82cfcc38b
Merge pull request #11193 from michalpasztamobica/fat_stat
...
FATFileSystem::stat() enabled for all compilers
2019-08-13 11:23:10 +02:00
Martin Kojtal
8767ab4e41
Merge pull request #11191 from jarvte/fix_ublox_board_support
...
Cellular: move RAT reading to better support ublox custom boards
2019-08-13 11:21:55 +02:00
Martin Kojtal
de84004be1
Merge pull request #11189 from LMESTM/pwmout_cpp_guard
...
__cplusplus guard fixed pwmout_device.h for STM32 families
2019-08-13 11:19:24 +02:00
Martin Kojtal
80556a01fd
Merge pull request #11167 from Tharazi97/Lp_ticker_tests
...
Fix lp ticker and common ticker tests
2019-08-13 11:10:10 +02:00
Martin Kojtal
96fbf9db56
Merge pull request #11166 from hugueskamba/hk-ignore-test-dirs
...
Fix inclusion of test related directories by build tool
2019-08-13 11:08:37 +02:00
Martin Kojtal
69bfc3460b
Merge pull request #11157 from mprse/us_ticker_freq_fix
...
Relax us ticker frequency requirement + test update
2019-08-13 11:02:16 +02:00
Martin Kojtal
be23d3c871
Merge pull request #11137 from facchinm/nano33ble_public
...
Add Arduino Nano 33 BLE target
2019-08-13 10:51:12 +02:00
Martin Kojtal
9113c8d5d7
Merge pull request #11116 from nubix-io/issue-11115
...
Define I²C related pin names for the L-Tek FF_LPC546XX target
2019-08-13 10:42:49 +02:00
Martin Kojtal
4c1f178146
Merge pull request #11171 from OpenNuvoton/nuvoton_arm_pack
...
Add Nuvoton M261 sub-family into arm_pack_manager
2019-08-13 10:04:24 +02:00
Kevin Bracey
d31879a1d4
Atomics: GCC fix for M23 (again)
...
Add another missing unified syntax directive. Was previously fixed in
03f1ac3ffd
, but the same problem was not addressed in the pending PR that
added the `NEWVAL_2OP` assembler.
2019-08-13 10:46:48 +03:00
George Psimenos
d998c007f7
Update .astyleignore
2019-08-12 17:40:49 +01:00
Teppo Järvelin
3c1bf0a9e2
Cellular: moved string_to_pdp_type from AT_CellularContext to CellularUtil
...
string_to_pdp_type is a common method for AT and other layers.
Without moving there will be duplicate methods.
2019-08-12 10:27:57 +03:00
Ron Eldor
0b1b4cc908
Remove redundant file accidently added
...
Remove unneeded redundant file that was accidentally added.
2019-08-11 14:26:52 +03:00
Michal Paszta
406fcdc9b7
FATFileSystem::stat() enabled for all compilers
...
Macro which restricted compilation to GCC_ARM is removed.
Existing read_write() test is amended to call stat() and check that correct size is returned.
2019-08-09 15:52:49 +03:00
Martin Kojtal
f8dc035ae4
Merge pull request #11139 from sethitow/stm32f413-crash-capture
...
STM32F413 Crash Capture
2019-08-09 12:49:21 +01:00
Martin Kojtal
174cac7e11
Merge pull request #11103 from desowin/stm32f7-usbhost
...
STM32F7: Do not generate redundant IN tokens
2019-08-09 11:36:37 +01:00
Martin Kojtal
9b4373639b
Merge pull request #11072 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_L4_V1.14.0
...
STM32L4: update drivers version to CUBE V1.14.0
2019-08-09 11:35:00 +01:00
Teppo Järvelin
6e71932baf
Cellular: move RAT reading to better support ublox custom boards
...
AT commands used in read_radio_technology() function are not supported
by all boards so moving the function where it's actually used. Usage was
already inside of the #ifdef's.
2019-08-09 13:23:50 +03:00
Teppo Järvelin
10251ab3b2
Cellular: failure when deleting created context is not considered as an error
...
If delete fails there is nothing we or application can do. There is no point
returning an error for this. This affects to AT_CellularContext::disconnect
not returning an error if context delete fails.
2019-08-09 12:27:25 +03:00
Hugues Kamba
e507435655
Do not ignore `features/frameworks/unity/` as it is needed by GreenTea test
...
The `unity` dir needs to be ignore differently.
2019-08-09 10:20:48 +01:00
Hugues Kamba
27e4ca18cf
Fix inclusion of test related directories by build tool
2019-08-09 10:20:48 +01:00
Martin Kojtal
fafd0a5480
Merge pull request #11051 from evedon/minimal-printf
...
Minimal printf addition
2019-08-09 09:52:36 +01:00
Laurent Meunier
319223ac16
__cplusplus guard fixed pwmout_device.h for STM32 families
...
This bug prevented using this header in cpp code directly.
2019-08-09 09:51:39 +02:00
Martin Kojtal
d27867ecd4
Merge pull request #11150 from byq77/patch-1
...
__cplusplus guard fixed pwmout_device.h for STM32F4
2019-08-09 08:41:12 +01:00
Martin Kojtal
fd931a169d
Merge pull request #11168 from maciejbocianski/fix_qspi_write_k82f
...
Xpresso: qspi_write fix
2019-08-09 08:23:21 +01:00