Commit Graph

13796 Commits (ed6a8d8b7d156975763a84a6b0e6b974768da76e)

Author SHA1 Message Date
Cruz Monrreal II‰ ed6a8d8b7d Added missing bracket. 2018-02-23 17:08:30 -06:00
Cruz Monrreal II 2c1a79609c Modified 'apt-get update' to loop until successful 2018-02-23 17:08:30 -06:00
Jimmy Brisson c8305a84f4 Correct sector scraping in arm-pack-manager 2018-02-23 17:08:30 -06:00
Jimmy Brisson 35f3332933 Avoid blowing away .mbedignore files in exporters 2018-02-23 17:08:30 -06:00
PHST d5708db984 Simplify and Improve error/warning parser for arm_gcc 2018-02-23 17:08:30 -06:00
Andrew Leech 9163150e0b Avoid importing <memory> as this causes a typedef conflict on `error_t` whien compiling with gcc "-std=gnu++11" or above 2018-02-23 17:08:30 -06:00
Bilal 8f1dc9095d Formatting change - II 2018-02-23 17:08:30 -06:00
Bilal f855ef4c81 Formatting change 2018-02-23 17:08:30 -06:00
Bilal 43a0b8fbf1 Replacing i2c_xxxx(...) calls to reduce binary size and avoid any RTOS waits 2018-02-23 17:08:30 -06:00
Przemyslaw Stekiel 9ea3d2fb65 tests-events-timing - print debug info only in case of failure.
In the 'Testing accuracy of equeue semaphore' test case result is printed out in each loop iteration.
Since debug prints should not exist in the final test version I suggest to print information only in case of failure.
Additionally time needed to print single info is equal to ~25 ms (K64F/GCC_ARM). The while loop is designed to execute until 20000 ms elapses, so this print has also impact on number of times the loop is executed (number of semaphore accuracy checks).
2018-02-23 17:08:30 -06:00
Christopher Haster 9b80763dc3 equeue: Added note about using global event queues in irq 2018-02-23 17:08:30 -06:00
Christopher Haster 10c9712576 equeue: Added test for non-RTOS compilation regressions 2018-02-23 17:08:30 -06:00
Christopher Haster 47d7fc1b6d equeue: Removed RTOS dependencies when RTOS not present 2018-02-23 17:08:30 -06:00
ccli8 6dd4cf0b6d 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-23 17:08:30 -06:00
Brendan McDonnell 18716f1b20 remove unused variable / resolve compiler warning 2018-02-23 17:08:30 -06:00
Pavel Slama f1af895506 STM32F429ZI add SERIAL_ASYNCH 2018-02-23 17:08:30 -06:00
jeromecoutant 4cf68c5e1f STM32F4 Cube v1.19.0 update : ST CMSIS files
Previous version was v1.16.0
2018-02-23 17:08:30 -06:00
jeromecoutant cd1c958ad8 STM32F4 Cube v1.19.0 update : ST HAL files
Previous version was v1.16.0
2018-02-23 17:08:30 -06:00
jeromecoutant 468048c817 STM32F4 Cube update : file name alignment 2018-02-23 17:08:29 -06:00
deepikabhavnani ffeca09259 Added SHA record for context switch assembly files 2018-02-23 17:08:29 -06:00
Deepika e33ff50409 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-23 17:08:29 -06:00
deepikabhavnani 8eac84ca80 Non Secure flag is required for pre-processing of linker file 2018-02-23 17:08:29 -06:00
deepikabhavnani 3e181422d8 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-23 17:08:29 -06:00
Deepika c37f25a090 Default values for Trustzone Idle/Timer thread updated
Default value for timer/idle thread trustzone identifier is 0, updated
it to 1 to allow threads to access secure functions when timer is secure device.
2018-02-23 17:08:29 -06:00
Deepika cdb2ec21c1 RTX changes pulled in from d20b8aad7f5e
RTX5: Added TrustZone Module Identifier configuration for Idle and Timer Thread
2018-02-23 17:08:29 -06:00
Jan Jongboom a15e122982 gnuarmeclipse exporter uses mBed instead of proper casing 2018-02-23 17:08:29 -06:00
Przemyslaw Stekiel e56ef99593 Fix for issue #6054 - interrupts scheduled in the past.
When ticker is not driven by the 1 MHz clock and HAL driver need to perform conversion between microseconds and ticks, then the interrupt might be scheduled in the past. For details see: https://github.com/ARMmbed/mbed-os/issues/6054.

