Commit Graph

5435 Commits (c9cd05f97cc9a51db5a26a891ba9855349b858e6)

Author SHA1 Message Date
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
0xc0170 2d4024eccb mbed lib revision - 112 2016-01-12 09:56:03 +00: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
ytsuboi 9b7d776d40 [TY51822r3] add description on comment, fixed years 2016-01-11 22:57:46 +09:00
0xc0170 50719edaf5 RTOS - M4 files reuse for M7 2016-01-11 13:50:59 +00:00
0xc0170 35574d2e55 DISCO_F746NG - disable uLib for uvision4, use scatter file
uLib does not support floating, does not make sense to have it enabled.
2016-01-11 13:32: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
Martin Kojtal 8b10c2ae00 Merge pull request #1487 from 0xc0170/dev_progen_addition
Progen boilerplate addition
2016-01-08 15:03:44 +00:00
adustm 44cb38ba7c Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into b96b_asyn_serial_new 2016-01-07 11:07:21 +01:00
adustm 179a29e07b [B96B_Serial_Async] Add asynchronous feature for the platform B96B 2016-01-07 11:06:43 +01:00
Martin Kojtal 477f9d8d9d Merge pull request #1488 from bridadan/disable-rtc-test-lpc1114
Added LPC1114 from RTC test exclude list
2016-01-07 10:01:25 +00:00
adustm 30a5aa5649 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' 2016-01-07 10:59:40 +01:00
Martin Kojtal 2447f6d422 Merge pull request #1491 from bridadan/add-release-build-type
Adding 'Release' build type
2016-01-06 17:04:16 +00:00
Brian Daniels c4044a89bb Adding 'Release' build type 2016-01-06 10:56:03 -06:00
Martin Kojtal ef73d0c14f Merge pull request #1489 from 0xc0170/dev_f446
Add target B96B_F446VE files
2016-01-06 14:53:26 +00:00
ytsuboi 9a9885e5fa [TY51822r3] add platform 2016-01-06 23:17:24 +09:00
adustm b12bcf2cbc Add exporters for the new platform + add it to build and tests files 2016-01-06 13:51:53 +00: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
0xc0170 3575c11ad5 Exporter - progen prefix to member functions for progen 2016-01-05 22:19:14 +00:00
0xc0170 e9de5fe254 Progen target member add to targets
Mapping to ProGenDefinitions, as they don't always match.
2016-01-05 22:19:11 +00:00
0xc0170 e51243a11a Exporter progen - debugger and template removal
Debugger comes from a target, template not used currently.
2016-01-05 22:15:55 +00:00
0xc0170 21595a622a Exporter progen - source and header files group addition 2016-01-05 22:15:52 +00:00
0xc0170 f7e16b36f6 Exporter - new progen targets addition, req progen v0.8.4 2016-01-05 22:15:48 +00:00
0xc0170 b36a2feddd Exporters - progen targets - name fixes (nr51x,..) 2016-01-05 22:15:46 +00:00
0xc0170 12df7e4112 Exporters - fix progen targets names 2016-01-05 22:15:43 +00:00
0xc0170 2482f7d485 Setup - add progen req (v0.8) 2016-01-05 22:15:40 +00:00
0xc0170 8bbded4ae5 Add progen definitions to the mapping dict 2016-01-05 22:15:38 +00:00
0xc0170 56d4f6f9f3 Exporter - condition for progen simplification 2016-01-05 22:15:36 +00:00
0xc0170 5074f4814c Exporter - use progen to generate files (2 new methods) 2016-01-05 22:15:34 +00:00
Brian Daniels a19e541dc6 Added LPC1114 from RTC test exclude list 2016-01-04 17:48:44 -06:00