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
Sam Grove
28eaac360a
Merge pull request #4449 from c1728p9/lpc1768_fix
...
Fix semaphore usage on lpc1768 emac
2017-06-07 21:49:25 -05:00
Steven Cooreman
59b3bfa0ce
Add behavior to throw away collected entropy on occurrence of a noise alarm.
2017-06-07 17:22:26 -05:00
Steven Cooreman
97ef051eba
Remove internal test functions
2017-06-07 17:22:06 -05:00
Steven Cooreman
94450374e7
Update to 4 spaces/tab
2017-06-07 17:21:49 -05:00
Steven Cooreman
66862785c5
Remove leftover comment about mbedTLS plugin
2017-06-07 17:21:28 -05:00
Steven Cooreman
466d4eab22
[Silicon Labs] Add TRNG support
...
Adding support for the TRNG peripheral present on Series 1 Configuration 2 devices.
2017-06-07 17:20:24 -05:00
Mahadevan Mahesh
355a84ee74
Fix comments in KW41Z hardware entropy driver
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-07 17:10:15 -05:00
Jimmy Brisson
aaaccf0290
Fix typo in tools code to handle bootloader builds
...
fixes a regression
2017-06-07 15:45:06 -05:00
Andrzej Puzdrowski
3dc3329d13
[NRF5840] change: trng_get_bytes returns at last one random byte.
2017-06-07 15:32:57 -05:00
Andrzej Puzdrowski
8edac29db8
[NRF52840]: fix non-blocking mode of TRNG driver
...
improve coding style.
2017-06-07 15:32:40 -05:00
kl-cruz
8698756c63
[nRF52840] Fixed length in trng in every mode
2017-06-07 15:32:12 -05:00
kl-cruz
c32e2c262a
[nRF52840] added trng implementation for nrf52840
2017-06-07 15:31:39 -05:00
Jimmy Brisson
9c2626fd01
Use absolute paths for bootloader binaries
2017-06-07 15:00:53 -05:00
Kevin Gilbert
fcc780890c
EventQueue.h Doxygen doc fixed up. Moved overloaded callback arguments documentation to overloaded functions to fix warnings. B0..B4 were not documentated additionally, only bulk docs for a0..a4 and c0..c4 were moved around.
2017-06-07 11:50:33 -05:00
Kevin Gilbert
1d450f82fb
Removed Doxygen errors from Event.h
...
- Removed Makefile from branch
- Moved a0..a4/c0..c4 parameter documentation from top level overloaded functions to each function to appease Doxygen.
- Removed @see Event::Event from overloaded functions as the link did not work and the argument parameter documentation was moved down to each function
- TODO: Cleanup EventQueue.h
2017-06-07 11:50:33 -05:00
Sam Grove
744b95cc9f
Merge pull request #4425 from sg-/doxygen-template
...
Doxygen template and CI to not produce warnings and errors
2017-06-07 11:18:47 -05:00
Sam Grove
01e4520548
Merge pull request #4453 from c1728p9/lp_ticker_fix
...
Safely initialize RTC on kinetis devices
2017-06-07 09:58:49 -05:00
Seppo Takalo
2f5b03e876
Fix typo that used 16kB for stack.
...
Intend is to use 2kB for stack, not 16kB, but the divide operand
has been forgotten here.
2017-06-07 15:36:09 +03:00
Hasnain Virk
09b07a49a6
Customer port verification tests for cellular
...
Basic TCP/UDP tests for PPP based onboard cellular modems.
Tests basic public APIs defined in CellularBase.h
A customer port must pass this test set, hence verifying their
particular implementation.
2017-06-07 14:57:48 +03:00
Vincent Coubard
7a8898bb21
tests: Reintroduce ticker test.
...
This test was removed because of its memory footprint.
Most of the memory consummed by the test itself was related to the instantion of test cases in RAM.
With the introduction of case_t which allows tests cases to live in FLASH, the memory footprint has been drastically reduced (860 bytes of RAM saved) and the ticker test can be reintroduced in the code base.
2017-06-07 10:59:23 +01:00
Martin Kojtal
b1c7943dc3
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-07 10:02:52 +01:00
Yuguo Zou
a812696c1d
replace tab with space
2017-06-07 12:04:36 +08:00
Yuguo Zou
ef1ddae694
resolve lwip init twice issue
...
resolve wifi example test fail before lwip is init
2017-06-07 12:04:36 +08:00
Sam Grove
8232afa53e
Merge pull request #4216 from fmanno/issue-4189
...
STM32s Serial: Correct handling of parity bits
2017-06-06 20:00:19 -05:00
Sam Grove
72de85c62f
Merge pull request #4417 from monkiineko/master
...
STM32: Fix 32-bit us ticker interrupt scheduling
2017-06-06 19:59:52 -05:00
Sam Grove
3c3e35dd44
Merge pull request #4423 from arostm/nucleo_f412zg_remove_hal_conf
...
NUCLEO_F412ZG: Remove hal_conf file from NUCLEO_F412ZG
2017-06-06 19:59:31 -05:00
Sam Grove
4d7c045753
Merge pull request #4424 from LMESTM/STM32_16bits_tickers
...
Fix corner cases in STM32 16bit tickers
2017-06-06 19:59:08 -05:00
Sam Grove
28f590fc4c
Merge pull request #4430 from pan-/utest_cases_romable
...
utest optimization: Allow case data structure to be put in ROM.
2017-06-06 19:58:53 -05:00
Laurent MEUNIER
1c57df37d4
STM32 L4: Flash API typo
2017-06-06 18:10:38 -05:00
Laurent MEUNIER
a9d237012c
Removing duplicate defines
...
Those defines are already available in STM32 L4 SDK and don't need to
be (re)defined here.
2017-06-06 18:10:18 -05:00
Laurent MEUNIER
ec89ea8ac9
Fix L432KC compilation error
2017-06-06 18:09:53 -05:00
Laurent MEUNIER
b91c86ec3e
Activate FLASH on STM32 L4 targets
2017-06-06 18:09:31 -05:00
Laurent MEUNIER
b1ae8a9f9d
STM32L4 : add Flash API support
2017-06-06 18:09:12 -05:00
Jimmy Brisson
1ee15560a7
Improve error messages for bootloader build errors
2017-06-06 17:57:25 -05:00
Aksel Skauge Mellbye
b30e665fc7
[Silicon Labs] Bugfixes to using bootloader with Series 1 devices.
2017-06-06 17:11:18 -05:00
Andreas Larsson
7a0778b7d2
Fixed wrong stack size start
2017-06-06 17:09:01 -05:00
Andreas Larsson
7e58474a4e
Fixed comment, 439ZI to more generic 439xI
2017-06-06 17:08:51 -05:00
Andreas Larsson
fe8afae0c1
Fixed comment alignments
2017-06-06 17:08:43 -05:00
Andreas Larsson
6f1a8a8515
Added MBED_APP_START and MBED_APP_SIZE used by the app when a boot loader is present
2017-06-06 17:08:28 -05:00
Andreas Larsson
e91495dab1
Rebase of: 2d2f0a0b5c
...
Added missing bootloader_supported for NUCLEO_F439ZI
2017-06-06 17:07:54 -05:00
Vincent Coubard
c335a0090c
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-06 23:03:28 +01:00
Aksel Skauge Mellbye
9e999bd43b
[Silicon Labs] Fix bug with SPI MISO and CS handling
2017-06-06 16:36:15 -05:00
Mahadevan Mahesh
059affaf4e
Add TRNG support for KW41Z
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-06 16:33:53 -05:00
Aksel Skauge Mellbye
5d906a74e6
[Silicon Labs] 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-06 16:26:11 -05:00