Commit Graph

29039 Commits (926423c109219e759a19b5c150fd9c3f5424d56b)

Author SHA1 Message Date
Kyle Kearney 926423c109 Reuse TDBStore default size computation in devicekey test
Replace custom caluation that always assumed two sectors with the standard
calculation exposed on TDBStore.
2020-03-24 12:27:21 -07:00
Kyle Kearney 622a50ff6a KV_CONFIG: Change errors to use tr_error not tr_warning 2020-03-24 12:27:21 -07:00
Kyle Kearney e1b857078a Remove unnecessary reference-typed arguments
No callers make use of the modified argument values, so change
them to a more straightforward pass by value.
2020-03-24 12:27:21 -07:00
Kyle Kearney 3ef04db1a3 TDBStore: Increase min pages to 14
Increase minimum page count from 10 to 14 based on further experiments
with features-storage-tests-kvstore-static_tests.
2020-03-24 12:27:21 -07:00
Kyle Kearney 0002830c03 TDBStore: remove get_flash_bounds input constraint
Handle the case where the entirety of flash (size = 0) is required
for a flash memory starting at address 0, instead of erroring out.
2020-03-24 12:27:20 -07:00
Kyle Kearney 9d414316da TDBStore: Fix potential alignment issue in default addresses
When 10 pages is larger than 2 sectors, align the selected size
down to be an even multiple of the sector size, to ensure that
the allocated space divides cleanly in half for garbage collection.
2020-03-24 12:27:20 -07:00
Kyle Kearney 7cd4d11a8a Expand error checks in _calculate_blocksize_match_tdbstore
The minimum size required by tdbstore is either 2 sectors or 10 pages,
whichever is larger. Correspondingly, adjust the error checks in
_calculate_blocksize_match_tdbstore to match this requirement.
2020-03-24 12:27:20 -07:00
Kyle Kearney cda0af66eb Move TDB bounds computation for better reuse
Migrate into TDBStore so that DirectAccessDeviceKey can use it as well.
2020-03-24 12:27:20 -07:00
Kyle Kearney afa88b76d4 Refactor internal flash TDB bounds determination
Default the size to the larger of two sectors or 10 pages, so that the
  computation works better on devices with a low sector to page size ratio.
Reduce code duplication.
2020-03-24 12:27:20 -07:00
Martin Kojtal 5d64e55880
Merge pull request #12651 from kivaisan/add_ec2x_start_timout_configuration
Cellular: Make Quectel EC2x modem start up timeout configurable
2020-03-24 08:53:59 +01:00
Martin Kojtal 2c5660ae35
Merge pull request #12642 from OpenNuvoton/nuvoton_m263_custom_board
M263: Support custom board
2020-03-24 08:52:47 +01:00
Martin Kojtal e805b582c0
Merge pull request #12673 from ARMmbed/mergify-update
Mergify update
2020-03-23 19:59:47 +01:00
Martin Kojtal ae0ec86d59
Merge pull request #12667 from boomer41/fix-devicekey
Add check for return code in DeviceKey to avoid injecting invalid ROT
2020-03-23 19:59:10 +01:00
adbridge f65b886f6d Fix inverted logic for label release-version present 2020-03-23 17:44:12 +00:00
adbridge b048e7b822 Mergify has no open condition! Change to not closed 2020-03-23 16:01:14 +00:00
adbridge 7479817a17 Move True to true 2020-03-23 15:50:59 +00:00
adbridge 0c0233c5ee Mergify: Fix remove_all logical condition 2020-03-23 15:41:44 +00:00
adbridge 5c7de75661 Fix incomplete mergify rules
1. If a PR is closed but not merged then remove all labels
2. If a release version is added and there are release version missing
   or Release review required, then remove those labels

3. In the check for conflicts rule, add the condition 'open' so
   that it isn't applied to closed or merged PRs
