Cruz Monrreal
fda9f2ee2a
Merge pull request #9060 from scartmell-arm/fix-duplicate-keys-in-targets-json
...
Fix duplicate 'overrides' keys in targets.json config file
2018-12-12 17:02:05 -06:00
Cruz Monrreal
d8be78b84b
Merge pull request #9063 from naveenkaje/fix_fault_handler_warning
...
mbed_fault_handler: fix build warning
2018-12-12 17:01:13 -06:00
Cruz Monrreal
4e52240052
Merge pull request #9036 from c1728p9/rt1050_fix
...
Disable MPU on RT1050 due to memory map
2018-12-12 16:55:30 -06:00
test user
5de7fac91c
ublox c030 pinName updated
2018-12-12 04:08:17 -12:00
vervaekejonathan
70ab75704f
Extend W7500x target with ADC 6 and 7
2018-12-12 16:23:06 +01:00
Martin Kojtal
e3b03e0404
Merge pull request #9055 from 0xc0170/dev_travis_astyle_https
...
travis: use https for fetching astyle package
2018-12-12 14:46:51 +01:00
Martin Kojtal
7c5cffb78a
Merge pull request #9047 from 0xc0170/dev_travis_license
...
travis: add license
2018-12-12 14:46:32 +01:00
Martin Kojtal
fa3212abee
Merge pull request #9037 from naveenkaje/fix_ble_build_warning
...
BLE: Update toolchain.h with mbed_toolchain.h
2018-12-12 14:46:17 +01:00
Martin Kojtal
7cd01266a9
Merge pull request #9035 from jeromecoutant/PR_L4TRNG
...
STM32L4: correct RNG clock source
2018-12-12 14:45:40 +01:00
Kevin Bracey
574f9fad21
nRF52840: Set mpu-rom-end to 0x1fffffff
...
So we have at least one test platform exercising the special case of
mpu-rom-end being 0x1fffffff, set that for nRF52840.
2018-12-12 15:44:22 +02:00
Martin Kojtal
45215c2ffa
Merge pull request #9008 from jeromecoutant/PR_NUCLEO_L4R5ZI_P
...
Add NUCLEO_L4R5ZI_P target
2018-12-12 14:44:22 +01:00
Kevin Bracey
02330336f2
Fix target.mpu-rom-end setting, for ARMv8-M too
...
targets.json was not specifying the same macro name as the code was
checking for, so setting was ineffective.
Making this work tripped up not-supported checks in ARMv8-M - rather than deal
with making this work, support it instead.
Both ARMv7-M and ARMv8-M slightly reduce code size and runtime impact if
mpu-rom-end is 0x1fffffff, using one fewer region.
This means default setup for ARMv8-M now requires 5 regions, with
mpu-rom-end set to default 0x0fffffff, but this can be put back to 4 by
changing the setting.
2018-12-12 15:44:21 +02:00
Martin Kojtal
93da33f151
Merge pull request #8995 from NXPmicro/Update_for_M33_FD
...
Add core option for Cortex-M33 with DSP enabled
2018-12-12 14:43:43 +01:00
Martin Kojtal
985afb8027
Merge pull request #8728 from RonEld/cryptocell_sha_alt_fixes
...
Fix issues in Cryptocell 310 shax_alt discovered by On Target Testing
2018-12-12 14:43:06 +01:00
Martin Kojtal
c387fec36b
Merge pull request #8725 from ChazJin/master
...
Add support for GD32F307VG
2018-12-12 14:42:20 +01:00
Kevin Bracey
170b73442b
ARMv7-M MPU: correctly protect 80000000 RAM region
...
Subregion mask for this region was set fully disabled, instead of fully
enabled.
2018-12-12 15:12:50 +02:00
Kevin Bracey
171e575b94
Assert MPU regions, rather than error
...
As we build for a specific CPU, a runtime check for number of MPU
regions in release builds is not worthwhile. Make it an assert only.
Saves a little space in develop images, a lot in release.
2018-12-12 15:12:49 +02:00
Kevin Bracey
9e300013e5
MPU - use higher-level calls, fix ARMv8-M error
...
Switch to higher-level calls and macros, and fix an error in the ARMv8-M
version - "inner" attributes were not being set correctly due to a
copy/paste error - "outer" was being set twice.
This means RAM would have been marked WTRA rather than WBWA for the
inner cache.
Slightly reduces ARMv7-M init code size by feeding region number
into RBAR instead of using RNR.
2018-12-12 15:12:49 +02:00
Amir Cohen
eff52273f4
Fix max_keys reset limitation
...
Persist the max_keys value through a soft-reset, also prohibit max_keys set under predefined default value (16)
2018-12-12 15:05:09 +02:00
Mel W
8de7a36061
Capitalization and punctuation
2018-12-12 11:38:10 +02:00
offirko
b79c64ec53
Favor QSPI Bus mode 1-4-4 over QPI
...
QPI may have slightly better performance, but it is not supported by all targets.
It requires register setup between each Read and Program/Erase commands,
which might damage the overall performance eventually.
2018-12-12 10:54:48 +02:00
deepikabhavnani
03853597f5
Memory allocated from parent queue was freed/added to chained queue.
...
Issue was seen with below example
EventQueue q1;
EventQueue q2;
void main() {
while( true ) {
q1.chain( &q2 ); // Chain q2 to q1
q1.chain( NULL ); // Remove chain from q1
//This second step should free the memory from the chained q2 event.
}
}
Memory allocated from q1 slab was freed for q2, which will result in
memory leak.
2018-12-11 16:25:50 -06:00
deepikabhavnani
5f0912276b
Check is allocation in event queue was success or not, and
...
report error / assert when allocation fails.
2018-12-11 16:24:57 -06:00
Jimmy Brisson
9dbdbe8e85
Enable stats reporting with a flag in targets.json
...
### Description
PR #8607 will cause problems for the NRF52832 and the NRF52840
in the online compiler starting with 5.10.2. This PR prevents this problem
by using a toggle in `targets.json` to enable these new defines for every
target except for the NRF52832 and NRF52840.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-11 15:58:37 -06:00
Naveen Kaje
091010e9a2
mbed_fault_handler: fix build warning
...
Fixes warning
BUILD\NRF52840_DK\GCC_ARM\mbed-os\cmsis\TARGET_CORTEX_M\mbed_fault_handler.o
.\mbed-os\cmsis\TARGET_CORTEX_M\mbed_fault_handler.c
[Warning] mbed_fault_handler.c@149,5: implicit declaration
of function 'memcpy' [-Wimplicit-function-declaration]
2018-12-11 14:59:36 -06:00
Cruz Monrreal
0a832dd6e0
Merge pull request #9051 from michalpasztamobica/esp8266_busy_signal
...
ESP8266 send returns WOULD_BLOCK error when busy
2018-12-11 14:47:46 -06:00
Cruz Monrreal
f5fdbffbe7
Merge pull request #9020 from c1728p9/enable_mpu
...
Revert "Turn off MPU on targets failing OOB"
2018-12-11 13:07:49 -06:00
Cruz Monrreal
59ac1bb3fa
Merge pull request #9025 from tz-arm/mbed-os-5.11.0-oob_fix_fault_exception_issue
...
Mbed os 5.11.0 oob: fix fault exception issue
2018-12-11 11:46:19 -06:00
Kevin Bracey
2b5518a3d8
Reduce dynamic MPU code size with a loop
2018-12-11 18:59:59 +02:00
Kevin Bracey
e585eac31b
Fix MPU synchronisation
...
Synchronisation instructions were not quite right - too strict on entry,
and not quite correctly synchronising the instruction stream on exit.
References:
* https://static.docs.arm.com/dai0321/a/DAI0321A_programming_guide_memory_barriers_for_m_profile.pdf
* https://static.docs.arm.com/100699/0100/armv8m_architecture_memory_protection_unit_100699_0100_00_en.pdf
2018-12-11 18:59:59 +02:00
Russ Butler
cdc61c5954
Use MPU platform deinit rather than hal free
...
Use the MPU through the platform layer rather than through the HAL.
2018-12-11 18:59:58 +02:00
Michal Paszta
d6e385b330
ESP8266 send returns WOULD_BLOCK error when busy
2018-12-11 17:48:37 +01:00
Steve Cartmell
8c541465ed
fix: Merge duplicate 'overrides' keys in targets.json config file
2018-12-11 16:19:06 +00:00
Cruz Monrreal
7546186458
Merge pull request #9040 from c1728p9/disable_mpu_config
...
Add a platform config to disable the MPU
2018-12-11 09:45:49 -06:00
Martin Kojtal
08d1127729
Merge pull request #8959 from VeijoPesonen/feature-esp8266_reset_pin
...
[ESP8266] Adds support for controlling HW reset of the modem from the…
2018-12-11 15:37:10 +01:00
Martin Kojtal
dba7f6eacc
travis: use https for fetching astyle package
2018-12-11 13:43:56 +00:00
Mirela Chirica
806e95cf67
Cellular: Rewrite AT handler consume to tag
...
If sequence from buffer contains tag but symbol before tag is same as
first symbol of the tag, then the tag wasn't detected.
For example, "\r\n" tag was not found from "\r\r\nOK" sequence.
2018-12-11 15:36:33 +02:00
Martin Kojtal
85a741ec78
Merge pull request #9043 from cmonr/remove-rabbitmq-fix
...
Removed rabbitmq fix from travis.yml
2018-12-11 12:30:44 +01:00
Kevin Bracey
770baa22ea
Rework MPU use option
...
Make the option positively named, and as it is a platform config
option make sure it only affects platform code.
HAL functions still remain available even if platform is told not
to use them.
2018-12-11 13:03:59 +02:00
Russ Butler
2af6642f68
Add a platform config to disable the MPU
...
Add the platform config DISABLE_MPU to allow the MPU to be disabled
from an application.
2018-12-11 13:03:58 +02:00
Kari Haapalehto
e502675bd1
Fix test-netsocket-tcp greentea test build fails.
...
main.cpp was missing comma at the end of line.
2018-12-11 12:51:30 +02:00
Martin Kojtal
49a8cb809d
travis: add license
2018-12-11 09:16:12 +00:00
Terence Zhang
cc63a31eb3
Formatted via astyle.
2018-12-11 16:50:14 +08:00
Martin Kojtal
c1806765dd
Merge pull request #8987 from davidsaada/david_securestore_fixes
...
Fix a few SecureStore issues (following preliminary security review)
2018-12-11 09:42:19 +01:00
Veijo Pesonen
e4de165a32
[ESP8266] Fixes namespace collision
2018-12-11 09:49:23 +02:00
Veijo Pesonen
02aeab29d3
[ESP8266] powers down the modem on disconnect
2018-12-11 09:49:23 +02:00
Veijo Pesonen
8415e49835
Fixes connect, and network-status logic
2018-12-11 09:49:23 +02:00
Veijo Pesonen
12fa3e59bb
Fixes AT command timeout values from reset&connect
2018-12-11 09:49:23 +02:00
Veijo Pesonen
9857ee1c17
[ESP8266] Adds support for controlling HW reset of the modem from the driver
...
While connecting will run HW reset for the modem if reset wire is attached to a know pin.
2018-12-11 09:49:23 +02:00
Fred.Li
fb1e4de3ba
Fix wrong PIN config for RTL8195AM platform
...
Merge from https://github.com/ARMmbed/sd-driver/pull/110
2018-12-11 14:37:09 +08:00