Commit Graph

12376 Commits (c022c4a8f06d2b11681d028be049b0ee115f4853)

Author SHA1 Message Date
Vincent Coubard c022c4a8f0 BLE: use common type ble::connection_handle_t as Handle_t. 2017-09-26 15:20:14 +01:00
Vincent Coubard dd303b7a91 BLE: Add ArrayView in utilities. 2017-09-26 15:20:14 +01:00
Vincent Coubard c58d7de93d BLE: Fix GattClient destructor by adding a virtual specifier. 2017-09-26 15:20:14 +01:00
Martin Kojtal 6a46b9c0a7 Merge pull request #5165 from pan-/non-throwing-new-operator
Platform: Replace non throwing versions of new operator.
2017-09-26 15:08:18 +01:00
Jimmy Brisson 3759d03fa1 Merge pull request #5189 from 0xc0170/fix_lpc1768_iarramend
LPC1768: RAM end adjust fix
2017-09-25 17:08:46 -05:00
Martin Kojtal 9a191de5f9 LPC1768: flash_hal removal duplication
IAP typedef duplication removal
2017-09-25 19:18:18 +02:00
Martin Kojtal 6a6561028e LPC1768: flash erase/write require a critical section
From RM:

32.3.2.6 Interrupts during IAP
The on-chip flash memory is not accessible during erase/write operations. When the user
application code starts executing the interrupt vectors from the user flash area are active.
The user should either disable interrupts, or ensure that user interrupt vectors are active in
RAM and that the interrupt handlers reside in RAM, before making a flash erase/write IAP
call. The IAP code does not use or disable interrupts.
2017-09-25 19:18:06 +02:00
Jimmy Brisson 482c2aef2d Merge pull request #5149 from theotherjimmy/update-export-link
Update link in GettingStarted to current docs
2017-09-25 10:13:09 -05:00
Jimmy Brisson 6ca2342fba Merge pull request #5166 from theotherjimmy/force-armc5-preproc
Force preprocessing of asm for make_armc5
2017-09-25 10:12:28 -05:00
Jimmy Brisson 79440ae17b Merge pull request #4994 from 0x6d61726b/patch-1
missing includes for filesystem.cpp (build with VisualGDB fails)
2017-09-25 10:11:43 -05:00
Jimmy Brisson b8863862cc Merge pull request #4959 from phyokyaw/master
e2 studio exporter update
2017-09-25 10:11:13 -05:00
Martin Kojtal c623e889c0 LPC1768: RAM end adjust fix
The topmost 32 bytes used by IAP functions, this was not included in the RAM
end previously.
2017-09-25 13:50:54 +01:00
Martin Kojtal c6f655c02e Merge pull request #4779 from JarnoEtt/sw4stm_exporter_fix
Fixed sw4stm32 exporter
2017-09-22 11:36:21 +01:00
Martin Kojtal b72bd08644 Merge pull request #4965 from deepikabhavnani/IAR_heap_stats
Add heap stats for IAR
2017-09-22 11:34:47 +01:00
Martin Kojtal 81fde11dae Merge pull request #4968 from dlfryar/master
Add bootloader support for NXP FRDM-KW24D
2017-09-22 11:33:40 +01:00
Martin Kojtal a74e95fb26 Merge pull request #4973 from gorazdko/new-target-L-TEK-FF1705
Add new target: L-TEK FF1705
2017-09-22 11:32:50 +01:00
Martin Kojtal 1fed1d003e Merge pull request #4684 from deepikabhavnani/thread_stack_issue
Add thread terminate hook
2017-09-22 11:31:39 +01:00
Chris Snow e2c42bb0a0 LPC1768 IAP Fix (#4993)
use IAP routines for the flash HAL implementation
2017-09-22 11:30:43 +01:00
Martin Kojtal 26f9144c45 Merge pull request #5000 from 0xc0170/fix_flash_page_doc
flash: add note about program size
2017-09-22 11:28:54 +01:00
Jimmy Brisson 69c38012eb Force preprocessing of asm for make_armc5
It seem to preprocess asm with the `.S` extension on linux, but the
windows build of Arm Compiler 5 seems to omit the preprocessing step
unless you have a `.sx` extension. Odd.
2017-09-21 17:37:10 -05:00
Jimmy Brisson bfc1c5aa39 Merge pull request #4983 from geky/bd-trim-erase
bd: Tweaked block device API to fit SD cards and FTLs better
2017-09-21 16:05:37 -05:00
Jimmy Brisson 97b0dd8bd5 Update link in GettingStarted to current docs 2017-09-21 15:32:26 -05:00
Vincent Coubard 017b8f0fc7 Platform: Replace non throwing versions of new operator.
This change prevents inclusion of non throwing versions of the new operator from
the compiler standard library. On GCC, the non throwing version bring with it
some portion of the exception support code.
2017-09-21 18:37:25 +01:00
Jimmy Brisson 4de448142b Merge pull request #5125 from theotherjimmy/improve-memap-performance
Refactor memap for speed
2017-09-21 11:40:41 -05:00
Martin Kojtal 8acfcfbce2 Merge pull request #5096 from c1728p9/remove_direct_ticker_use
Remove direct use of us and lp ticker from tests
2017-09-21 16:36:38 +01:00
Jimmy Brisson 181d7bc1bb Merge pull request #5080 from andresag01/fix-hw-acc-sha1-md5-sha256
mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
2017-09-21 09:03:33 -05:00
Jimmy Brisson 43aa6a263c Merge pull request #5018 from adustm/f439_aes_tlsclient_fix
Fix use of AES_ALT on STM32F439 for example-tls-client
2017-09-20 16:36:02 -05:00
Jimmy Brisson b494d33037 Merge pull request #5061 from ARMmbed/geky/fix-travis
Travis: Fix requirements install
2017-09-20 16:25:28 -05:00
Jimmy Brisson a2cdb10bf7 Merge pull request #4932 from LMESTM/can_reset
Fix STM32 CAN reset to not lose context
2017-09-20 16:24:40 -05:00
Jimmy Brisson 617f410a42 Merge pull request #5143 from tung7970/fix-lockup
RTL8195AM - Fix us_ticker porting
2017-09-20 16:22:58 -05:00
Jimmy Brisson 727256a05d Remove prefix stuff from GCC memap parser
It's just not used anymore
2017-09-20 11:00:02 -05:00
Jimmy Brisson 3d5bea337f Test the module_add function 2017-09-20 10:49:12 -05:00
Jimmy Brisson 06203c4fcc Test GCC memap parser 2017-09-20 10:39:42 -05:00
Martin Kojtal b5c53f4dcb Merge pull request #5138 from artokin/master
Fix redefinition of mbed TLS error codes
2017-09-20 16:02:43 +01:00
Tony Wu 6c1167844a 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-20 11:03:22 +08:00
Jimmy Brisson bcd89dae18 Test memap parsing for ARMC6 and IAR 2017-09-19 15:14:43 -05:00
Anna Bridge 003dd7c47f Merge pull request #5044 from Archcady/Profile_debug
Realtek_RTL8195AM fix for debug profile
2017-09-19 10:43:25 +01:00
Anna Bridge 02a10e5974 Merge pull request #5094 from deepikabhavnani/m23_armc6
ARMC6 support for Cortex-M23
2017-09-19 10:25:33 +01:00
Anna Bridge f18d2d862a Merge pull request #5091 from theotherjimmy/fix-nordic-concat
Correct booting on Nordic devices with ARMC6
2017-09-19 10:24:54 +01:00
Arto Kinnunen 0920cfc600 Fix redefinition of mbed TLS error codes
-Use guards around MBEDTLS macros.
2017-09-19 11:25:40 +03:00
Jimmy Brisson fdd4ae3056 Parse full paths from ARM map file
Now we don't have to scan!

This is a 20% speed improvement
2017-09-18 17:18:01 -05:00
Jimmy Brisson 8c54c4efa8 Display full paths in armlink output 2017-09-18 16:40:52 -05:00
Jimmy Brisson 6d135c26b3 Remove warnings for Zero sized sections
We just don't care if we don't know where they go
2017-09-18 15:45:05 -05:00
Jimmy Brisson 0d2a0a0c1d Parse filenames from IAR map file
Instead of scanning.

Is a 8ms/15% speedup.
2017-09-18 15:45:03 -05:00
Jimmy Brisson 2114ccd5a1 Refactor memap for speed 2017-09-18 15:24:18 -05:00
Deepika 459e7d4725 IAR heap stats added 2017-09-18 10:24:01 -05:00
Jimmy Brisson a0d55036f9 Merge pull request #5116 from hasnainvirk/iar_fix
Separate string literal from macro
2017-09-18 09:30:59 -05:00
Jimmy Brisson a9bd33e51e Merge pull request #5103 from theotherjimmy/fix-memap-libs
Parse libraries with memap-arm
2017-09-18 09:12:48 -05:00
Jimmy Brisson af50e8fc07 Merge pull request #5122 from studavekar/update-lwip-test
update server name to os.mbed.com
2017-09-18 09:12:05 -05:00
Jimmy Brisson 8569c09626 Merge pull request #5107 from Patater/uvisor-tickless-slumber
mbed_rtx_idle: uVisor: Don't attempt to sleep
2017-09-15 18:04:23 -05:00