Bogdan Marinescu
1efcfd46b4
Preparing new layout - moving unused libraries
2016-04-05 16:26:10 +01:00
dbestm
864ff2c937
[XXX_F746XG] Move erasing of BkUpR in RTC API
...
The erasing of back up register is only needed when using LSI in RTC API
2016-04-05 16:26:07 +01:00
dbestm
a3ff2c53fe
[XXX_F10XRB] enhance RTC API
...
Add a define to select between LSE or LSI
2016-04-05 16:26:07 +01:00
dbestm
10c9469b6d
[XXX_L15XX] Move erasing of BkUpR in RTC API
...
the erasing of back up register is only needed when using LSI
2016-04-05 16:26:07 +01:00
dbestm
e7801d7a48
[XXX_L0X3XX] Move erasing of BkUpR in RTC API
...
The erasing of back up register is needed only when using LSI in RTC API
2016-04-05 16:26:07 +01:00
Russ Butler
85be4b7898
Prevent recursive processing of us_ticker in FSL
...
When a ticker is scheduled to run so fast that it is pending again
before the previous event has been processed then this next event
is processed (recursively) by calling into us_ticker_irq_handle().
This can lead to a stack overflow.
This patch prevents this recursion by replacing the call to
us_ticker_irq_handler() with a call to set the interrupt to pending
again. This allows the next timer event to be processed without
making the stack deeper.
2016-04-05 16:26:06 +01:00
dbestm
1d0aee9065
[XXX_F3XX] enhance rtc api
...
add define to select LSI or LSE, update rtc api accordingly
2016-04-05 16:26:06 +01:00
dbestm
310c61a071
[xxx_F746XG] enhance RTC api
...
to support LSI and LSE with a define in device.h
2016-04-05 16:26:06 +01:00
dbestm
1e473b891c
[XXX_F0XX] enhance RTC api
...
add define to select LSI or LSE
modify rtc api accordingly
2016-04-05 16:26:05 +01:00
dbestm
bdbc85ac64
[xxx_L476XG] remove erase of BkUpR in RTC API
...
the erase of back up regsiters are needed only when using RTC+LSI
2016-04-05 16:26:05 +01:00
Martin Kojtal
5ebcc34601
Merge pull request #1643 from dbestm/dev_xxx_f4xx_rtc
...
[XXX_F4XX] remove erasing of BkUpR in RTC API
2016-04-01 17:38:14 +01:00
dbestm
31defa8bcd
[xxx_F4XX] remove erasing of BkUpR in RTC API
...
the erasing of back up register is only needed when using LSI in RTC API
2016-04-01 11:39:51 +02:00
dbestm
e42e174852
[XXX_L15XXX] enhance RTC files
2016-03-30 17:49:39 +02:00
0xc0170
58c0b22c8c
mbed lib revision - 117
2016-03-30 12:40:37 +01:00
Martin Kojtal
4694003b10
Merge pull request #1633 from ducky64/master
...
Make Nucleo F303K8 number of interrupts consistent with amount of SRAM allocated
2016-03-29 11:11:17 +02:00
ducky64
0bbfa7ddbf
Add Nucleo F303K8 support to RPC
2016-03-26 20:09:57 -07:00
ducky64
c74a616be6
Make Nucleo F303K8 number of interrupts consistent with amount of SRAM
...
reserved by linker scripts
2016-03-26 12:44:43 -07:00
bcostm
18f90871db
Replace tabs with spaces
2016-03-25 14:56:56 +01:00
bcostm
481a451f2c
Update LSI typical value to 38MHz (datasheet value)
...
MBED_16 test re-checked ok with LSI on the 3 STM32L0 platforms.
2016-03-25 14:56:01 +01:00
bcostm
3d6e522177
Move rtc_api.c in upper folder
...
This file should be common for all L0 targets.
2016-03-25 14:08:04 +01:00
Martin Kojtal
286b61db8a
Merge pull request #1554 from bcostm/stm32l4_arm_startup_files
...
[STM32L4] Update ARM_MICRO startup files
2016-03-24 10:21:16 +01:00
dbestm
3e896871e6
[xx_L476xx] update LSI timeout defines
...
move hal_conf.h in device folder
clean define related to LSI timeout
2016-03-24 07:44:00 +01:00
Martin Kojtal
dd3cba536f
Merge pull request #1622 from c1728p9/fix_kl05_uart_clock
...
Prevent KL05 from using an unstable clock
2016-03-24 07:15:23 +01:00
Martin Kojtal
ff9d4e2266
Merge pull request #1625 from dbestm/dev_l0x3_rtc
...
[xxx_L0X3] debug RTC to add a proper init check feature
2016-03-24 07:03:30 +01:00
dbestm
6dbe57b058
[xxx_L0X3] debug RTC to add a proper init check feature
2016-03-21 15:01:11 +01:00
Russ Butler
273b464fe0
Prevent KL05 from using an unstable clock
...
Add a delay after switching to the FEE clock mode so the FLL has a
chance to acquire a better lock. This fixes a bug where the first byte
sent over the UART is corrupt.
2016-03-20 19:40:13 -05:00
Martin Kojtal
1f340445d5
Merge pull request #1615 from MultiTechSystems/hardfault-handler
...
add hard fault handlers for MultiTech mDot and Dragonfly platforms
2016-03-18 08:27:55 +00:00
Martin Kojtal
0a0fcbb5fd
Merge pull request #1603 from arnaudrichard/master
...
Fix IRQ enabled in serial_irq_set()
2016-03-17 15:34:27 +00:00
bcostm
0ae3ed496d
Remove I2C PA11 and PA12 pins
...
There is no I2C on these pins.
2016-03-17 08:44:46 +01:00
Mike Fiore
ba2a974fd1
add hard fault handlers for MultiTech mDot and Dragonfly platforms
2016-03-16 12:55:50 -05:00
0xc0170
287c3b71f4
mbed lib revision - 116
2016-03-15 15:34:00 +00:00
Martin Kojtal
3afb550952
Merge pull request #1611 from bcostm/dev_rtc_stm32f4
...
[STM32F4] Add DEVICE_RTC_LSI=0 to all targets
2016-03-15 08:54:05 +00:00
Martin Kojtal
1fa489b0c5
Merge pull request #1597 from neilt6/rtos-idle-patch
...
[RTOS] Added idle hook API
2016-03-15 08:53:52 +00:00
Martin Kojtal
fec574a5ed
Merge pull request #1596 from geky/master
...
Increased allocated netbufs to handle DTLS handshakes
2016-03-14 16:14:12 +00:00
Martin Kojtal
2144dadad2
Merge pull request #1608 from MultiTechSystems/f4-serial-overrun
...
avoid getting stuck in serial IRQ if ORE is set without RXNE
2016-03-14 16:02:28 +00:00
bcostm
9db204bcf0
Add DEVICE_RTC_LSI=0
2016-03-14 16:01:24 +00:00
Brian Daniels
3362325a03
Fixing issue with NOT_SUPPORTED messages
2016-03-14 10:29:23 -05:00
bcostm
b956e27237
Add DEVICE_RTC_LSI = 0 to all targets
...
Added for clarity. This flag must be set to 1 if the LSE xtal is not
present on the board or if the RTC must be clocked by the internal
clock.
2016-03-14 14:26:27 +01:00
tomoyuki yamanaka
23c02e1675
Modify macro value of device error in device.h.
...
We modified the value of "DEVICE_STDIO_MESSAGES" and "DEVICE_ERROR_PATTERN" in order to output the error message.
2016-03-14 11:24:37 +09:00
Mike Fiore
68b034541a
avoid getting stuck in serial IRQ if ORE is set without RXNE - issue #1605
2016-03-11 11:49:03 -06:00
Martin Kojtal
f178fc4835
Merge pull request #1602 from sunsmilearm/master
...
Change the uart pin to DIP pin for XBED_LPC1768
2016-03-11 09:10:17 +01:00
Arnaud RICHARD
cbcdfab741
Fix IRQ enabled in serial_irq_set()
...
UART_IT_TC was enabled instead of UART_IT_TXE
This was causing an issue because UART_IT_TXE (and not UART_IT_TC) was disabled by same function.
Consequently if a transfer was ongoing when serial_irq_set() was called to disable IRQ, UART_IT_TC would still trigger (once).
Side effect is maybe speed: I guess using UART_IT_TC prevented implementation of continuous transfer.
This commit is focused on solving an issue observed with TARGET_STM32F4. It doesn't presume it should or shouldn't be done for other targets.
2016-03-10 14:40:41 +01:00
sunsmilearm
30df100f88
Update PinNames.h
...
Change the "tab" to 4 "space"
2016-03-10 17:57:53 +08:00
Xiao Sun
7569cdfda4
Change the uart pin to DIP pin
2016-03-10 14:10:03 +08:00
Martin Kojtal
6501de9044
Merge pull request #1548 from dbestm/dev_F446_rtc
...
[NUCLEO_F446RE] RTC+LSE+init
2016-03-09 17:55:20 +00:00
dbestm
81f3abc770
Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_F446_rtc
2016-03-09 15:40:37 +01:00
Martin Kojtal
2c6c939564
Merge pull request #1580 from ohagendorf/f3xx_adc
...
[STM32F3xx] bug fix multiple ADC channels using multiple ADC blocks
2016-03-09 08:33:47 +00:00
Adam Green
5b5d7ee1d4
Fix issue #1599
...
My previous commit, c6d2c81
, broke Keil builds and maybe even IAR.
I need to learn how to read C code :) I thought I was masking off the
O_BINARY bit only for GCC builds but it turns out that my update was
in the fall-through case for all toolchains. This commit now places
the O_BINARY masking operation into a GCC specific #ifdef clause.
Testing:
I tested the same fopen("/local/out.txt","rb") code as before but this
time I built it with the online compiler and GCC_ARM. I tested the
resulting binaries on mbed-LPC11U24 and mbed-LPC1768 boards.
Thanks to @neilt6 for catching & reporting this!
2016-03-08 14:13:00 -08:00
Neil Thiessen
c52e0dce48
Update rtos_idle.h
...
Removed unnecessary loop function prototype.
2016-03-08 10:55:56 -07:00
neilt6
9db32475d6
[RTOS] Added idle hook API
...
Added a new API for attaching a user-provided function to be executed by
the idle task.
2016-03-08 09:48:02 -07:00