Commit Graph

30243 Commits (c97f1405908685be40719f966cce3fad3b19e245)

Author SHA1 Message Date
Rajkumar Kanagaraj cbb15ad9ac ThisThread::sleep_for is asserted when the PWM test case calls this API with IRQ masked, so wait_us is used to fix this issue as PWM testes to be executed with interrupt disabled to avoid context switch. 2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj 9739b565b2 Fix the CI build issue 2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj 83be3f24a5 Remove mbed wait deprecated APIs 2020-04-08 10:35:07 +01:00
Sree Harsha Angara 118b4b3df1 Fixing clock for greentea cordio test 2020-04-07 14:43:29 -07:00
YARB(Cypress) 4f28ff0b16 Remove extraneous label to include CM0p firmware image that has been updated to be included using the component mechanism. 2020-04-07 10:42:32 -07:00
midd 0504873255 Remove an assert from get_rssi() in WhdSTAInterface.cpp which causes rssi greentea test to fail in Cypress parts. This is because the rssi GT test expect the negative test case to return 0 and not assert. 2020-04-07 10:42:17 -07:00
Taylor Heck 300820f562 Fix syntax error in uvision export tool introduced in previous commit. 2020-04-07 09:00:09 -05:00
Taylor Heck 6d382ea969 Delete now unused MTSCode.combine_bins_mts_dot function for tools. 2020-04-07 09:00:09 -05:00
Taylor Heck 8ba0a74dae Remove MTS_MDOT_F411RE bootloader binary from tools 2020-04-07 09:00:09 -05:00
Taylor Heck 5ca347f460 Use basic STM32F411RE linker scripts, removes bootloader section. 2020-04-07 09:00:09 -05:00
Taylor Heck 94dd3f98c3 Update system_clock.c for VECT_TAB_OFFSET changes in target definition 2020-04-07 09:00:07 -05:00
Taylor Heck be03c0d937 Remove post_binary_hook from MTS_MDOT_F411RE target definition. 2020-04-07 09:00:06 -05:00
Hugues Kamba eca09b7c17 Fix: Return the correct std I/O device handle for Microlib in retarget code
Return the correct filehandle based on the mode requested. The mode is used
as the pathname is always the default one (":tt") for Microlib. The
previous implementation relied on three successive calls to open the std
I/O device handles, this was not the case.
2020-04-07 13:10:20 +01:00
cyliangtw 89077b1d8b fulfill astyle 2020-04-07 18:32:36 +08:00
cyliangtw fd7b160fd1 esp8266 support baud-rate switch 2020-04-07 17:27:57 +08:00
Lingkai Dong 07c25bba16 GattCharacteristic: remove deprecated APIs and helper function SecurityModeToAttSecurity 2020-04-07 10:27:16 +01:00
Lingkai Dong 70a564e7de GattClient: remove deprecated onDataWrite 2020-04-07 10:27:16 +01:00
Lingkai Dong 1a89b7718c BLE SecurityManager: remove legacy event callbacks and deprecated API 2020-04-07 10:27:16 +01:00
Sree Harsha Angara 3b6020c1be Updating BSP files for CYESKIT_064B0S2_4343W 2020-04-06 17:12:23 -07:00
Kimmo Vaisanen 584d54e955 Cellular: Fix ATHandler::read_string to handle delimiter inside string
For example if input buffer includes:
+CCLK: "20/04/05,15:38:57+12"

