Commit Graph

28351 Commits (4da93bf9796a16e2731e81c22c7d02b6ee2a2efd)

Author SHA1 Message Date
Martin Kojtal ecf4d62dc5
Merge pull request #12265 from AriParkkila/cell-fea-refactor
Refactor unnecessary functions from cellular driver
2020-01-17 13:57:06 +00:00
Martin Kojtal 0266a95fb6
Merge pull request #12223 from d-kato/rza1xx_bootloader_support
RZ_A1H and GR_LYCHEE: Enable bootloader support
2020-01-17 13:53:36 +00:00
Martin Kojtal 4924264769
Merge pull request #12211 from hugueskamba/hk-replace-uartserial-cellular
Cellular: Replace UARTSerial references with BufferedSerial
2020-01-17 13:30:12 +00:00
Michael Quested ce0d611dd0 Fix call to sorted by providing key to sort on.
This call to sorted does nothing in Python 2, as there is no way to sort a list
of Exceptions without providing a key.

In Python 3 this call fails with an error as there is no comparison implemented
for the jsonschema.exceptions.ValidationError Exception.

This is fixed by providing the key str, which sorts by the str representation of
the Exception.
2020-01-17 13:04:57 +00:00
Martin Kojtal 49b158bdc3
Merge pull request #12267 from AriParkkila/fix-udp-tests
Fix UDP socket test cases
2020-01-17 12:25:33 +00:00
Martin Kojtal bccc140516 Revert "mergify: enable it only for feature-mergify"
This reverts commit e4cd9387dc.
2020-01-17 12:18:16 +00:00
Maciej Bocianski 38d1868ff0 unittests: disable coverage report filtering
Disable coverage report filtering because of poor results.
Test name filtering pattern (-r) was used to filter coverage
report causing wrong results when filtered test name wasn't
matching the implementation source file name
2020-01-17 13:01:39 +01:00
Martin Kojtal b7c961c4ac
Merge pull request #12220 from hugueskamba/hk-replace-uartserial-nordic
NRF5x targets: Replace UARTSerial references with BufferedSerial
2020-01-17 09:59:56 +00:00
Ari Parkkila 031d90a3ce Fix UDP socket test cases
Fix UDP socket test cases to check more strictly on failure,
and lower trace levels to not print errors on successful cases.
2020-01-17 01:24:51 -08:00
Martin Kojtal b710066671
Merge pull request #12269 from 0xc0170/test_mergify
mergify: add fixes to the conditions
2020-01-17 09:11:03 +00:00
Martin Kojtal 67cf9f7bc5
Merge pull request #12213 from hugueskamba/hk-replace-uartserial-esp
ESP8266: Replace UARTSerial references with BufferedSerial
2020-01-17 09:10:01 +00:00
Martin Kojtal 6b5cbff743
Merge pull request #12209 from hugueskamba/hk-replace-uartserial-nxp
NXP target: Replace UARTSerial references with BufferedSerial
2020-01-17 08:43:57 +00:00
Ari Parkkila f9eef97ead Cellular Refactor get_send_delay() into CellularProperty 2020-01-17 00:28:41 -08:00
Martin Kojtal d6e69ef57b
Merge pull request #12208 from hugueskamba/hk-replace-uartserial-st
ST targets: Replace UARTSerial references with BufferedSerial
2020-01-17 08:19:09 +00:00
Hugues Kamba 9e11e5b43d Cellular: Replace UARTSerial references with BufferedSerial
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-16 16:22:07 +00:00
Martin Kojtal c28fbf524f mergify: OR not supported, therefore we rely on pr-head now only
jenkins hooks are not always present, therefore we can't rely on them. Lets rely on
not failing for jenkins-ci hooks.

