Commit Graph

5667 Commits (2bc21a76410565643d0082a552a72bee36bf550d)

Author SHA1 Message Date
svastm 2bc21a7641 Code misalignment correction 2016-04-15 14:37:08 +02:00
svastm b77627dd30 Update STM32L0 HAL API to support STM32CUBE_L0 v1.5 2016-04-14 14:48:11 +02:00
svastm ce436d5107 Update STM32CUBE_L0 from v1.2 to v1.5 2016-04-14 14:39:53 +02:00
0xc0170 5d695a8e0b mbed lib revision - 118 2016-04-13 15:42:20 +01:00
Mridupawan Das 9cd482817d adding hwflwctl support for NUCLEO_F401RE (#1654) 2016-04-12 08:54:48 +01:00
Eosis 02b197ca16 Removing the appending of the method name to an RPC call (#1593)
The RPC call appended the method name to the output after the method
had already finished processing. It was unexpected for my use case,
and doesn't feel like the obvious thing to do.  This could be appended
in the RPC method itself, instead.

The adding of the method to the output was first commited in commit
556b889b5f.
2016-04-11 17:27:11 +01:00
Toyomasa Watarai f28131a577 [LPC812] Fixed PwmOut SCT bugs (#1656)
* [LPC812] Fixed PwmOut SCT bugs

* Fixed 0% duty cycle output
* Fixed pulse width 0 output
* Remove unused comment-out code
* Correct cast type for GCC toolchain

* [LPC812] Fix incorrect duty cycle

* The new PWM period now update existing PWM channels, so duty cycle is
kept
* Remove comment and unused code
2016-04-08 17:47:02 +01:00
Martin Kojtal f04e3dc8a4 pyYAML is req for exporters (#1652) 2016-04-07 19:11:01 +01:00
Parthasarathy dd3c5f7fa8 Added support for SAMG55
* * Base Commit for SAMG55J19. No errors and no implementations.

* * Added gpio files.

* * Added pinmap files.

* * Base commit for usticker implementation.

* * Added gcc_arm export functionality

* * added files for usticker.
* added template file for samd55j19

* * GPIO IRQ base commit.

* * updated with changes in gpio irq driver.

* * Reverted back unexpected commit in SAM0 gpio driver.

* * updated gpio_irq driver.

* * correction in gpio and gpio_irq drivers.
* added support for some test for gpio.

* * base commit for peripheralpins for usart.
* update in serial apis.

* * updated serial apis.

* * updated serial apis and test.

* * update serial apis for asynch apis.

* * updated peripheral pins for i2c and spi.
* added test support for serial flow control

* * Base commit for low power ticker implementation.

* * base commit for port apis.
* update in lp ticker apis.

* * Added test support for port.

* * base commit for sleep apis.

* * Base commit for spi.

* * updated with corrections in gpio irq.
* usticker file updated with latest source.

* * updated with corrections for unexpected board reset.
* updated gpio irq apis and added test for the same.

* * updated sleep api for deepsleep.

* * updated serial apis.

* Added uc_ticker and SPI api implementations

* Removed unused SPI pin map

* Updated review feedback

* * implemented lpticker with TC module.
* updated files for KnR Coding Statndard.
* updated serial and usticker apis.

* * Base commit for AnalogueIn apis.

* * RTC apis base commit without implementation.

* * Updated with corrections in lpticker implementations.

* * Added implementation for rtc apis.

* * updated with implementations for pwm.
* changed usticker from TC0 to TC1.

* Added I2C support

* * removed setvector usage from usticker and lpticker implementations
* added tests for SAMG55J19

* * Removed unwanted .o and .d files.
* Updated I2C files for KnR Coding Standards.
* Update for reducing compiler warnings in peripheralpins,c
* Updated with PWM free implementation.

* * Removed unwanted headers file inclusion.
* Compiler warning corrections in serial_api.c

* * Updated ADC with 16 bit mode initialization and code refinements.
* Updated PWM with code refinements.

* Updated I2C review feedback and fixed style

* Updated target name for SAMG55

* * Added Test Support for I2C with AT30TSE75X and Added Support for SAMG55J19 in atmelstudio project exporter

* * Added Test Support for I2C with AT30TSE75X and Added Support for SAMG55J19 in atmelstudio project exporter

* Used NVIC_SetVector for interrupt callback

* Removed Target macro define in test

* Updated test cases to have SAMG55 support

* * Updated with corrections in Serial and SPI asynchronous implementations.
* Updated deepsleep api implementation
* Merged LP_Ticker with latest code from mbed 3.0 repository.

* * updated with corrections in I2C Asynch implementation.
2016-04-05 18:05:59 +01:00
Martin Kojtal c9bf785b69 Export - add export log yaml file
Exporters should provide additional information - what templates
are they using. For progen, it should be version, and we might add more
information later.
2016-04-05 09:59:45 +01:00
dbestm e2cb35e9ad [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-04 22:02:48 +01:00
Martin Kojtal b3e2dc9d3c [XXX_F10XRB] enhance RTC API
[XXX_F10XRB] enhance RTC API
2016-04-04 22:02:16 +01:00
dbestm 7f6c0b8269 [XXX_F10XRB] enhance RTC API
Add a define to select between LSE or LSI
2016-04-04 16:11:02 +02:00
dbestm 76649d8a97 [XXX_L15XX] Move erasing of BkUpR in RTC API
the erasing of back up register is only needed when using LSI
2016-04-04 11:09:10 +01:00
Martin Kojtal c90b7f81d2 Merge pull request #1648 from dbestm/dev_xxx_l0x3xx_rtc
[XXX_L0X3XX] Move erasing of BkUpR in RTC API
2016-04-04 11:08:52 +01:00
dbestm 50845e8069 [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-04 11:05:52 +02:00
Martin Kojtal 2454dc53c7 Merge pull request #1646 from c1728p9/fix_timer
Prevent recursive processing of us_ticker in FSL
2016-04-04 09:50:51 +01:00
Russ Butler 9fd3e09506 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-03 16:55:15 -05:00
Martin Kojtal 47c580be86 Merge pull request #1640 from dbestm/dev_xxx_f3xx_rtc
[XXX_F3XX] enhance RTC API
2016-04-01 17:44:02 +01:00
Martin Kojtal 43b94d2fcf Merge pull request #1638 from dbestm/dev_xxx_f746xg_rtc
[xxx_F746XG] enhance RTC api
2016-04-01 17:43:34 +01:00
Martin Kojtal 53fd30ab31 Merge pull request #1641 from dbestm/dev_xxx_F0xx_rtc
[XXX_F0XX] enhance RTC API
2016-04-01 17:42:31 +01:00
Martin Kojtal 7b82f27438 Merge pull request #1642 from dbestm/dev_xxx_l476xg_rtc
[XXX_L476XG] remove erasing of BkUpR in RTC API
2016-04-01 17:42:12 +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 9d60138873 [xxx_L476XG] remove erase of BkUpR in RTC API
the erase of back up regsiters are needed only when using RTC+LSI
2016-04-01 11:18:06 +02:00
dbestm fe0ea5c436 [XXX_F0XX] enhance RTC api
add define to select LSI or LSE
modify rtc api accordingly
2016-04-01 10:50:46 +02:00
dbestm f6cafe37c8 [XXX_F3XX] enhance rtc api
add define to select LSI or LSE, update rtc api accordingly
2016-03-31 17:34:42 +02:00
dbestm 8a1a67d189 [xxx_F746XG] enhance RTC api
to support LSI and LSE with a define in device.h
2016-03-31 10:44:01 +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
Martin Kojtal 232c046801 Merge pull request #1635 from ducky64/nucleo_rpc
Add Nucleo F303K8 pin parsing for RPC
2016-03-29 10:23:49 +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
Martin Kojtal 4e40445b73 Merge pull request #1629 from bcostm/dev_L0_rtc
[STM32L0] RTC update
2016-03-25 15:39:04 +01: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 c8a58335b5 Merge pull request #1623 from 0xc0170/fix_uvision_asm
uvision exporter - fix - asm does not like string defined macros
2016-03-24 07:40:35 +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
0xc0170 19f43a5268 uvision exporter - fix - asm does not like string defined macros 2016-03-21 08:56:51 +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
Martin Kojtal 3d5d6c2232 Merge pull request #1616 from bcostm/fix_nucleo-l073rz_i2c_pins
[NUCLEO_L073RZ] Remove I2C PA11 and PA12 pins
2016-03-17 10:32:02 +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