d-kato
090fcb007f
Changed LOOP_SCALER of "wait_ns()"
2019-03-26 19:02:46 +09:00
Cruz Monrreal
e417ad2a3a
Merge pull request #10122 from kjbracey-arm/mbed_error_warnings
...
mbed_error.c: fix warnings
2019-03-16 23:01:49 -05:00
David Saada
eb5cef84fd
Add bootloader support for the LPC55S69 board
...
bla
2019-03-16 00:13:40 +02:00
Kevin Bracey
d40347f81e
mbed_error.c: fix warnings
...
Correct printf formats, and avoid an unused static function warning.
2019-03-15 14:10:49 +02:00
Martin Kojtal
943254c78c
Merge pull request #9896 from kfnta/wait_us_no_usticker
...
wait_us without usticker
2019-03-14 09:44:25 +01:00
Mahesh Mahadevan
0aa8dc2383
Updated LOOP_SCALER value for Cortex-M33
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:48 -06:00
Martin Kojtal
e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
...
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Martin Kojtal
f559d03ae2
Merge pull request #9766 from deepikabhavnani/uarm_fixes
...
Update Toolchain Arm Micro scatter files
2019-03-01 16:54:27 +01:00
Martin Kojtal
596b9f740e
Merge pull request #9797 from ARMmbed/fh_enable
...
API to temporarily enable/disable FileHandles
2019-03-01 14:26:18 +01:00
Michael Schwarcz
276ef91bb6
wait_us using wait_ns
2019-03-01 11:11:19 +00:00
deepikabhavnani
1182d640d3
Update retarget file for microlib
2019-02-28 19:54:38 -06:00
Cruz Monrreal
e6caa122cb
Merge pull request #9812 from kjbracey-arm/wait_ns
...
Add wait_ns API
2019-02-28 18:21:46 -06:00
Cruz Monrreal
eff8b1dbd1
Merge pull request #9800 from theotherjimmy/bm-lib
...
Bare-metal profile
2019-02-28 18:21:32 -06:00
Senthil Ramakrishnan
378a70ca62
Fixes for test fails and code style update
2019-02-28 12:00:10 -06:00
Senthil Ramakrishnan
7490b1c87f
Api tests modification and uLib related fixes
2019-02-28 11:55:21 -06:00
Jimmy Brisson
d1de429f82
Create the bare-metal library
2019-02-27 12:14:02 -06:00
Cruz Monrreal
e1736cd06f
Merge pull request #9571 from mprse/fix_9523_rtos_less_issue
...
Update to 2-region model for HEAP and Stack Memory
2019-02-26 22:50:19 -06:00
Kevin Bracey
91b22f8bf3
Hand assemble to get alignment
2019-02-26 17:30:52 +02:00
Kevin Bracey
7215515880
Add wait_ns API
...
This provides the ability to generate really small delays - it's often
the case that wait_us() takes multiple microseconds to set up, so
having an alternative suitable for <10us delays is useful.
There have been a few local implementations - it makes sense to
centralise them as they need retuning for each new ARM core.
Based on the local implementation inside the Atmel 802.15.4 driver.
2019-02-26 17:30:51 +02:00
Martin Kojtal
5f38878f3a
Merge pull request #9791 from sarahmarshy/m0-start-app
...
Support mbed_start_application for Cortex-M0+
2019-02-25 09:40:37 +01:00
Sarah Marsh
3b98ebc5be
Change to MOVS for all targets
2019-02-22 14:35:21 +00:00
Sarah Marsh
3c51257524
Change MOV to MOVS for M0+
2019-02-22 13:22:12 +00:00
Kevin Bracey
f91d044b6c
Add mbed_file_handle lookup function
...
Add a necessary helper to allow FileHandle objects to be obtained
from POSIX file descriptors.
Primary envisaged use case is to act on STDIN_FILENO etc, eg to
set it non-blocking or use sigio, or to use the enable API.
2019-02-22 11:01:02 +02:00
deepikabhavnani
387e4ca9f4
New heap can be equal to heap limit for last chunk
2019-02-21 17:20:49 -06:00
Senthil Ramakrishnan
3fb8224237
Update mbed_stats.c to use __ARMCC_VERSION flag to be compatible with AC6
2019-02-21 17:12:09 -06:00
Sarah Marsh
15b573d83e
Reuse nvic powerdown code block for M0+
2019-02-21 16:07:26 +00:00
Kevin Bracey
e96d6581db
Add enable API to FileHandle
...
Add API to dynamically enable/disable input and output on FileHandles.
Aim is to allow power saving by indicating that we permanently or
temporarily do not require input, so that for example serial Rx
interrupts can be released, and deep sleep permitted.
2019-02-21 16:53:22 +02:00
Sarah Marsh
7201cab3c4
Support mbed_start_application for Cortex-M0+
2019-02-21 11:17:51 +00:00
deepikabhavnani
1a1c74c38b
mbed_rtx.h not to include in platform
2019-02-19 15:49:49 -06:00
Deepika
f13a3e32b6
Fix GCC _sbrk allocation
2019-02-19 15:49:49 -06:00
deepikabhavnani
b36147fbe9
ISR_Stack_start/size defines are not needed, use linker file defines
2019-02-19 15:49:49 -06:00
deepikabhavnani
9d1ce66b14
ISR_STACK_START/ HEAP_START defines not used by GCC_ARM toolchain
2019-02-19 15:49:49 -06:00
Deepika
537b3646d3
Resolve build/type cast errors
2019-02-19 15:49:49 -06:00
Deepika
41eaefeeb4
Update memory model for stack and heap memory
...
Memory model for RTOS and No RTOS was initially single stack and heap,
only few targets implemented 2-region RAM model.
2-region RAM model is applied for all toolchains and targets.
GCC: __wrap__sbrk was implemented for 2-region ram model, with switch to 2-region
for all targets, we do not need target specific implementation of this API
Also _sbrk is WEAK function, hence can be over written in target folder for
special cases
2019-02-19 15:49:45 -06:00
Przemyslaw Stekiel
9c11288eb1
mbed_retarget.cpp: Fixed style
2019-02-19 15:46:32 -06:00
Przemyslaw Stekiel
a3223275c2
Use 2-region memory model in ARM rtos-less builds.
...
The following commits: #8039 , #9092 added Boot/ISR stack definition to all scatter files (ARM_LIB_STACK).
This has changed memory model for RTOS-less builds to 2-region memory model and caused failure in case of rtos less builds.
This PR defines valid heap/stack regions for rtos-less builds.
2019-02-19 15:46:21 -06:00
Michael Schwarcz
1db4e4634f
mbed_retarget changes
...
- Avoid compiling user_setup_stackheap for TF-M secure targets
- Align sbrk for TF-M
2019-02-19 15:19:04 +02:00
Cruz Monrreal
5701c94384
Merge pull request #9714 from deepikabhavnani/cleanup_linker_files
...
Only GCC_ARM toolchain is supported, removing legacy code
2019-02-14 20:26:05 -06:00
Martin Kojtal
1492dc1e2a
Merge pull request #9685 from scartmell-arm/fix-sleep-tracer-lookup-failing
...
Fix sleep tracing not finding matching driver during unlock.
2019-02-14 13:16:11 +01:00
deepikabhavnani
818d38b6ae
Only GCC_ARM toolchain is supported, removing legacy code
2019-02-13 16:26:22 -06:00
Steve Cartmell
3f12c19adf
revert: "Refactor sleep tracing driver identifier to be pointer to the driver filepath."
...
This reverts commit 9a0e8797b9
.
2019-02-13 11:27:22 +00:00
Martin Kojtal
a477354292
Merge pull request #9693 from naveenkaje/mbed_error_warning_fix
...
platform: fix build warning in mbed_error
2019-02-13 11:40:46 +01:00
Cruz Monrreal
709e6ff795
Merge pull request #9600 from kjbracey-arm/atomic_exchange_64
...
Atomic extensions: 64-bit, bool, exchange
2019-02-12 20:28:00 -06:00
Naveen Kaje
de271d4ba8
platform: fix build warning in mbed_error
...
Fix the following build warning
Compile [ 83.4%]: mbed_error.c
[Warning] mbed_error.c@71,21: 'compute_crc32' defined but not used [-Wunused-function]
compute_crc32 usage is guraded with #define, but not the definition.
Use the same #define around the definition of compute_crc32()
2019-02-12 16:20:25 -06:00
Martin Kojtal
10bb66a053
Merge pull request #9424 from SeppoTakalo/ONME-4125
...
Allows multiple network status listeners
2019-02-11 10:41:35 +01:00
Veijo Pesonen
8bf6c6b9bf
platform: includes string.h needed by memcpy and strlen
2019-02-07 12:17:08 +02:00
Kevin Bracey
9e7c65925d
Add signed atomics
...
All signed implementations are inline - either directly or as inline
calls to out-of-line unsigned definitions.
2019-02-05 10:57:23 +02:00
Kevin Bracey
694adaae8b
Add atomic exchange
2019-02-05 10:53:30 +02:00
Kevin Bracey
a71984093a
Add bool atomics
2019-02-05 10:46:40 +02:00
Kevin Bracey
f8e3f5dc2c
Add 64-bit atomics
2019-02-05 10:45:40 +02:00