Laurent MEUNIER
08eba6ccd9
STM32: CAN: do not overwite BTR register when setting frequency
...
BTR register has other bits than the ones calculated and set through
the can_speed function, so let's take care to only write to the
right registers.
2017-09-24 21:34:27 +01:00
Laurent MEUNIER
a6ad257d55
STM32: CAN: restore registers after can_reset
...
After reset the MCR register content needs to be restored so we're
introducing the can_registers_init function to be called at the first
init stage, but also after reset. We also store the can frequency to
go through the initialisation phase again.
2017-09-24 21:34:27 +01:00
Laurent MEUNIER
9ad4a913cd
STM32: Define CAN handle as part of can object
...
Instead of a static object, this will make driver
instantiation more robust and allow to re-use init
configuration on a need basis.
The CANName struct member is actually the CAN registers base address,
which is now available in the CanHandle.Instance field, so we don't need
CANName anymore.
2017-09-24 21:34:27 +01:00
Laurent MEUNIER
eb2bb84e83
STM32: move can_s definition to common_objects.h
...
This will ease up further changes to the structure.
2017-09-24 21:34:27 +01:00
Tony Wu
174d53649f
rtl8195am - fix us_ticker porting
...
commit f7bc126
(Re-work Rtl8195AM ticker) tried to address ticker drifting
issue, but in fact broke ticker functionality. This patch adjusts us_ticker
porting to unbreak it, and to fix the following tests:
mbed-os-tests-mbed_drivers-ticker
mbed-os-tests-mbed_drivers-timeout
mbed-os-tests-mbedmicro-rtos-mbed-isr
mbed-os-features-frameworks-utest-tests-unit_tests-minimal_async_scheduler
mbed-os-features-frameworks-utest-tests-unit_tests-case_control_async
mbed-os-features-frameworks-utest-tests-unit_tests-case_async_validate
Changes are:
1. Dont disable timer after every us_ticker interrupt. That basically
breaks ticker functionality.
2. Fine-tune us to tick conversion macro. Previous conversion method
yields 1 tick drift every 2 ms.
3. Remove special placement of ticker objects. No longer necessary.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-09-24 21:34:27 +01:00
Arto Kinnunen
d67ba714ca
Fix redefinition of mbed TLS error codes
...
-Use guards around MBEDTLS macros.
2017-09-24 21:34:27 +01:00
Jimmy Brisson
5499db1e81
Merge pull request #5178 from ARMmbed/release-candidate
...
Release candidate for mbed-os-5.6.0-rc3
2017-09-23 08:10:56 -05:00
Jimmy Brisson
570a29236b
Remove prefix stuff from GCC memap parser
...
It's just not used anymore
2017-09-22 15:15:07 +01:00
Jimmy Brisson
371212a4b9
Test the module_add function
2017-09-22 15:15:07 +01:00
Jimmy Brisson
01475cf4c2
Test GCC memap parser
2017-09-22 15:15:07 +01:00
Jimmy Brisson
2b8f993612
Test memap parsing for ARMC6 and IAR
2017-09-22 15:15:07 +01:00
Jimmy Brisson
238596f658
Parse full paths from ARM map file
...
Now we don't have to scan!
This is a 20% speed improvement
2017-09-22 15:15:07 +01:00
Jimmy Brisson
86b441c5a4
Display full paths in armlink output
2017-09-22 15:15:07 +01:00
Jimmy Brisson
2dbe035d0b
Remove warnings for Zero sized sections
...
We just don't care if we don't know where they go
2017-09-22 15:15:07 +01:00
Jimmy Brisson
2e2a45a663
Parse filenames from IAR map file
...
Instead of scanning.
Is a 8ms/15% speedup.
2017-09-22 15:15:07 +01:00
Jimmy Brisson
802cfcfbca
Refactor memap for speed
2017-09-22 15:15:07 +01:00
Jimmy Brisson
6e087488e1
Merge pull request #5140 from ARMmbed/release-candidate
...
Release candidate for mbed-os-5.6.0-rc2
2017-09-19 16:51:54 -05:00
Yuguo Zou
de0e99cf11
Re-work Rtl8195AM ticker
...
Remove intermediate variances and use uint64 instead;
Remove HalTimerIrqEn called in us_ticker.c
2017-09-19 11:36:38 +01:00
Yuguo Zou
f516eed740
Remove unused code
...
Clean rtl8195a_init.c a little bit
2017-09-19 11:36:38 +01:00
Yuguo Zou
abe3a60e6a
Increase tcpip thread stacksize for REALTEK_RTL8195AM
...
The default stack size is not enough for debug profile (low compiler
optimization)
2017-09-19 11:36:38 +01:00
Yuguo Zou
952fff985b
Update wlan lib to fix debug profile
...
The issue of mutex returning osErrorISR with debug profile is fixed
2017-09-19 11:36:38 +01:00
Yuguo Zou
a468a760b4
Update MSP setup
...
Use asm code to set MSP
2017-09-19 11:36:38 +01:00
Jimmy Brisson
dacf0f4f28
Mock supported_toolchains values in tests
2017-09-19 11:36:38 +01:00
Deepika
457f7c762c
Replaced older version of assembly file with 2016-2017 version from RTX
2017-09-19 11:36:38 +01:00
Deepika
76a0660ec6
Corrected check for ARM/ARMC6 toolchain
...
ARMC6 support required ARM compiler support as mandatory requirement which
should not be the case. Cortex-M23/M33 devices are not suuported by ARM compiler5
Adding ARMC6 without ARM in target.json should work now.
2017-09-19 11:36:38 +01:00
Deepika
1f48da98e4
ARMC6 support for Cortex-M23
2017-09-19 11:36:38 +01:00
Jimmy Brisson
19fb4b97ca
Correct uninit region for nordic targets
2017-09-19 11:36:38 +01:00
Jimmy Brisson
318419a705
Allow ARMC6 to run post-binary-hooks marked for ARM
2017-09-19 11:36:38 +01:00
Hasnain Virk
9fd68c3754
Seperatig string literal from macro
...
From C++11 and beyond string literals must be seperated by space
so that they are recongizable as seperate tokens.
Context macro in PPPCellularInterface (CTX) has been causing issues
as it was not augmented with a space from a nearby string literal.
2017-09-19 11:36:37 +01:00
Jimmy Brisson
80ae6acd2b
Parse libraries with memap-arm
2017-09-19 11:36:37 +01:00
Shrikant Tudavekar
c563dd6ca8
update domain name to os.mbed.com
2017-09-19 11:36:37 +01:00
Jaeden Amero
60bf2d68cd
mbed_rtx_idle: uVisor: Don't attempt to sleep
...
When uVisor is enabled, don't attempt to sleep. Attempting to sleep will
fail, as per <https://github.com/ARMmbed/uvisor/issues/420 >.
2017-09-19 11:36:37 +01:00
Deepika
36c7b7e94e
Added assert for malloc
2017-09-19 11:36:37 +01:00
Jimmy Brisson
088fa1dd77
Emit dependency information with ARMC6
...
Which allows it to be parsed
2017-09-19 11:36:37 +01:00
Jimmy Brisson
e5d27f33dc
Correct long call macros for ARMC6
2017-09-19 11:36:37 +01:00
Jimmy Brisson
8579eedad7
Correct uvision template to correctly pass include paths
2017-09-19 11:36:37 +01:00
Jimmy Brisson
374ce26759
Correct rename mistake in make arm compiler exporters
2017-09-19 11:36:37 +01:00
Jimmy Brisson
c40368113a
Disable response files on export
...
None of the exporters can handle them, so just don't do it
2017-09-19 11:36:37 +01:00
Jimmy Brisson
411b7fd63f
Merge pull request #5132 from JanneKiiskila/fix_ver
...
Fix MBED_ VERSION
2017-09-18 17:32:09 -05:00
Janne Kiiskilä
9f2a699ca5
Fix MBED_ VERSION
...
Remove the extraneous #define at the end of it.
2017-09-18 15:32:27 +03:00
adbridge
a4056fb8bf
Added versionning define block for new minor release.
2017-09-13 12:48:32 +01:00
Anna Bridge
7b428916f5
Merge pull request #4949 from theotherjimmy/feature-armc5+armc6
...
NEW TOOLCHAIN: Add the ARMC6 Compiler
2017-09-13 10:39:15 +01:00
Shrikant Tudavekar
fec2346627
add ARMC6 in supported compiler
2017-09-12 15:31:50 -05:00
adbridge
32bd25e8df
Fix include file for ARMCC 6, should use cmsis_armclang.h
2017-09-12 16:41:11 +01:00
Anna Bridge
5e437fe5ea
Merge pull request #5073 from studavekar/fix-buuld-error-armc6
...
use gcc assembly for arm 6
2017-09-12 11:01:16 +01:00
Shrikant Tudavekar
1cb41e9715
use default macro for armcc
2017-09-12 01:00:45 -05:00
Martin Kojtal
de6d2918b8
Merge pull request #4987 from andresag01/release-mbedtls-2.6.0
...
Update mbed TLS to version 2.6.0
2017-09-12 06:18:46 +01:00
Shrikant Tudavekar
45202df55e
gaurd thumb instruction for amrc6
2017-09-11 20:09:43 -05:00
Jimmy Brisson
4b9856604d
Merge pull request #4875 from deepikabhavnani/cm_23_support
...
Initial support for Cortex M-23/M-33 devices.
2017-09-11 18:37:55 -05:00
Anna Bridge
2955a0adc6
Merge pull request #5063 from 0xc0170/fix_lpticker_test
...
Fixing lp ticker and sleep manager tests
2017-09-11 22:28:52 +01:00