Commit Graph

11195 Commits (35999be01802742f0c4cf302c3890da7a9fbc33d)

Author SHA1 Message Date
Jimmy Brisson fc6c2b85ff Upcase assembly file suffix for preprocesssing 2017-06-09 00:03:23 -05:00
Jimmy Brisson 578064e3fc Remove unsupported part from IAR 2017-06-09 00:03:22 -05:00
Jimmy Brisson a5cc8ef446 Remove incompatible post binary hook 2017-06-09 00:03:22 -05:00
Jimmy Brisson d06e2169fd Correctly name rom.a 2017-06-09 00:03:22 -05:00
Sam Grove 8e76bf6da6 Merge pull request #4508 from kegilbert/kg-doxygen-framework-hal-rtos
Doxygen combined HAL, RTOS, and features/Framework updates to not produce warnings and errors [DOC Changes Only]
2017-06-08 23:52:33 -05:00
Sam Grove 14153e7f98 Add virtual nvic support to OC_MBUINO (LPC11U24 based) 2017-06-08 23:49:07 -05:00
Russ Butler 33be92c2b8 Define CMSIS_VECTAB_VIRTUAL for M0 targets
Define CMSIS_VECTAB_VIRTUAL for the M0 targets which have a
corresponding driver. The only M0 target missing this is the LPC4330_M0
which is not part of the 2 or 5 release.
2017-06-08 22:50:28 -05:00
Russ Butler 805374ed89 Restore cmsis_nvic for Cortex-M0 targets
Restore cmsis_nvic (cmsis_nvic.c and cmsis_nvic.h) files for the
implementations which use a mechanism other than the VTOR to set
interrupts. These are vendor specific and were done for M0 devices
which do not have a VTOR.

Note - There were two cmsis_nvic files which did not use the VTOR that
which not restored in this patch. This is because these targets were
not M0 devices and could use the new unified implementation instead.
These files are:
targets\TARGET_ARM_SSG\TARGET_MPS2\TARGET_MPS2_M0P\device\cmsis_nvic.c
targets\TARGET_ONSEMI\TARGET_NCS36510\device\cmsis_nvic.c

