Christopher Haster
df1896b6c0
littlefs: Fix incorrect lookahead population before ack
...
Rather than tracking all in-flight blocks blocks during a lookahead,
littlefs uses an ack scheme to mark the first allocated block that
hasn't reached the disk yet. littlefs assumes all blocks since the
last ack are bad or in-flight, and uses this to know when it's out
of storage.
However, these unacked allocations were still being populated in the
lookahead buffer. If the whole block device fits in the lookahead
buffer, _and_ littlefs managed to scan around the whole storage while
an unacked block was still in-flight, it would assume the block was
free and misallocate it.
The fix is to only fill the lookahead buffer up to the last ack.
The internal free structure was restructured to simplify the runtime
calculation of lookahead size.
2018-02-08 18:53:19 -06:00
Deepika
4e89c9261f
RTX changes pulled in from d20b8aad7f5e
...
RTX5: Added TrustZone Module Identifier configuration for Idle and Timer Thread
2018-02-08 15:52:17 -06:00
paul-szczepanek-arm
a2cff3079e
move oob to db, add cmac helper func
2018-02-08 21:48:43 +00:00
paul-szczepanek-arm
0a54ca39d0
move pairing under its own heading to match other parts
2018-02-08 18:41:35 +00:00
Deepika
cf65e2b125
Pulling in CMSIS commit 05fa9d328a
...
Systick handler switch to secure/nonsecure issues addressed:
1. Switch to secure/nonsecure context save/restore is based on 6th bit in
LR register, correct the bug (R7 instead of LR was used for decision)
2. Prevent R7 from being corrupted in Sys_ContextSave
3. Branch when non-secure rather than secure
2018-02-08 12:40:20 -06:00
paul-szczepanek-arm
56530d4917
sc oob verification needs local random value
2018-02-08 18:35:02 +00:00
paul-szczepanek-arm
d061c89e31
storing sc oob, checking for its presence
2018-02-08 18:23:23 +00:00
paul-szczepanek-arm
cba77ad5d1
saving public keys
2018-02-08 16:36:06 +00:00
paul-szczepanek-arm
0b15798673
style and moved for clarity
2018-02-08 16:03:52 +00:00
Martin Kojtal
04f0f2b1aa
Merge pull request #5604 from betzw/betzw_tests_netsocket_wb
...
TESTS/NETSOCKET: Refinement of `netsocket` tests
2018-02-08 15:25:45 +00:00
Martin Kojtal
9f6eb14ae2
Merge pull request #5996 from ashok-rao/br-BL600
...
Adding LAIRD_BL600 MTB
2018-02-08 15:23:07 +00:00
Martin Kojtal
65e751bafb
Merge pull request #6025 from karsev/thread_api_adds
...
Mesh-api setters for eui64 and pskd
2018-02-08 15:22:02 +00:00
Martin Kojtal
e8efe11c0e
Merge pull request #6031 from OpenNuvoton/nuvoton_m2351_cthunk
...
M23: Fix CThunk error on Cortex-M23
2018-02-08 15:21:24 +00:00
Martin Kojtal
b7908a64c4
Merge pull request #6033 from anttiylitokola/master
...
Update mbed-coap to version 4.2.0
2018-02-08 15:20:37 +00:00
Martin Kojtal
8e8b3d3bbd
Merge pull request #6036 from bcostm/dev_move_DISCO_L072CZ
...
DISCO_L072CZ_LRWAN1: move target folder
2018-02-08 15:19:08 +00:00
paul-szczepanek-arm
b5b86b72fe
oob handling inside genric for secure connections
2018-02-08 15:17:12 +00:00
jeromecoutant
e0e6e5a9e5
DISCO_F303VC : Align clock configuration with STM32 family
2018-02-08 14:25:46 +01:00
jeromecoutant
e8e4af3c7a
DISCO_F303VC : add IAR files
2018-02-08 14:25:45 +01:00
jeromecoutant
1ab4030f20
DISCO_F303VC : wrong STDIO pins
2018-02-08 14:25:45 +01:00
deepikabhavnani
4076788d51
Non Secure flag is required for pre-processing of linker file
2018-02-07 22:48:47 -06:00
Cruz Monrreal
0978062dae
Merge pull request #5971 from maciejbocianski/ticker_tests_fix
...
Ticker tests fix
2018-02-07 20:17:39 -06:00
Cruz Monrreal
02eeb7af41
Merge pull request #6030 from deepikabhavnani/correct_arch
...
M33: -march not required if -mcpu is set
2018-02-07 20:07:11 -06:00
Cruz Monrreal
1c5c1c79d0
Merge pull request #6027 from ithinuel/fix-target-names-for-murata-abz-and-adv-wise-1510
...
rename MURATA type ABZ & WISE 1510 to their expected name
2018-02-07 20:06:50 -06:00
Cruz Monrreal
f8cc42689c
Merge pull request #5970 from TomoYamanaka/master
...
RZ_A1LU: Fix TRNG function
2018-02-07 20:06:17 -06:00
Cruz Monrreal
1ac115d794
Merge pull request #6013 from kivaisan/add-wise-1570
...
Add MTB_ADV_WISE_1570 target
2018-02-07 20:05:38 -06:00
Jimmy Brisson
7b5d48df38
Merge pull request #5571 from kjbracey-arm/retarget_fh
...
Complete mbed_retarget FileHandle rework
2018-02-07 17:21:09 -06:00
Cruz Monrreal
40d1c02e25
Merge pull request #5914 from mprse/Transaction_tests
...
Add Transaction class unit test.
2018-02-07 15:56:59 -06:00
Cruz Monrreal
e9fddb6eee
Merge pull request #6017 from theotherjimmy/bl-nonzero-rom
...
Correct auto-sizing last region of bl
2018-02-07 15:56:43 -06:00
Cruz Monrreal
c679dee286
Merge pull request #5848 from theotherjimmy/compile-py3
...
Python2+3: mbed compile, mbed test --compile, python unit tests
2018-02-07 15:48:18 -06:00
Cruz Monrreal
3b1438b9ba
Merge pull request #6015 from davidsaada/david_k82f_flash
...
Add missing flash device feature to the K82F board
2018-02-07 15:03:22 -06:00
Cruz Monrreal
ebb39244f4
Merge pull request #6001 from ubirch/mbed-os-5985
...
Corrects intermittent CLion exporter issue with cmake build directory
2018-02-07 14:56:18 -06:00
Cruz Monrreal
63201db875
Merge pull request #6004 from bcostm/fix_l476-486_sram_iar
...
STM32L476/486: Improve SRAM usage for IAR
2018-02-07 14:51:30 -06:00
Cruz Monrreal
671cf409c8
Merge pull request #6007 from theotherjimmy/bl-heed-outputext
...
Take OUTPUT_EXT into account in managed bl
2018-02-07 14:51:11 -06:00
Cruz Monrreal
779ee843ea
Merge pull request #5797 from hosse005/master
...
ARMC5+6: Specify CPU for ARM scatter file preprocessor
2018-02-07 14:50:44 -06:00
bcostm
7630874b9c
Move TARGET_DISCO_L072CZ_LRWAN1 folder
2018-02-07 16:23:09 +01:00
Ashok Rao
188a68829f
Fixed serial pins and a typo for ODIN MTB
2018-02-07 15:12:40 +00:00
Kari Severinkangas
f63dbf56db
Mesh-api setters for eui64 and pskd
2018-02-07 16:45:39 +02:00
Wolfgang Betz
d6cb3853df
Enlarge event queue in `test_socket_attach()`
2018-02-07 13:40:50 +01:00
Martin Kojtal
1d759d0b9c
Merge pull request #5895 from maciejbocianski/fileHandle_tests
...
Add FileHandle tests
2018-02-07 11:53:04 +00:00
Antti Yli-Tokola
47e0922830
Update mbed-coap to version 4.2.0
...
* Add new API to remove sent blockwise message from the linked list
2018-02-07 13:03:12 +02:00
paul-szczepanek-arm
1b6a84d5a4
oob data propagated to pal
2018-02-07 10:16:44 +00:00
paul-szczepanek-arm
20444c8dd7
missing implementations
2018-02-07 08:59:48 +00:00
ccli8
e9e9b8ed5c
[M23] Fix CThunk error on Cortex-M23
...
Cortex-M23 doesn't support ARMv8-M Main Extension and so doesn't support:
ldm r0, {r0, r1, r2, pc}
Fix it by going Cortex-M0/M0+ way:
ldm r0, {r0, r1, r2, r3}
bx r3
2018-02-07 15:45:54 +08:00
deepikabhavnani
c50518e11c
-march not required if -mcpu is set
...
GCC_ARM throws warning if both architecture and core are set (though
correct). If CPU option is set correctly, architecture is set by compiler
itself.
2018-02-06 22:46:04 -06:00
deepikabhavnani
919282322e
RTX5: Pre-processor defines used for assembly
...
CMSIS repo does not support pre-processor defines, hence multiple assembly
files are added for secure/non-secure and floating point tools.
Mbed OS tools support assembly file pre-processing, but the build system
does not support multiple assembly files for each target, hence updating
the assembly files.
2018-02-06 21:53:55 -06:00
ccli8
fae160fb9f
[NUC472/M453/M487/NANO130] Rework us_ticker and lp_ticker
...
The rework includes the following:
1. Remove ticker overflow handling because upper layer (mbed_ticker_api.c) has done with it.
This makes us_ticker/lp_ticker implementation more succinct and avoids potential error.
2. Refine timer register access with low-power clock source
2018-02-07 09:09:39 +08:00
paul-szczepanek-arm
4c56f8980d
removed redundancy in types
2018-02-06 23:08:32 +00:00
paul-szczepanek-arm
8cc36650df
added OOB to interface, moved address type to common
2018-02-06 22:59:21 +00:00
paul-szczepanek-arm
b6be4df162
doxygen
2018-02-06 22:01:54 +00:00
paul-szczepanek-arm
1446142b60
ltk for secure connections
2018-02-06 21:50:57 +00:00