Mikko Polojarvi
e3e385e16d
SiLabs Pearl: Serial HAL USART/LEUART pin routing
...
Serial pin routing for Pearl. Note that this currently requires
the pins to be in the same "location", even though this is not
needed by the Pearl HW.
2016-01-12 17:01:00 +01:00
jhokajar
d238a83042
SiLabs Pearl: AnalogIn support
...
analogin_api.c changed to make it compile.
Compilation error will be generated if _ADC_SINGLECTRL_POSSEL_MASK ||
_ADC_SINGLECTRL_INPUTSEL_MASK is not defined. This is because NEGATIVE
voltage measurement is not supported by MBED API.
2016-01-12 17:00:58 +01:00
Mikko Polojarvi
bafd8e28b8
SiLabs Pearl: LDMA initialization
...
LDMA support for the dma_api module
2016-01-12 17:00:56 +01:00
Mikko Polojarvi
c4018e4ea8
SiLabs Pearl: Correct includes and interrupt names in RTC
...
Conditionals for including em_rtc.h and em_rtcc.h.
Use the correct interrupt name in RTCC code.
2016-01-12 17:00:54 +01:00
Mikko Polojarvi
21a242049f
SiLabs Pearl: Fix I2C pin routing
...
Use new ROUTEPEN/ROUTELOC0 registers for selecting I2C pins.
2016-01-12 17:00:52 +01:00
Mikko Polojarvi
4990751ace
SiLabs Pearl: Correct STDIO_UART definition
...
Normal UARTs not present, use USART.
2016-01-12 17:00:50 +01:00
Mikko Polojarvi
2cb2ada9b6
SiLabs Pearl: Mbed support for linker script
...
Mbed needs to have interrupt vectors in RAM so reserve space at
the beginning of memory, and export the relevant symbols.
2016-01-12 17:00:48 +01:00
jhokajar
c89d5cae9d
SiLabs Pearl: Update pinmap for ADC and DAC
...
ADC pinmap updated, PinMap_DAC removed, since DEVICE_ANALOGOUT not supported
2016-01-12 17:00:46 +01:00
Mikko Polojarvi
6e7589c5b8
SiLabs Pearl: Remove configuration for HW not present in Pearl
...
Removed DAC/AnalogOut, I2C1, UART0/1, LEUART1, USART2,
GPIO Drive support and GPIO port E.
2016-01-12 17:00:44 +01:00
Mikko Polojarvi
dcc6b61ed5
SiLabs Pearl: lp_ticker HAL adaptation
...
Use RTCC API for lp_ticker on Pearl. Basic adaptation, but more
work is required.
Now frees RTC when ticker is not used (detected through interrupt
disable), so that sleep modes below EM2 do not remain
permanently blocked.
2016-01-12 17:00:42 +01:00
Mikko Polojarvi
bf4cf1a5ec
SiLabs Pearl: RTCC support
2016-01-12 17:00:40 +01:00
Mikko Polojarvi
e2c33dd166
SiLabs Pearl: GPIO HAL fixes
...
Pearl GPIO block does not support DOUTSET/DOUTCLR,
so use read+DOUTTGL instead.
2016-01-12 17:00:38 +01:00
Mikko Polojarvi
15ed788fe7
SiLabs Pearl: Pin mappings for PWM
...
PWM pin mappings. Since the pins can be freely chosen (unlike
in previous HW), there should be no need to use the other channels.
Also corrected frequency for HFXO in ref devices.
2016-01-12 17:00:35 +01:00
Mikko Polojarvi
199f5fa402
SiLabs: Emlib 4.1.0 headers update for Zero Gecko
2016-01-12 17:00:33 +01:00
Mikko Polojarvi
0c066f5c1a
SiLabs: Emlib 4.1.0 headers update for Wonder Gecko
2016-01-12 17:00:30 +01:00
Mikko Polojarvi
19a060791c
SiLabs: Emlib 4.1.0 headers update for Leopard Gecko
2016-01-12 17:00:27 +01:00
Mikko Polojarvi
567afac8ea
SiLabs: Emlib 4.1.0 headers update for Happy Gecko
2016-01-12 17:00:25 +01:00
Mikko Polojarvi
485a08db77
SiLabs: Emlib 4.1.0 headers update for Giant Gecko
2016-01-12 17:00:22 +01:00
Mikko Polojarvi
9234010fb8
SiLabs: Update emlib to 4.1.0
...
New version with support for Pearl & co.
2016-01-12 17:00:19 +01:00
Mikko Polojarvi
e5e896b68d
SiLabs Pearl: Initial commit
...
Leopard Gecko used as baseline.
TODO
- Peripheral/GPIO pin mappings etc for Pearl are marked "Pearl ok",
rest are wrong
- Missing new (4.1.0+) emlib
2016-01-12 17:00:16 +01:00
adustm
26e3c61983
[STM all] Fix #1480 : change location of check for RTC already initialised
...
Need to keep PWR_CLK_ENABLE and LSE LSI oscillator configuration.
Just skip the HAL_RTC_Init in case INITS flag is already set.
2016-01-12 09:30:33 +00:00
Martin Kojtal
42ceddf229
Merge pull request #1467 from mbedmicro/fix_m7core
...
Fix m7core
2016-01-11 16:55:37 +00:00
Martin Kojtal
ab7d3f1d2c
Merge pull request #1497 from c1728p9/fix_raw_serial_microlib
...
Fix RawSerial when used with ARMCC microlib
2016-01-11 16:55:05 +00:00
0xc0170
50719edaf5
RTOS - M4 files reuse for M7
2016-01-11 13:50:59 +00:00
adustm
4ac44bdea6
[STM_F0] clock the APB2ENR_SYSCFGEN in RCC so that SYSCFG->CFGR1 value can be taken into account in NVIC_SetVector
2016-01-11 09:31:50 +00:00
Russ
f8ada507af
Fix RawSerial when used with ARMCC microlib
...
The function vsnprintf does not properly handle a size of zero for
the destination buffer, and will write data to it. If the buffer is
set to null this will cause a hardfault. This patch adds a workaround
for this bug by using a buffer of size 1.
2016-01-10 19:01:46 -06:00
adustm
3bf8c187b3
allow rtos support
2016-01-06 13:51:39 +00:00
adustm
f4496bb5de
Add cmsis files for this new platform
2016-01-06 13:44:36 +00:00
adustm
300d3a0025
add new platform hal files
2016-01-06 13:44:26 +00:00
Martin Kojtal
4dc26b3d27
Merge pull request #1469 from dudmuck/master
...
release platform MOTE_L152RC to public
2016-01-04 12:15:04 +00:00
Martin Kojtal
a63257b05f
Merge pull request #1432 from adustm/DEV_FIX_1419_baudrateissue
...
[TARGET_STMF0] Fix #1419 baudrateissue
2016-01-04 12:14:34 +00:00
Martin Kojtal
7899cff5f6
Merge pull request #1483 from sg-/lpc4337_uart
...
LPC4337 stdio fixes for lpcxpresso board
2016-01-04 09:19:43 +00:00
Mike Fiore
d992c2e3e9
[MTS_DRAGONFLY_F411RE] correct serial signal pin names & add wakeup pin name
2015-12-29 11:43:03 -06:00
sg-
6feb5ed291
maintain support for micromint bambino and lpcxpresso boards
2015-12-28 00:18:59 -06:00
sg-
6bb92b1148
update stdio uart for lpc4337 and set baudrate to 9600
2015-12-28 00:05:28 -06:00
Russ Butler
e825431c1a
Fix nRF51 baud table size
...
Increase the number of entries in the baud rate table from 17 to 18.
This problem was introduced in the patch:
0a6e345400 -
Add support for 56000 baud on nrf51
2015-12-21 23:59:55 -06:00
Russ Butler
0a6e345400
Add support for 56000 baud on nrf51
...
Add support for the baudrate 56000. This is not documented in the
datasheet, but Nordic has indicated in can be used by setting the
BAUD register to 56000.
2015-12-18 11:36:03 -06:00
Russ Butler
8d12e206f6
Remove byte sent at 9600 baud on init on NRF51-DK
...
Disconnect the TX line before sending a dummy byte, and wait until the
dummy byte is completely sent before continuing. This prevents
the byte from getting sent on init or re-init of the uart.
2015-12-18 11:36:02 -06:00
0xc0170
48fa2930e5
mbed lib revision - 111
2015-12-15 16:06:22 +00:00
adustm
c59167c196
[STM32F0_all] remove the global variable and use SYSCFG register instead
2015-12-14 11:39:39 +01:00
adustm
5784d29fd2
Merge remote-tracking branch 'refs/remotes/origin/master' into DEV_FIX_1419_baudrateissue
2015-12-14 10:42:52 +01:00
jamofer
e7d879aaf6
Update i2c_api.c
2015-12-13 23:29:50 +01:00
jamofer
929cf7ffe4
Issue #666 LPC1768 i2c_slave_read fix
...
LPC1768 slave issues a STOP condition without waiting for master #666 : https://developer.mbed.org/forum/bugs-suggestions/topic/5266/
2015-12-13 23:25:23 +01:00
Martin Kojtal
1c75638d14
Merge pull request #1468 from dinau/f030r8-fixed-led-blink-too-fast
...
[NUCLEO-F030R8] Fixed: The issue of LED blinking too fast.
2015-12-13 21:30:31 +00:00
Russ
5c75dc29ee
Fix glitch when initializing NRF51-DK serial port
...
When initializing the NRF51's serial TX and RTS pins set the
data output register to high before setting the setting them to
output. This prevents these pins from glitching low before
the UART has been turned on.
2015-12-13 01:27:01 -06:00
U-owner-PC\owner
d5d98a76f6
correct LED pins and pass singletest.py
2015-12-11 18:43:40 -08:00
Martin Kojtal
bee1c953f0
Merge pull request #1457 from neilt6/fatfs-integer-fix
...
FATFileSystem -Fixed API integer widths
2015-12-11 16:11:49 +00:00
dinau
46955971ec
[NUCLEO-F030R8] Fixed: The issue of LED blink too fast.
...
Refer to:
https://github.com/mbedmicro/mbed/issues/1329
https://developer.mbed.org/questions/61386/Is-there-system-clock-error-in-STM32F030/
2015-12-09 20:38:32 +09:00
0xc0170
53fa2b9d6c
RTOS - add m7 cmsis header
2015-12-07 15:38:55 +00:00
Martin Kojtal
a41d1d6c02
Merge pull request #1449 from dbestm/dev_xxxx_xxx
...
I2C fixes, timeout for startup ~100/200
2015-12-07 07:48:07 +00:00