read_string return "20/04/05,15:38:57+12" instead of "20/04/05"
2020-04-06 16:28:04 +03:00
Kimmo Vaisanen a1a98ab527 Lora: Move drivers to own COMPONENT -directories
To enable building only when driver is enabled with components_add -setting
in json configuration.
2020-04-06 11:47:42 +03:00
Kevin Bracey 616b4e7bd8 Callback: Trivial default
Turn off `callback.non-trivial` by default to save ROM space.
2020-04-06 09:45:51 +03:00
Martin Kojtal 4b3cddff2a
Merge pull request #12744 from heejungPark/master
Change files in TARGET_SDT64B
2020-04-06 08:04:22 +02:00
Kimmo Vaisanen a16a35246b Lora: Add driver implementation inside DEVICE_SPI flag
These drivers uses SPI to communicate with radio so SPI must be present
when compiling these.
2020-04-06 08:26:29 +03:00
Martin Kojtal b1ce678d30
Merge pull request #12728 from jeromecoutant/PR_ETHERNET_THREADSIZE
STM32 EMAC : increase thread-stacksize
2020-04-05 19:57:44 +02:00
Roman Okhrimenko e6084562b4 Add TARGET_CYESKIT_064B0S2_4343W to targets.json 2020-04-05 13:52:27 +03:00
Roman Okhrimenko bb53efcdbd Add TARGET_CYESKIT_064B0S2_4343W to list in flash_configs in TESTS 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 70c9142647 Add wifi_nvram_image for TARGET_CYESKIT_064B0S2_4343W 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 69d0721e30 Add BSP for CYESKIT_064B0S2_4343W 2020-04-05 13:52:27 +03:00
Roman Okhrimenko c7f7bec5f3 Temporarily change CY8CKIT_064B0S2_4343W board id to 190A, as actual kit is not available yet 2020-04-05 13:52:27 +03:00
Roman Okhrimenko d3813a318a Add latest prebuild hex file 2020-04-05 13:52:27 +03:00
Roman Okhrimenko c4e8f8d816 Comment out init_cycfg_system() to avoid HardFault before Secure Driver arrive 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 89531b9163 Add essential file for peripheral pins definition 2020-04-05 13:52:27 +03:00
Roman Okhrimenko f2a3954d6e Update slot start address in linker scripts according to default multi image policy 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 7d1a8cb517 Add mbed_app.json to configure secure boot params 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 57d141d005 Update pre build hex with Release version, generated by CI 2020-04-05 13:52:27 +03:00
Roman Okhrimenko ae733ffc11 Add default secure boot params to targets.json, add option to post build to redefine them in mbed_app.json 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 9294eee878 Add initial implementation of post build function, that uses cysecuretools 2020-04-05 13:52:26 +03:00
Roman Okhrimenko 5267ec3375 Add prebuilded hex file for secure cm0p application 2020-04-05 13:52:26 +03:00
Roman Okhrimenko a17bed366a Change policy to multi image, as one supported for es100 2020-04-05 13:52:26 +03:00
Dustin Crossman e873669b04 Added policy file and removed old secure tools config file. 2020-04-05 13:52:26 +03:00
Dustin Crossman f8c1c446f1 Add nvram image for CY8CKIT_064B0S2_4343W 2020-04-05 13:52:26 +03:00
Dustin Crossman b6c4fc6d23 Add CY8CKIT_064B0S2_4343W board. 2020-04-05 13:52:26 +03:00
Vikas Katariya 9b7ef82b40 psa: Init IPC, Mailbox and Non-secure Interface
These changes are for TFM_DUALCPU and TFM_V8M platforms.
The initialization happens after mbed-os kernel is kicked off and
when the thread is up and running.

We are initializing the following for TFM_DUALCPU platforms:
* IPC Interrupts for syncing multi-core platforms.
* NS Mailbox to receive messages.
* NS interface.

We are only initializing Non-secure interface for TFM_V8M platforms.