This should cover when they are not there due to smart tester, or executed and green. If failed, the condition would be false.
2020-01-16 15:15:25 +00:00
Martin Kojtal 6d301d7404 mergify: fix jenkins check if smart tester skips pipeline 2020-01-16 15:03:43 +00:00
Martin Kojtal 09529ad0c5 mergify: instead of neutral, use not success neither failure 2020-01-16 15:03:42 +00:00
Martin Kojtal 999051fc2d mergify: simplify needs CI transition
from review or work - approval and update (pr head yellow) should result in CI run. These 2 preconditions should be
sufficient to move to CI stage.
2020-01-16 15:03:42 +00:00
Martin Kojtal 957d458a24 mergify: also remove needs: work if CI ready
There are two cases here: either PR was in  review or needs work. in any case, new
CI should be started as pr-head is yellow. Once it completes, based on reviews, we can move
to ready for merge or back to needs work if fails.
2020-01-16 15:03:41 +00:00
Martin Kojtal 0d483aad0a mergify: add from work to CI stage 2020-01-16 15:03:41 +00:00
Martin Kojtal f4ee0829ad mergify: to go to CI, work not matters if approved
As pr-head is neutral, means there was a push, we should test PR again and if all passed,
should be marked as ready for merge.
2020-01-16 15:03:41 +00:00
Martin Kojtal 7962deb881 mergify: fix labels with spaces 2020-01-16 15:03:18 +00:00
Martin Kojtal c21cd8325b mergify: add note about write access for proper review request 2020-01-16 15:03:17 +00:00
Martin Kojtal 144cb4a05f mergify: fix label do not merge, fixes failure with action 2020-01-16 15:03:17 +00:00
Martin Kojtal 31988d85fe
Merge pull request #12139 from fkjagodzinski/hal-reset_reason-get_capabilities
HAL: Add a get_capabilities() function to ResetReason API
2020-01-16 14:44:31 +00:00
Martin Kojtal cbaa9bd838
Merge pull request #12198 from rajkan01/bug_fix_uARM_depreciate
uARM: Fix deprecate warning printing wrongly for GCC_ARM/IAR toolchain build
2020-01-16 14:43:07 +00:00
Martin Kojtal 4cdd8032b5
Merge pull request #12230 from jamesbeyond/test
TEST: use K64F replace DISCO_L475VG_IOT01A to run some example test
2020-01-16 13:29:54 +00:00
Rajkumar Kanagaraj 434f50ec0b Refactor the if condition check 2020-01-16 04:31:38 -08:00
Hugues Kamba efb512706f ESP8266: Replace UARTSerial references with BufferedSerial
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-16 10:34:14 +00:00
Martin Kojtal 18c941cc84
Merge pull request #12207 from hugueskamba/hk-add-buffered_serial
Add BufferedSerial class to replace UARTSerial
2020-01-16 10:06:22 +00:00
Martin Kojtal ba27e6cba6
Merge pull request #12255 from 0xc0170/dev_mergify
add mergify to automate our workflow
2020-01-16 09:48:19 +00:00
Martin Kojtal 22042e5349
Merge pull request #12241 from OpenNuvoton/nuvoton_m2351_npsa_secure-minimal-build
M2351: Remove LPTICKER to spare memory for non-PSA minimal secure build
2020-01-16 09:42:44 +00:00
Martin Kojtal de7768ce29
Merge pull request #12261 from kivaisan/fix_cellular_build_with_apn_lookup
Cellular: Fix compilation fail with APN lookup enabled
2020-01-16 09:33:16 +00:00
Martin Kojtal 77fa743740
Merge pull request #12245 from JanneKiiskila/target_upd_NUCLEO_WB55RG
NUCLEO_WB55RG - add device name "STM32WB55RGVx"
2020-01-16 09:00:30 +00:00
Martin Kojtal dd54804763
Merge pull request #12262 from fkjagodzinski/test_update-uart_flush_delay
Test: Increase the UART flush delay
2020-01-16 08:49:50 +00:00
Martin Kojtal c27e644b96
Merge pull request #12240 from yarbcy/pr/add-new-tests-softap-2
Cypress: Initial commit of SoftAP host tests
2020-01-16 08:36:47 +00:00
Ari Parkkila ceea992b40 Cellular: Refactor is_protocol_supported() into CellularProperty 2020-01-15 23:04:00 -08:00
Ari Parkkila e2cb18061e Cellular: Refactor get_max_socket_count() into CellularProperty 2020-01-15 23:04:00 -08:00
Chun-Chieh Li 359d41adef M2351: Remove LPTICKER to spare memory for non-PSA minimal secure build 2020-01-16 09:58:32 +08:00
Qinghao Shi ed95987cac TEST: use K64F run example test
- some examples not able run on L475 or F249 target due to missing storage/connectivity capability
- use K64F to run those example test
2020-01-15 22:51:37 +00:00
Martin Kojtal b96d3ad5be
Merge pull request #12263 from maciejbocianski/fix_unittests_coverage_filtering
unittest: fix coverage filtering
2020-01-15 17:57:21 +00:00
Rajkumar Kanagaraj f5230cd70c Refactor condition check 2020-01-15 09:47:59 -08:00
Rajkumar Kanagaraj 816516e23c Refactor the code and incorporated the review comment 2020-01-15 04:51:45 -08:00
Kimmo Vaisanen 2c4194bbe3 Cellular: Fix compilation fail with APN lookup enabled
Compilation failed if cellular APN lookup was enabled as stop command has been
removed.
2020-01-15 14:42:04 +02:00
Filip Jagodzinski e8bbbaf1fb Test: LP_Ticker: Increase the UART flush wait 2020-01-15 13:34:50 +01:00
Filip Jagodzinski fa7eb7d888 Test: Sleep: Increase the UART flush wait 2020-01-15 13:34:45 +01:00
Filip Jagodzinski 7f1ed02291 Test: ResetReason: Increase the UART flush wait 2020-01-15 13:34:42 +01:00
Filip Jagodzinski 7d575af4b9 Test: Watchdog: Increase the UART flush wait 2020-01-15 13:34:28 +01:00
Maciej Bocianski 2768300ada unittest: fix coverage filtering
change coverage filter pattern from ^pattern* to *pattern*
2020-01-15 13:29:05 +01:00