Note - cmsis_nvic.c and cmsis_nvic.h were initial removed in
(and restored from) the commit:
b97ffe8fdc -
"CMSIS5: Replace target defined NVIC_Set/GetVector with CMSIS implementation"
2017-06-08 22:50:23 -05:00
Russ Butler 9661844e35 Change NUCLEO_L031K6 to M0+
Change the core type of the NUCLEO_L031K6 from an M0 to an M0+
so NVIC_SetVector works correctly.
2017-06-08 22:50:19 -05:00
Sam Grove 52fde55b6f Merge pull request #4450 from deepikabhavnani/doxygen-template
Doxygen template
2017-06-08 22:42:06 -05:00
Kevin Gilbert f324647aae Original pull request had added these checks to a deleted file. Replicating that change to allow builds on the NRF52840_DK (see original PR #4088 to see the explanation for the removal of spi async) 2017-06-08 17:31:24 -05:00
Andrzej Puzdrowski baf45b6596 [NRF52840]: disbale SPIM which fix block device 2017-06-08 17:31:24 -05:00
Andrzej Puzdrowski 728841bb5a Rebase of 7e8cfa8076
[NRF52840]: fix SdBlockDevice capability device by disabling SPI_ASYNC mode.
2017-06-08 17:31:23 -05:00
Martin Kojtal 278634a1f6 tools: mbed sdk boot should be separate object file
This was probably deleted during the rebase, as mbed sdk boot needs to be
own object file due to using weak functions.
2017-06-08 17:19:58 -05:00
Martin Kojtal 7d3b2af9c7 mbed sdk boot: default nvic implementation
Latest cmsis files provide virtual nvic implementation, therefore all nvic
set/get vectors were removed. As the result, we did not reallocate vectors
for mbed SDK. This should fix it for most of the platforms (cortex m0 and
cortex a9 need to provide own if they need it).
2017-06-08 17:19:35 -05:00
Kevin Gilbert 090e63f36a Placed verbatim tags around a pair of brackets that Doxygen interpreted as xml tags 2017-06-08 17:12:03 -05:00
Russ Butler 018955c7b2 Disable error trapping for mbed 2 builds
To maintain backwards compatibility keep error trapping turned off
for mbed 2 builds.
2017-06-08 16:54:23 -05:00
Sam Grove 1afb23bdd8 Merge pull request #4441 from tung7970/fix-mbedos
lwip - fix typo and cleanup coding style
2017-06-08 16:30:16 -05:00
Sam Grove 88cbc7e335 Merge pull request #4473 from c1728p9/workshop_rebase_4041
[Silicon Labs] Enable dynamic heap with ARMCC
2017-06-08 15:58:28 -05:00
Sam Grove bedebce37e Merge pull request #4476 from c1728p9/workshop_rebase_4050
Add TRNG support for KW41Z
2017-06-08 15:58:03 -05:00
Sam Grove ee8bd05ff6 Merge pull request #4481 from kegilbert/add_bootloader_support_stm32f439xI-rebase
Add bootloader support stm32f439xI - Rebase
2017-06-08 15:55:59 -05:00
Sam Grove 6d34b86f5d Merge pull request #4489 from 0xc0170/fix_issue#4486
mbed sdk boot: fix gcc sw init hook attribute
2017-06-08 15:55:14 -05:00
Sam Grove 8a6f28dd52 Merge pull request #4482 from kegilbert/bugfix/efm32-bootloader-s1-rebase
[Silicon Labs] Bugfix for bootloader on Pearl and Mighty Gecko - Rebase
2017-06-08 15:54:57 -05:00
Sam Grove c136c1330f Merge pull request #4471 from c1728p9/workshop_rebase_4042
[Silicon Labs] Fix compile warnings and ticker test failure
2017-06-08 15:53:55 -05:00
deepikabhavnani c5ff982fc3 Enabled operator API documentation in drivers 2017-06-08 15:53:53 -05:00
Deepika 6478e88808 Fix doxygen warnings in 'drivers' 2017-06-08 15:53:53 -05:00
Kevin Gilbert 57a70d93f9 Resolved Doxygen build errors 2017-06-08 15:53:27 -05:00
Sam Grove 9122ed60cd Merge pull request #4480 from pan-/fix_time_return
rtc_time: Fix incorrect return value when the calendar is not available.
2017-06-08 15:52:46 -05:00
Kevin Gilbert 7e2e80588d Removed bad \ref tag, but left in the tag name. Updated old param names in gpio_api.h and added new params in ticker_api.h 2017-06-08 15:52:31 -05:00
Sam Grove ea7561ddbb Merge pull request #4494 from theotherjimmy/absolute-bootloader-paths
Use absolute paths for bootloader binaries
2017-06-08 15:51:04 -05:00
Kevin Gilbert 567589f138 Resolve Doxygen errors from RTOS. Fixed minor Doxygen bug in FileSystemHandle.h as well 2017-06-08 15:51:04 -05:00
Kevin Gilbert af6f342725 Remove RTOS from Doxygen exception list (with the exception of CMSIS/RTX directores) 2017-06-08 15:50:31 -05:00
Sam Grove 644cdee1de Merge pull request #4495 from c1728p9/workshop_rebase_4056
NRF52840: TRNG support
2017-06-08 15:50:26 -05:00
Sam Grove 8e9b5b260d Merge pull request #4497 from c1728p9/workshop_rebase_4051
Silicon Labs: Add TRNG support
2017-06-08 15:50:10 -05:00
Sam Grove 434787b9a8 Merge pull request #4499 from c1728p9/fix_rtc_api_time_conversion
Fix rtc api time conversion
2017-06-08 15:49:00 -05:00
Deepika 6ee4c7e219 Fix doxygen warnings in 'features/filesystem' 2017-06-08 15:48:21 -05:00
Deepika Bhavnani f05e498c73 Resolving doxygen warnings 2017-06-08 15:48:20 -05:00
Sam Grove e98a744fd0 Merge pull request #4501 from ARMmbed/fix_ncs36510
Fix compilation for NCS36510 RF driver.
2017-06-08 15:47:09 -05:00
Sam Grove 64c6214f03 Merge pull request #4474 from kegilbert/stm32_l0_flash_api-rebase
STM32 L0: Add Flash API support - Rebase
2017-06-08 11:39:08 -05:00
Sam Grove 1607c83d77 Merge pull request #4469 from kegilbert/17q2-l4-bootloader-rebase
17q2 l4 bootloader - Rebase
2017-06-08 11:38:25 -05:00
Sam Grove fcb8c9825e Merge pull request #4496 from theotherjimmy/bootloader-typo
Fix typo in tools code to handle bootloader builds
2017-06-08 11:38:05 -05:00
Seppo Takalo a36c9abca0 Fix compilation for NCS36510 RF driver.
RTX porting for this driver was done against the previous API that
have now been reverted.
2017-06-08 13:54:33 +03:00
Vincent Coubard 6b020a3510 mbed_localtime: Add support of year day.
This field is needed by the LPC43XX targets.
2017-06-08 10:32:57 +01:00
Vincent Coubard 01f1e08358 mbed_localtime: Add support of wday.
This field is necessary, it is used by several vendor RTC: Atmel, ST, NUVOTON,
NXP.
2017-06-08 10:11:01 +01:00
Vincent Coubard 946ed353bc mbed_mktime: Improve documentation for doxygen. 2017-06-08 10:01:43 +01:00
Sam Grove 547320e99c Rename function st_rtc_localtime with _rtc_localtime 2017-06-07 23:24:48 -05:00
Vincent Coubard f880e44145 remove usage of mktime/localtime in favor of dedicated functions.
The use of mktime was causing a fault when called in interrupt handler because on GCC it lock the mutex protecting the environment, To overcome this issue, this patch add dedicated routine to convert a time_t into a tm and vice versa.
In the process mktime has been optimized and is now an order of magnitude faster than the routines present in the C library.
2017-06-07 22:06:22 -05:00
Russ Butler 96288e3eef Simplify Ameba RTC driver
The Ameba RTC driver converts time_t to
second/minute/hour/day/month/year in rtc_write and back to time_t in
rtc_read. Replace this with an implementation which uses time_t
directly.
2017-06-07 22:03:27 -05:00
Sam Grove 072a227bc9 Merge pull request #4434 from kegilbert/kg-doxygen-event
Doxygen EventQueue updates to not produce warnings and errors [DOC Changes Only]
2017-06-07 21:57:50 -05:00
Sam Grove 9f4b72d401 Merge pull request #4493 from ARMmbed/fix_timer_stack
Fix typo that used 16kB for stack.
2017-06-07 21:50:09 -05:00