This patch provides fix for such case. Interrupt is fired immidiatelly when last read tick is equal to the calculated tick when interrupt should be generated.
2018-02-23 17:08:29 -06:00
daid a52009c176 Prevent detect_targets.py tool script from crashing on known targets
As mut['mcu'] can be "None" on unknown targets, the detect_targets script crashes when one of these boards is connected.

This happens when "mbed-cli detect -vv" is ran when a STEVAL-3DP001V1 board is connected. Which does not provide a html file with a target_id, and thus cannot be looked up in the mbedls platform database.
http://www.st.com/en/evaluation-tools/steval-3dp001v1.html
2018-02-23 17:08:29 -06:00
Christopher Haster 4ee3043721 mbr: Added note about limitations 2018-02-23 17:08:29 -06:00
Prashant Ravi e9c6303870 Fixing coding style
Fix Details: HAL API for loguart is different that UART. Initially we
didnt have support for loguart in the mbed api. These changes have been
made to support the loguart from the mbed api by using the correct HAL
api calls
2018-02-23 17:08:29 -06:00
Prashant Ravi 83165deda3 fix for serial issue #5805 2018-02-23 17:08:29 -06:00
bcostm 90c87335ce Add missing can legacy file 2018-02-23 17:08:29 -06:00
bcostm ea00afbaad F7 ST CUBE V1.10.0 F7 HAL driver V1.2.5 2018-02-23 17:08:29 -06:00
Tero Jääskö 5860dc08e4 tools: build: fix handing of "--stats-depth"
The introduction of pretty-bar had broken the handling of
"mbed compile"'s "--stats-depth" argument. No matter what one gave
as parameter to it, the result output is just using the default 2.
Fix the logic in build_api.
2018-02-23 17:08:28 -06:00
Christopher Haster 0a85303144 mbr: Added checks for extended partitions 2018-02-23 17:08:28 -06:00
Christopher Haster aee5511276 Added test to catch multiple nested MBRs 2018-02-23 17:08:28 -06:00
Christopher Haster ad4d0f088f fatfs: Removed extra MBR block
Regression after ChanFS update: Due to parameter changes in the f_mkfs
function, the option to use a separate block for MBR (FDISK) was turned
back on. This should be off as it conflicts with an explicit MBR when
using the MBRBlockDevice.
2018-02-23 17:08:28 -06:00
Wilfried Chauveau 978bc47415 remove magic calibration value for HSI in ST's targets 2018-02-23 17:08:28 -06:00
Wilfried Chauveau 17b53e9ce2 add few files to gitignore list 2018-02-23 17:08:28 -06:00
Vincent Coubard ef822f31e1 Ble: fix size function in advertising_data_t and address_t. 2018-02-23 17:08:28 -06:00
Marc Emmers 740547c525 STM32L0: Enable stop mode operation for the LPUART 2018-02-23 17:08:28 -06:00
Marc Emmers ef604d0bd8 STM32L0/4: Always try to select LSE if LPUART and baudrate <= 9600 2018-02-23 17:08:28 -06:00
Brendan McDonnell f99e4a2bdd cast to resolve signed/unsigned comparison compiler warning in FATFileSystem::dir_seek() 2018-02-23 17:08:28 -06:00
Ashok Rao f2337c4ddf Fixed serial pins and a typo for ODIN MTB 2018-02-23 17:08:28 -06:00
jeromecoutant ecae5ed46d DISCO_F303VC : Align clock configuration with STM32 family 2018-02-23 17:08:28 -06:00
jeromecoutant b81dcf2714 DISCO_F303VC : add IAR files 2018-02-23 17:08:28 -06:00
jeromecoutant e28859728b DISCO_F303VC : wrong STDIO pins 2018-02-23 17:08:28 -06:00
TomoYamanaka 67187c6d3e Fix NVIC Wrapper include
Renesas mbed boards incorporate NVIC Wrapper because Cortex-A9 use GIC. For example, NVIC_SystemReset() is defined in nvic_wrapper.c and declared in nvic_wrapper.h.
Because I removed one of include processing accidentally, I fixed the lack.
This supplements PR #5890.
2018-02-23 17:08:28 -06:00
Juha Ylinen 52ae31a615 lwip: enable EMAC IPv6 support 2018-02-23 17:08:28 -06:00
Anna Bridge 569159b784
Merge pull request #6057 from ARMmbed/release-candidate
Release candidate for mbed-os-5.7.5
2018-02-12 18:02:20 +00:00