mbed_tfm_init() in tfm_mbed_boot.c overrides the WEAK mbed_tfm_init()
for a specific platform.

Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
2020-04-03 15:48:58 +01:00
Jaeden Amero c447278727 cypress: psoc64: Add TF-M compatibility
Make the CY8CKIT_064S2_4343W target TF-M compatible by addding flash and
region definitions from TF-M (at c4f37c18c4a0) and by updating the
CY8CKIT_064S2_4343W linker script to create a flash image compatible
with TF-M.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-03 15:48:58 +01:00
Devaraj Ranganna cc8cc5903a cypress: psoc64: Reserve timer channels used by TF-M
There are two timers, Timer0 and Timer1, available on the PSoC64. Timer0
has 8 channels and Timer1 has 24 channels. TF-M regression tests make
use of Timer0 Channel 0 and Timer0 Channel 1. Therefore, reserve the
timer channels used by TF-M. This approach can be replaced once we have
a way to allocate dedicated timers for TF-M and Mbed OS.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
2020-04-03 15:48:58 +01:00
Arto Kinnunen 14de0f054d Update astyle filtering rules
Enable astyle for:
-components/802.15.4
-features/nanostack/coap-service

Allow astyle formatting for sal-stack-nanostack, except:
-features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet
2020-04-03 16:29:12 +03:00
Arto Kinnunen 64d879b540 Update Atmel 802.15.4 RF driver
Update to version v3.1.0.
2020-04-03 16:02:05 +03:00
Arto Kinnunen 78abc43c32 Update S2LP 802.15.4 RF driver
Update driver to version 1.0.2
2020-04-03 16:01:08 +03:00
Arto Kinnunen 185db1333e Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..89a497a386
89a497a386 Merge branch 'release_internal' into release_external
c8cc6601fd Merge pull request #2336 from ARMmbed/sync_with_mbedos
ac5f369d70 MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib
6522a086ef Added missing optimizations based on mbedtls/baremetal.h config
0e8739fae3 Added new global rng, needed for MbedTLS optimisations
d5db37eec8 Prepare for upcoming MbedTLS changes
4271a9dda9 Merge pull request #2335 from ARMmbed/sync_with_mbedos
e2db6ffefb Fixed error of function 'mac_fcf_lenght'
28fc2a9543 Fixed  error of structure
194e81beda Fixed  spelling mistake of structure
00ea3fb83c Remove test files
d7f7cc582a Merge branch 'release_internal' into release_external
132cd12107 Merge pull request #2333 from ARMmbed/sync_with_mbedos
550a78e544 Fix function spelling mistake in Thread
74c60242e1 Fix function spelling mistake in border_router.c
89830ecf1a Fix function spelling mistake in iphc_decompress.c
1728ae12dc Fix function spelling mistake in lowpan_context.c
ed5d253fcc Fix function spelling mistake in lowpan_context.h
ecbca0a2ed Fixed typo 'thead' in thread_neighbor_class.h
071911b30a Changed nanostack API network size to be a range of values
4756be4766 NEW API for Validation RX Unicast schedule channel.
0b48e5c018 Channel Mask update ,support for excluded Channels and FHSS API pdate
ead1ade5a7 Start sending PAS message after EAPOL parent TX fails.
8de473b245 Implemented 802.15.4 mode setting (#2328)
975b9e670b Added missing configuration api empty functions
f7db06eb1e Added configuration storage (#2283)
e9561f0fe4 Removed mbedTLS internal include file
fe812c3c1f Changed certificate error message wording to be less fatal
97aaf5f613 Add network property API to Nanostack (#2318)
cfd1a4d271 Fixed Route cost calculation
5094614813 Added opeation mode validation for detect unsupported values.
44f85aaf4b Enabled RPL candidate list filtering and only certificate setup accept without limit.
145c7399b3 Wi-sun address registration trigger update
d492575adb Modified ARO registrations timeouts from the address lifetime
b898f04b5b Removed Extra version number update at revocation start.
b9d14097e2 Wi-sun config message consustent filter
dcebff9bb5 Use RPL parent soft filtering only after bootstrap.
523593e014 Fixed Broken new channel mask update.
a3bcc2d2c8 Removed the PAN version change requirement from routers
bc919d8241 Merge pull request #2315 from ARMmbed/merge_release_internal_to_master

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 89a497a38603e6af4d053c539bd30931006080f2
2020-04-03 14:57:23 +03:00