Commit Graph

5761 Commits (9d06547135c6549b2f28aa4c0b8cc9578afe0d06)

Author SHA1 Message Date
mtkrtk c5422eed25 Change CThunk method for Cortex-A
thumb2 code executes invalid ram space, and it causes crash
Add instruction cache clean codes
2016-04-25 17:30:04 +09:00
0xc0170 864b349430 uvision - get_toolchain method regression fix
uvision uses default_toolchain, thus exporter needs to provide a method to
distinguish between ARM and uARM. Fixes #1686
2016-04-25 08:54:43 +01:00
Martin Kojtal ec07dbde3b Merge pull request #1679 from janjongboom/microbit_gcc
Add GCC exporter for micro:bit
2016-04-22 16:38:20 +01:00
Martin Kojtal cf218979c5 Merge pull request #1676 from 0xc0170/dev_uvision5
Exporters - uvision5 addition
2016-04-22 16:28:40 +01:00
Jan Jongboom ffb1cc9ac4 Add GCC exporter for micro:bit 2016-04-22 10:12:39 +02:00
svastm ac10c80919 [NUCLEO_L031K6] Hard tabs removal 2016-04-22 09:12:53 +02:00
Toyomasa Watarai 416cb0b6f5 Fix capital letter filename 2016-04-22 13:25:44 +09:00
svastm 290f9fe795 [NUCLEO_L031K6] Correct hard tabs 2016-04-21 17:42:19 +02:00
svastm c0e03817aa [NUCLEO_L031K6] Update some tests 2016-04-21 16:27:19 +02:00
svastm 8503cec203 [NUCLEO_L031K6] Add RTOS support 2016-04-21 16:26:43 +02:00
svastm 42a1d862e2 [NUCLEO_L031K6] Add to build and export scripts 2016-04-21 16:25:58 +02:00
svastm 39486f74a0 [NUCLEO_L031K6] Update HAL API 2016-04-21 16:24:19 +02:00
svastm a58c1959c4 [NUCLEO_L031K6] Add HAL target 2016-04-21 16:23:19 +02:00
svastm 28e7579b05 [NUCLEO_L031K6] Add CMSIS target 2016-04-21 16:22:43 +02:00
mtkrtk 6d3e9e32bf Clear cache cleaning code 2016-04-21 17:34:46 +09:00
mtkrtk bd5d415514 Fix interrupt timings 2016-04-21 17:33:56 +09:00
mtkrtk c724a1fea4 Ensure api is active after pushing 2016-04-21 17:27:30 +09:00
mtkrtk 6e101e0301 Fix cache cleaning method 2016-04-21 17:22:40 +09:00
Martin Kojtal bad536c44b Merge pull request #1678 from bcostm/patch-1
[DISCO_F429ZI] Add target name for progen
2016-04-20 10:56:32 +01:00
bcostm b2412af383 [DISCO_F429ZI] Add target name for progen 2016-04-20 11:50:51 +02:00
0xc0170 7b8165ddb3 Exporters - uvision5 addition
uvision5 uses software packs for devices, plus different extension. We
should use uvision as uvision4. This is based on progen, same as uvision4.
2016-04-20 08:40:21 +01:00
Martin Kojtal 896981126b Merge pull request #1659 from phyokyaw/master
Exporter tool addition for e2 studio
2016-04-19 11:05:28 +01:00
Martin Kojtal b5e7f79753 Merge pull request #1669 from svastm/master
[STM32L0] Update STM32Cube_L0 from v1.2 to v1.5
2016-04-19 11:00:22 +01:00
Mridupawan Das 92a345200d adding hwflwctl support for NUCLEO_L476RG (#1658) 2016-04-17 17:37:14 +01:00
Colin Hogben a11f73cb26 Fix incorrect pin in PinMap_UART_RX - issue mbedmicro/mbed#1657 (#1675)
PTC6 was wrong, should be PTD6
2016-04-17 17:35:16 +01:00
Mihail Stoyanov 60b322a521 Fixed broken zip exporter due to unintialized vars and python traceback (#1674) 2016-04-15 17:09:13 +01:00
svastm 2bc21a7641 Code misalignment correction 2016-04-15 14:37:08 +02:00
bcostm 9b277ae859 [STM32L4] Change LSI_VALUE to 32 kHz (#1662)
* Add DEVICE_RTC_LSI=0

* Change LSI value to 32 kHz

This is the value written in the device datasheet.

* Replace tabulations with spaces
2016-04-15 10:48:47 +01:00
Steven Cooreman ffcdd68d7d Add EFM32 Pearl Gecko to the library builds in anticipation of release. (#1668) 2016-04-14 15:49:14 +01: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
Phyo Kyaw 8aba7b302a Exporter tool addition - e2 studio 2016-04-12 09:52:14 +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
mtkrtk 4f25c166ac Revert "Revert "Add support for Renesas RZ/A1H""
This reverts commit 21bd16debe.
2016-04-08 17:44:29 +09:00
mtkrtk 21bd16debe Revert "Add support for Renesas RZ/A1H"
This reverts commit 621f1f1aa6.
2016-04-08 17:44:10 +09:00
Martin Kojtal f04e3dc8a4 pyYAML is req for exporters (#1652) 2016-04-07 19:11:01 +01:00
mtkrtk 55110c2d84 All async tests passed 2016-04-07 17:34:53 +09: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