Shuopeng Deng
880af5d8ae
Backport #12019 : rework cypress lptimer hal
...
Changed set_match api to use an absolute ticks rather than delayed tick to match api name.
Added api set_delay to delay by a specific amount of ticks. Removed unused set_time api.
Simplified the logic for computing interrupts match value for cascading counters.
Fixed an issue when incorrect base time would be read when trying to set match values.
2020-04-02 14:27:32 -07:00
Kimmo Vaisanen
d65b82da9d
Cellular: ALT1250 PPP cellular driver for mbed-os 5.15
...
This commit introduces Altair ALT1250 PPP mode cellular driver for mbed-os 5.15 -branch.
2020-04-02 13:08:27 +03:00
Martin Kojtal
978db96468
Merge pull request #12485 from artokin/nanostack_for_mbedos_5_15_branch
...
Nanostack release for Mbed OS 5.15
2020-04-02 10:33:56 +02:00
Martin Kojtal
41273e3e22
Merge pull request #12653 from jarlamsa/differing_eusize-5_15
...
Fix issue when TDBStore has varying erase sizes between areas. (Backport)
2020-04-02 09:48:03 +02:00
Martin Kojtal
c5c211388c
Merge pull request #12726 from artokin/stm32f4_sleep_solution
...
feature-wisun: Add fix for STM32F4 hardfault in sleep mode
2020-04-01 11:32:06 +02:00
RyoheiHagimoto
103faf9007
RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15)
2020-04-01 17:55:21 +09:00
Antti Kauppila
9c328114c5
Licence updated
2020-03-31 16:15:44 +03:00
Antti Kauppila
5bdc7314f4
more error handling added for ctr and hmac
2020-03-31 16:04:54 +03:00
Maciej Bocianski
95bb2a8e05
update USBMSD::memoryWrite implementation
...
Fix prevents unaligned USB transfers
(cherry picked from commit 1ffb4d7356
)
2020-03-31 09:15:50 +00:00
Maciej Bocianski
a277db1309
update USBMSD::memoryRead implementation
...
Fix protects underlaying block device from out-of-bound reads
(cherry picked from commit 89e67d3136
)
2020-03-31 09:15:48 +00:00
Maciej Bocianski
a0e35d2694
update USBMSD::infoTransfer implementation
...
Fix protects underlaying block device from out-of-bound read/writes
- prevents the host from setting block device addres larger then block device size
- prevents the host from setting wrong read/write lenght
(cherry picked from commit ac105f5a18
)
2020-03-31 09:15:47 +00:00
Marcelo Salazar
1aa999ed0a
Add workaround for F429 hardfault
2020-03-31 09:38:25 +03:00
Arto Kinnunen
cc75c59d82
Revert "Disable sleep on STM32F4 as an workaround for stability issues."
...
This reverts commit c3ef3cac09
.
2020-03-31 09:38:25 +03:00
Antti Kauppila
3dbe97b8cb
MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib
2020-03-31 08:26:46 +03:00
Antti Kauppila
af12d0642b
trace group defiined for shared_rng
...
Unittests fixed
2 mbedtls functions were updated to reflect the api
2020-03-31 08:26:35 +03:00
Teppo Järvelin
377e363059
Added missing optimizations based on mbedtls/baremetal.h config
2020-03-31 08:26:11 +03:00
Teppo Järvelin
c801caf7cf
fixed ssl hostname handling
2020-03-31 08:26:01 +03:00
Teppo Järvelin
163e5c90e3
Added new global rng, needed for MbedTLS optimisations
2020-03-31 08:25:47 +03:00
Teppo Järvelin
a325320c47
Prepare for upcoming MbedTLS changes
2020-03-31 08:25:05 +03:00
Marcelo Salazar
b21aeaf153
Add workaround for F429 hardfault
2020-03-30 14:27:51 +01:00
Teemu Takaluoma
723f311de2
Disable sleep on STM32F4 as an workaround for stability issues.
...
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-30 14:27:43 +01:00
adbridge
468bd41f13
Revert "Add sector information"
...
This reverts commit ed6869d9ec
.
2020-03-27 10:44:38 +00:00
adbridge
e273c3f0ab
Revert "GR_LYCHEE: enable bootloader support"
...
This reverts commit c654cdc40b
.
2020-03-27 10:44:20 +00:00
adbridge
4c32297b07
Revert "RZ_A1H: enable bootloader support"
...
This reverts commit b7e8cd2267
.
2020-03-27 10:43:53 +00:00
d-kato
b7e8cd2267
RZ_A1H: enable bootloader support
2020-03-27 14:58:07 +09:00
d-kato
c654cdc40b
GR_LYCHEE: enable bootloader support
2020-03-27 14:36:23 +09:00
d-kato
ed6869d9ec
Add sector information
2020-03-27 14:32:12 +09:00
Arto Kinnunen
aa375c43fe
Merge pull request #12656 from artokin/fea_wisun_nanostack_device_type_config
...
[feature-wisun] Nanostack: Add config for Wi-SUN device type
2020-03-23 11:58:59 +02:00
Arto Kinnunen
0051c0ee74
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-03-19 17:02:47 +02:00
Jarno Lamsa
2f0907c140
Remove _variant_bd_erase_unit_size
...
In some cases, it is possible that every erase unit in area 0
has the same size, but they are still different than in area 1.
Remove the flag for varying erase sizes and instead check from
flash, what is the erase size of the current unit.
2020-03-19 14:47:43 +02:00
Arto Kinnunen
b3c529b19e
Merge pull request #12562 from artokin/feature_wisun_update_MIMXRT1050
...
[feature-wisun] Cherry-pick MIMXRT1050 commits to feature branch
2020-03-09 12:33:36 +02:00
Mahesh Mahadevan
c0418058fa
MIMXRT1050: Update for deep sleep latency
...
1. Do not disable and enable osillators during deep sleep
entry and exit
2. Increase the deep sleep to pass tests
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:05:49 +02:00
Mahesh Mahadevan
ba554b5e20
MXRT1050: Add bootloader support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:05:13 +02:00
Mahesh Mahadevan
11c7d0caed
MIMXRT1050: Enable FlashIAP support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:03:52 +02:00
Mahesh Mahadevan
94e1f3f05f
MIMXRT1050: Reduce NOR size used by mbed-os
...
Reserve 4MB for mbed-os. The rest is used by storage driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:01:15 +02:00
Mahesh Mahadevan
347a650b79
MXRT1050: Add support for Flash driver
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:00:34 +02:00
Mahesh Mahadevan
5ad6c9e31f
MXRT1050: Update Flexspi driver to move functions to RAM
...
These functions are used to READ/WRITE to the Flexspi NOR
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:56:17 +02:00
Mahesh Mahadevan
2ee224913e
MIMXRT1050: Add Watchdog support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:55:00 +02:00
Mahesh Mahadevan
408c80a838
MXRT1050: Formatting update
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
5a3cdcf4e7
Update MXRT sleep function
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
a513634ea3
MIMXRT1050: Update UART driver
...
The UART first instance is 1 and not 0. Update the code logic to account
for this.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
43701a1773
MIMXRT1050: Update the usticker driver
...
The PIT module should be initialized only once
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
2240e06892
MXRT: Update the LPTimer driver
...
1. Run in doze mode
2. Add implementation for free function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
702150b871
MXRT: Update GPIO IRQ hal driver
...
The SDK header provides separate arrays for high and low
GPIO interrupts in place of the previous combined array
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
b0b8df222a
MIMXRT1050: Update the ENET driver to use wait_us
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
2b9961cd8c
MIMXRT1050: Update target configuration
...
1. Add defines to copy ram & no-cache functions
2. Add deep sleep latency definition
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
3cbadf942e
MXRT1050: Do not switch 24M source to reduce latency
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
a060909f9b
MIMXRT1050: Update the low power driver to SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
3c3e062bb8
MIMXRT1050: Update the XIP file from SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan
be6ed39cfc
MIMXRT1050: Update the mbed_overrides file
...
1. No need to copy RAM functions, this is done in the startup file
2. Update memory config for the FLASH section
3. Configure the PMIC_STDBY pin
4. Update UART clock setting
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00