Commit Graph

11304 Commits (1b7a15501c8cd5d08ccd01b408c6dedb46e5ab1c)

Author SHA1 Message Date
Christopher Haster 21cd94e4ce Cleaned up extra code left over after several different rebases 2017-06-11 09:48:35 +01:00
Laurent MEUNIER f7119af2aa STM32 L4: Flash API typo 2017-06-11 09:48:35 +01:00
Laurent MEUNIER d903955760 Removing duplicate defines
Those defines are already available in STM32 L4 SDK and don't need to
be (re)defined here.
2017-06-11 09:48:34 +01:00
Laurent MEUNIER b5c3801730 Fix L432KC compilation error 2017-06-11 09:48:34 +01:00
Laurent MEUNIER d2354e2c1f Activate FLASH on STM32 L4 targets 2017-06-11 09:48:34 +01:00
Laurent MEUNIER 08b8b63f2c STM32L4 : add Flash API support 2017-06-11 09:48:33 +01:00
Aksel Skauge Mellbye 6f2cbf25ed Fix bug with SPI MISO and CS handling 2017-06-11 09:48:33 +01:00
Aksel Skauge Mellbye ca90cc1563 Add bootloader support
* Make memory sections configurable in linker files
* Dynamically determine vector location in flash for NVIC relocation
* Advertise bootloader support in targets.json
2017-06-11 09:48:33 +01:00
Jimmy Brisson 1b7af5fbb4 Correct FPU setting for Cortex-M7FD
They had floating point turned off before
2017-06-11 09:48:32 +01:00
Jimmy Brisson 68c58c32d7 Correct profile handling in GNUARMEclipse exporter 2017-06-11 09:48:32 +01:00
Jimmy Brisson 7361985c07 Upcase assembly file suffix for preprocesssing 2017-06-11 09:48:32 +01:00
Jimmy Brisson de72fd6973 Remove unsupported part from IAR 2017-06-11 09:48:31 +01:00
Jimmy Brisson 07276fb4d6 Remove incompatible post binary hook 2017-06-11 09:48:31 +01:00
Jimmy Brisson 191ea7580c Correctly name rom.a 2017-06-11 09:48:31 +01:00
Sam Grove 78e149c161 Add virtual nvic support to OC_MBUINO (LPC11U24 based) 2017-06-11 09:48:30 +01:00
Russ Butler e155d1a830 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-11 09:48:30 +01:00
Russ Butler d5320977ff 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-11 09:48:30 +01:00
Russ Butler 44bb5bec0b 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-11 09:48:29 +01:00
Kevin Gilbert 87cd2059dd Placed verbatim tags around a pair of brackets that Doxygen interpreted as xml tags 2017-06-11 09:48:29 +01:00
Kevin Gilbert c024f57832 Resolved Doxygen build errors 2017-06-11 09:48:29 +01:00
Kevin Gilbert 8ba5034984 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-11 09:48:29 +01:00
Kevin Gilbert cd0f0a5e1c Resolve Doxygen errors from RTOS. Fixed minor Doxygen bug in FileSystemHandle.h as well 2017-06-11 09:48:28 +01:00
Kevin Gilbert 1bf722ccd4 Remove RTOS from Doxygen exception list (with the exception of CMSIS/RTX directores) 2017-06-11 09:48:28 +01:00
deepikabhavnani e31cec9ebf Enabled operator API documentation in drivers 2017-06-11 09:48:28 +01:00
Deepika c07c72c124 Fix doxygen warnings in 'drivers' 2017-06-11 09:48:27 +01:00
Deepika 78d90d8bab Fix doxygen warnings in 'features/filesystem' 2017-06-11 09:48:27 +01:00
Deepika Bhavnani c6ac763d52 Resolving doxygen warnings 2017-06-11 09:48:27 +01:00
Tony Wu 9f2d494660 lwip - fix typo and cleanup coding style
Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-06-11 09:48:26 +01:00
Aksel Skauge Mellbye ceecd123f8 Enable dynamic heap with ARMCC
When using ARM Compiler 5, the RTX config hard-coded the heap and stack
sizes to specific values. This prevented the RTX HAL from dynamically
allocating unused memory as heap space.

Specifically, the HEAP_START define prevents this logic in RTX_CM_lib.h
from activating. The rest of the defines are also set in that header,
and should be removed from here.
2017-06-11 09:48:26 +01:00
Mahadevan Mahesh 745a1ed17d Fix comments in KW41Z hardware entropy driver
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-11 09:48:26 +01:00
Mahadevan Mahesh a86ea3d520 Add TRNG support for KW41Z
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-11 09:48:26 +01:00
Andreas Larsson 7a6dba69eb Fixed wrong stack size start 2017-06-11 09:48:25 +01:00
Andreas Larsson cb08d6f14c Fixed comment, 439ZI to more generic 439xI 2017-06-11 09:48:25 +01:00
Andreas Larsson a8c5e71897 Fixed comment alignments 2017-06-11 09:48:25 +01:00
Andreas Larsson 656b9b0f70 Added MBED_APP_START and MBED_APP_SIZE used by the app when a boot loader is present 2017-06-11 09:48:24 +01:00
Andreas Larsson aa6aa82471 Rebase of: 2d2f0a0b5c
Added missing bootloader_supported for NUCLEO_F439ZI
2017-06-11 09:48:24 +01:00
Martin Kojtal f3019d37ff mbed sdk boot: fix gcc sw init hook attribute
Remove naked attribute that should not be defined for sw init hook, as it
should return.
2017-06-11 09:48:24 +01:00
Aksel Skauge Mellbye c9b8bee5ad Bugfixes to using bootloader with Series 1 devices. 2017-06-11 09:48:23 +01:00
Aksel Skauge Mellbye 7550f62777 Fix compile warnings and ticker test failure
* Using PinName as bitfield doesn't work without warnings, since NC
  needs all 32 bits to be represented.
* lp_ticker should not be freed when interrupt is disabled, since this
  will kill the timebase.
2017-06-11 09:48:23 +01:00
Vincent Coubard 853cdc0216 rtc_time: Fix incorrect return value when the calendar is not available.
According to the C99 specification "The value (time_t)(-1) is returned if the
calendar time is not available". Before this patch, in such case the function
was returning 0 instead of -1.
2017-06-11 09:48:23 +01:00
Jimmy Brisson 42bfa06b48 Use absolute paths for bootloader binaries 2017-06-11 09:48:23 +01:00
Andrzej Puzdrowski 98bb2472fd change: trng_get_bytes returns at last one random byte. 2017-06-11 09:48:22 +01:00
Andrzej Puzdrowski 75bfbcf056 fix non-blocking mode of TRNG driver improve coding style. 2017-06-11 09:48:22 +01:00
kl-cruz b26fcf489c Fixed length in trng in every mode 2017-06-11 09:48:22 +01:00
kl-cruz 045718c9c2 added trng implementation for nrf52840 2017-06-11 09:48:21 +01:00
Steven Cooreman 80ad824e7d Add behavior to throw away collected entropy on occurrence of a noise alarm. 2017-06-11 09:48:21 +01:00
Steven Cooreman bb2d4e3078 Remove internal test functions 2017-06-11 09:48:21 +01:00
Steven Cooreman 062ae8ceee Update to 4 spaces/tab 2017-06-11 09:48:21 +01:00
Steven Cooreman fcfb7de98d Remove leftover comment about mbedTLS plugin 2017-06-11 09:48:20 +01:00
Steven Cooreman aaac6adaa9 Add TRNG support
Adding support for the TRNG peripheral present on Series 1 Configuration 2 devices.
2017-06-11 09:48:20 +01:00