2020-03-23 13:51:19 +00:00
Martin Kojtal 539cf3fa63
Merge pull request #12666 from dhebbeker/fix/revert-pull-12646
Makefile: render compatible with some GNU make versions (revert #12646)
2020-03-23 14:49:40 +01:00
Martin Kojtal 4f4c8c48e1
Merge pull request #12637 from armPelionEdge/#12625-BLE-Cardio-Patch
Cordio: fix for issue #12625
2020-03-23 14:47:52 +01:00
Martin Kojtal ef2c1c89e6
Merge pull request #12658 from VeijoPesonen/fix_tests-integration-fs
tests-integration;tests-filesystem: fix code causing compiler warnings and enable more tests
2020-03-23 12:31:13 +01:00
Martin Kojtal cc799a83fc
Merge pull request #12661 from kbarm/feature-fix-documentation-ascii-art
Adjusted SecurityManager Doxygen ASCII art
2020-03-23 10:18:54 +01:00
Stephan Brunner c6e8ae56db
Use correct return value. 2020-03-23 09:26:30 +01:00
Stephan Brunner f01bc974ef
Add check for return code in DeviceKey to avoid injecting invalid ROT 2020-03-23 06:57:50 +01:00
Volodymyr Medvid 26043e5ee4
makefile export: create .link_options.txt with echo
$(file > $@.in, $(filter %.o, $^)) is not supported in GNU Make 3.81.
Create the linker response file with pipe redirect from echo command.
This is tested with Cygwin make and make 3.8.1 shipped with macOS.

(cherry picked from commit 6918e6a76b)

Revert "Fixed problem with overlong command line."

This reverts commit dd02ac09a1.

See also https://github.com/ARMmbed/mbed-os/pull/12646#issuecomment-602058273
2020-03-21 20:24:28 +01:00
Anna Bridge 59540ed8c1
Merge pull request #12646 from dhebbeker/fix/fix-makefile-for-windows
Makefile: fix for overlong command line
2020-03-20 16:31:02 +00:00
Anna Bridge 4a5fac34a1
Merge pull request #12528 from VeijoPesonen/sfdp_split_5
SFDP: consolidation of SFDP parsing [5/5]
2020-03-20 16:26:39 +00:00
Anna Bridge c37b119418
Merge pull request #12659 from tymoteuszblochmobica/wiced_update
Rebuild WICED libraries after Mbed update
2020-03-20 15:24:16 +00:00
Anna Bridge 890a12a0c2
Merge pull request #12655 from rajkan01/ARMC5_remove_platform
Remove ARMC5 reference from Mbed OS platform
2020-03-20 15:23:12 +00:00
Anna Bridge ab483c2ead
Merge pull request #12654 from kbarm/feature-remove-cc-arm-macro
Removed all references to __CC_ARM
2020-03-20 15:22:03 +00:00
Anna Bridge 197e1d2daa
Merge pull request #12649 from rajkan01/unbuffered_serial_member_expose
Expose SerialBase IrqType member to UnbufferedSerial class
2020-03-20 15:21:12 +00:00
Anna Bridge 1b83d31e07
Merge pull request #12648 from artokin/nanostack_wisun_device_type_config
Nanostack: Add config for Wi-SUN device type
2020-03-20 15:20:17 +00:00
Anna Bridge d048cd4c83
Merge pull request #12410 from rajkan01/serial_remove_deprecate
Remove the deprecated RawSerial, UARTSerial, Serial
2020-03-20 15:19:32 +00:00
Krzysztof Borowczyk a624acd45c Adjusted SecurityManager Doxygen ASCII art to make it display correctly on mbed.com 2020-03-20 10:20:58 +01:00
Martin Kojtal 03dab7f9a0
Merge pull request #12645 from mtomczykmobica/IOTSTOR-906
Storage: Use internal flash for KVStore always if default config
2020-03-20 08:52:59 +01:00
Chun-Chieh Li f5cb899413 M263: Re-organize PinNames.h
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:51 +08:00
Chun-Chieh Li 15fcdb1c36 M263: Support configurability for USB/STDIO UART pins
-   STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
-   USB_UART and USBTX/USBRX
2020-03-20 09:16:51 +08:00
Chun-Chieh Li edcfcf0495 M263: Enable configurability for memory specification
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:50 +08:00
Chun-Chieh Li 203a9fe0ec M263: Add SERIAL_TX/SERIAL_RX pin names
Don't set SERIAL_TX/SERIAL_RX to USBTX/USBRX which should be dedicated for USB VCOM and not for other uses.
2020-03-20 09:16:49 +08:00
Chun-Chieh Li 180528b5c9 M263: Add MCU_M261 target
This is to support M261 series based targets.
2020-03-20 09:16:12 +08:00
Rajkumar Kanagaraj eb40dbcc20 Remove ARMC5 reference from Mbed OS platform 2020-03-19 10:48:14 -07:00
Veijo Pesonen 244c2fba5f tests-filesystem: enable all for QSPIF- OSPIF(future)-devices
littlefs is the preferred filesystem for general filesystem tests.
2020-03-19 19:26:16 +02:00
Veijo Pesonen 41632891c3 tests-integration-*: target configuration cleanups
Stops duplication of target.components_add config parameter.
2020-03-19 18:43:18 +02:00
Veijo Pesonen d46c397e74 tests-integration-*: Stops using deprecated wait()
Additionally removes some dead code.
2020-03-19 18:43:18 +02:00
Veijo Pesonen 148cf851c2 tests-integration-*: fixes traces 2020-03-19 18:43:18 +02:00
Krzysztof Borowczyk 4465295332 Remove ARMC5 reference from Mbed OS platform (removed all references to __CC_ARM) 2020-03-19 16:00:45 +01:00
Martin Kojtal 4fa9ccacf6
Merge pull request #12652 from jarlamsa/moduletest_filesystemstore
Add moduletests for FileSystemStore
2020-03-19 14:46:03 +01:00
Jarno Lamsa e19cd14ced Add moduletests for FileSystemStore
Baseline for the tests is similar to the TDBStore.
Differing from TDBStore moduletests, FileSystemStore doesn't include
tests for reserved data or corrupting the blockdevice, as it corrupts
the filesystem also.
2020-03-19 12:56:45 +02:00
Kimmo Vaisanen 4f7d7750e4 Cellular: Make Quectel EC2x modem start up timeout configurable
Default timeout also increase from 5sec to 15sec.
2020-03-19 12:31:46 +02:00
Arto Kinnunen 1b171791c3 Nanostack: Add config for Wi-SUN device type
Add configuration option for Wi-SUN device types.
2020-03-19 08:44:37 +02:00