Commit Graph

3217 Commits (7ca0d74564883a913b45b33bb79aa2f3961b1a3c)

Author SHA1 Message Date
Srod Karim d5d3ba3a99 removed all usage of SIGF 2015-09-16 17:17:27 +02:00
Srod Karim 7d475adbb6 defaulting to EM4 instead of EM3 2015-09-16 17:17:25 +02:00
Srod Karim 096733c785 add missing #endif in clocking.h 2015-09-16 17:17:22 +02:00
Srod Karim 1d7d92ed39 move away from using enum values during preprocessing 2015-09-16 17:17:17 +02:00
Srod Karim 529a248c27 move away from using defines over cmuSelect_X 2015-09-16 17:16:17 +02:00
Srod Karim 1adaeb4a44 increased bandrate range 2015-09-16 17:15:56 +02:00
Srod Karim 54e2dd02fe if no sleep modes are blocked, enter EM3 2015-09-16 17:15:54 +02:00
Srod Karim f9c1ca8e29 compatability for devices without LFXO or where LFXO is not the low energy clock source 2015-09-16 17:15:51 +02:00
Srod Karim c328fb068e DMA fix 2015-09-16 17:15:49 +02:00
Srod Karim f1e1977506 LEUART EM2 release 2015-09-16 17:15:46 +02:00
Srod Karim b832689ae0 various fixes - candidate release 2015-09-16 17:15:40 +02:00
Srod Karim 7746a4be75 set clocktrees, and enable DMA in EM2 2015-09-16 17:15:01 +02:00
Srod Karim 5a9464b26a branched block/unblock 2015-09-16 17:14:58 +02:00
Martin Kojtal 45d00c36b3 Merge pull request #1322 from dbestm/fix_rtos_support
[NUCLEO_L476RG] add hal and target files
2015-09-16 11:06:15 +01:00
Peter Conheeney 24ebe1790e changes for adding IoT Subsystem for Cortex-M target 2015-09-14 12:23:32 +01:00
adustm fbdf211df1 DISCO_F051R8: update device header file with the last STM32CubeF0 hal version 2015-09-11 17:10:43 +02:00
adustm 95bf707325 NUCLEO_F031K6 : update python and test files 2015-09-11 15:11:35 +02:00
adustm d571b16e90 STM32F0 : Update targets after STM32F0 Cube HAL driver update 2015-09-11 15:07:42 +02:00
adustm f7caf72009 STM32F0 : update hal api files 2015-09-11 15:06:04 +02:00
adustm ae0891878a NUCLEO_F031K6 : add new target 2015-09-11 15:02:05 +02:00
adustm d9384660dc STM32F0 - Update Cube F0 HAL driver 2015-09-11 15:00:50 +02:00
James Crosby 985d87ba7e ignore target files not supported by the yotta module, to minimise published module size 2015-09-09 09:30:31 +01:00
hjjeon0608 481a9d97cc Merge branch 'master' of https://github.com/mbedmicro/mbed into mbed_dev2 2015-09-09 14:20:13 +09:00
hjjeon0608 5498c96161 Add files of WIZWIKI_W7500P platform in cmsis and hal folder. 2015-09-09 14:18:41 +09:00
tomoyuki yamanaka 5d7099994a Modify to support NEON for RTOS. (mbed common codes)
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:39:35 +09:00
tomoyuki yamanaka 7ea62c20b3 Modify to support NEON for RTOS. (mbed CMSIS HAL)
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:39:07 +09:00
tomoyuki yamanaka 39d801e5c6 Modify to support NEON for RTOS. (CMSIS-RTOS common code)
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:38:09 +09:00
tomoyuki yamanaka d8a3c68e2c Modify to support NEON for RTOS. (CMSIS-RTOS RTX for Cortex-A9)
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:37:18 +09:00
hjjeon0608 1c607a6c7a UART 2 is enabled.
Until now, only UART 0, 1 are enabled, but now UART 2 is also enabled.
W7500P should need UART 2 because DAP use UART 2.
2015-09-08 08:44:22 +09:00
dbestm ee21754e9a [NUCLEO_DISCO_L476xG] add RTOS support 2015-09-07 14:39:40 +02:00
dbestm a6f4046e7b [NUCLEO_L476RG] add hal and target files 2015-09-07 14:01:17 +02:00
Wojciech Gorniak 14202fb35a fixed SX1272MB1xAS constructor 2015-09-07 12:36:44 +02:00
Wojciech Gorniak b6169668b7 delete radio before thi=0 - fixes spurious interrupts during RadioContex deleting. 2015-09-07 12:20:36 +02:00
Wojciech Gorniak f22236b460 Defined RF pins.
Conflicts:
	libraries/radio/SX127x/sx1272/sx1272-hal.cpp
	libraries/radio/SX127x/sx1272/sx1272-hal.h
2015-09-07 12:13:34 +02:00
Martin Kojtal 40a175b168 Merge pull request #1321 from adfernandes/master
Fix a signed and unsigned integer comparison warning
2015-09-07 09:56:17 +01:00
Martin Kojtal bed6e15da6 Merge pull request #1320 from Sissors/lookmartinImadeanewbranch
[HAL][K20XX] Fixed (possible) glitches when changing SPI mode on K20 …
2015-09-07 09:55:18 +01:00
Martin Kojtal 748fea3057 Merge pull request #1316 from kpurusho/master
Drivers for SAMD21
2015-09-07 09:46:11 +01:00
Andrew Fernandes b2c122be4c Fix a signed and unsigned integer comparison warning 2015-09-06 17:59:04 -04:00
Sissors 7423bd3d7b [HAL][K20XX] Fixed (possibly) glitches when changing SPI mode on K20 MCUs
Made register access bit nicer (not first clearing bit and then setting
it again if thats not required), and additionally when clock idle level
is changed, it writes out a dummy byte. Problem is only after a write
the idle level is changed, resulting in a clock glitch at the start
2015-09-06 20:34:46 +02:00
akhilpanayam 799d2d61c3 * Updated cmsis files for KnR Coding Standards. 2015-09-04 16:10:35 +05:30
akhilpanayam 0223afcddd * updated year in ARM mbed license. 2015-09-04 15:59:43 +05:30
Martin Kojtal 92d1bfad30 Merge pull request #1318 from Wiznet/mbed_dev1
Change directory structure and move files.
2015-09-04 09:29:53 +01:00
Martin Kojtal a412b49ac5 Merge pull request #1315 from lindvalla/fix_llu35_lpcxpresso_issue
Fixed linker script for LPCXpresso for EA LPC11U35 QuickStart Board
2015-09-04 08:36:19 +01:00
Martin Kojtal 1f6eaa5e1d Merge pull request #1313 from fredlak/master
FRDM KL43Z - Fix RTC init function for KL43Z
2015-09-04 08:33:10 +01:00
Martin Kojtal a19d9e011d Merge pull request #1310 from masaohamanaka/master
Modify the register setting method in the pin setting configuration.
2015-09-04 08:02:30 +01:00
Pawel Rozanski feccab3e21 Full ELMO pin bindings. 2015-09-03 14:54:42 +02:00
Pawel Rozanski 4798979199 Renamed lib to more 'standard' name. 2015-09-03 13:10:07 +02:00
Pawel Rozanski 2d7b9c3e89 On SX1272 reset works other way around than on SX1276. 2015-09-03 13:09:06 +02:00
Wojciech Gorniak 755181bd28 Spurious letter.
Conflicts:
	libraries/tests/radio/SX127xPingPong/main.cpp
2015-09-03 13:06:11 +02:00
Pawel Rozanski 4c95e443c8 Radio print function. 2015-09-03 12:54:36 +02:00
Pawel Rozanski 913b8d8971 MCU's RXTX debug on LED. Board whitout PB_BOOST. 2015-09-03 12:50:19 +02:00
Pawel Rozanski 76716dfdb0 ELMO pins for radio. 2015-09-03 12:46:47 +02:00
Pawel Rozanski d57d85951f Semtech's SX1276 PingPong import. 2015-09-03 12:42:10 +02:00
Pawel Rozanski f06226df4c ELMO's spi 2015-09-03 12:40:46 +02:00
Pawel Rozanski 4e1ca8fcad ELMO STDIO on UART 1. 2015-09-03 12:39:37 +02:00
Pawel Rozanski bb507ec099 ELMO's SPI aliases 2015-09-03 12:38:06 +02:00
Pawel Rozanski cde6461116 ELMO's LED. 2015-09-03 12:21:25 +02:00
Pawel Rozanski e8d8f93350 25Mhz xtal for ELMO. 2015-09-03 12:20:48 +02:00
Wojciech Gorniak b9fd743216 ELMO target (NUCLEO_F411RE copy).
Conflicts:
	workspace_tools/build_release.py
	workspace_tools/export_test.py
	workspace_tools/toolchains/gcc.py
2015-09-03 11:58:01 +02:00
0xc0170 8a32badea1 mbed lib revision - 106 2015-09-02 16:47:10 +01:00
hjjeon0608 cbe00fd832 Remove '#include W7500x_conf.h'
Add assert parameter define.
2015-09-02 17:59:15 +09:00
hjjeon0608 3208676d7a We handle including header by W7500x_conf.h.
But now I deleted the W7500x_conf.h and all peri drivers have own including header.
And some code are optimized and removed warning.
2015-09-02 17:55:26 +09:00
hjjeon0608 01ce5e6580 Move defines of UART from PeripheralNames.h to device.h because to move PeripheralNames.h(not dependent mcu) to upper folder. 2015-09-02 17:34:19 +09:00
hjjeon0608 b329a1e6b5 I found wrong pin name during re-struct the folders.
So I correct this.
2015-09-02 17:32:01 +09:00
hjjeon0608 428eae0cdc objects.h, PeripheralNames.h and PortNames.h are moved from TARGET_WIZwiki_W7500 folder to upper folder. 2015-09-02 17:15:13 +09:00
hjjeon0608 17d6ff861a objects.h, PeripheralNames.h and PortNames.h are moved from TARGET_WIZwiki_W7500 folder to upper folder because they are not dependent to mcu. 2015-09-02 17:14:12 +09:00
hjjeon0608 d6d279edb5 Peripheral drivers are moved from cmsis to hal folder.
And cmsis.h, cmsis_nvic.c, cmsis_nvic.h, system_W7500x.c, system_W7500x.h and W7500x.h are moved to upper folder.
2015-09-02 17:11:59 +09:00
Martin Kojtal 47c81703b3 Merge pull request #1301 from Bernator/master
[LPC11U68] fix Uart1-4 irq handling bugs, add Pins P0_14,P0_13 for use with Uart1
2015-09-02 07:46:28 +01:00
Martin Kojtal 483bb0197f Merge pull request #1299 from claplace/lpc81x
LPC81X: reduce code size and add ARM_GCC support
2015-09-01 15:45:33 +01:00
akhilpanayam 1ac74c33f2 * updated with correction in serial_api,c for finding mux setting. 2015-09-01 19:15:46 +05:30
akhilpanayam 5079132062 * updated with corrections in Analogue in and out APIs. 2015-09-01 19:15:45 +05:30
Karthik Purushothaman 127471ba30 Moved files from TARGET_SAM0 to TARGET_SAM_CortexM0+ 2015-09-01 19:15:44 +05:30
akhilpanayam ddfb57e932 * updated with corrections in default pins. 2015-09-01 19:15:43 +05:30
akhilpanayam 4d5f7a3fa7 * updated port apis.
* added supprot for SAMD21J18A for mbed SDK tests.
2015-09-01 19:15:43 +05:30
akhilpanayam 9a503026cf * updated with corrections in analogueout apis. 2015-09-01 19:15:42 +05:30
akhilpanayam 37ddc4c0c3 * updated port apis for SAMD21J18A
* correction in analogueout api
* test support for analogueout in mbed SDK
2015-09-01 19:15:42 +05:30
akhilpanayam 24edb54690 * updated pins for external interrupt.
* updated default pins.
2015-09-01 19:15:41 +05:30
vimalrajr b6e39b0735 Adding support for SAMD21J18A for mbed SDK tests. 2015-09-01 19:15:41 +05:30
akhilpanayam 013b71a56f * updated systeminit checking for analoguein apis.
* updated with tested code for analogueout apis.
* updated objects for analaguein and analaogueout.
2015-09-01 19:15:40 +05:30
akhilpanayam ecfc96f57c * Base Commit for AnalogueOut. 2015-09-01 19:15:39 +05:30
vimalrajr 67799287aa Adding pins for SAMD21 SERCOM and PWM, and default pinouts of SPI and I2C. 2015-09-01 19:15:39 +05:30
akhilpanayam 6798b87180 Resolved merge conflict 2015-09-01 19:15:38 +05:30
Anders Lindvall 05d41fe7db Fixed linker script for LPCXpresso for EA LPC11U35 QuickStart Board
After version 7.5.0 the compiler used in LPCXpresso changed and as a
result some of the included libraries were changed. This caused a
build error when trying to compile exported mbed projects.

The error was with NewlibNano libraries (*_s.a) and as NewlibNano is
not used by mbed, this patch references the non-NewlibNano libraries
instead.

This change in the linker script has been verified on LPCXpresso versions
from 6.1.2 up to the current 7.9.0.
2015-08-31 13:21:42 +02:00
fedlak 2c2ac0f2a2 [FRDM KL43Z] Fix RTC init function for KL43Z 2015-08-29 01:27:40 +02:00
fedlak 12b0e1dc49 [FRDM KL43Z] Fix RTC init function for KL43Z 2015-08-28 01:17:49 +02:00
tomoyuki yamanaka 5588d3cef3 Modify the register setting method in the pin setting configuration.
Modify the register setting method in the pin setting configuration.
2015-08-26 12:58:32 +09:00
Martin Kojtal 92ca8c7b60 Merge pull request #1302 from jpbrucker/fix_s110_ldscript
Nordic: update application start address in GCC linker script
2015-08-20 10:41:02 +01:00
Martin Kojtal 6f6625090c Merge pull request #1305 from bcostm/dev_NUCLEO_F446RE
NUCLEO_F446RE - Improvements + update of all STM32F4 (PWM12 + map/system files)
2015-08-20 10:40:11 +01:00
Martin Kojtal 63c2b2477a Merge pull request #1297 from kpurusho/master
Remaining drivers for SAMR21
2015-08-20 10:31:19 +01:00
bcostm 844a2bed64 Add PWM_12 2015-08-19 11:01:13 +02:00
bcostm e2b37fc68d Add missing PWM_12 and update map and system files to be in line with latest official version. 2015-08-19 10:48:17 +02:00
Jean-Philippe Brucker dfcb2c680f Nordic: update application start address in GCC linker script
The S110 linker script is still using start address 0x16000, which was
required by version 7.1 of the s110 SoftDevice. Update it to the current
address, required by S110 v8.0.0.
2015-08-18 17:39:55 +01:00
0xc0170 0d637743c7 mbed lib revision - 105 2015-08-18 14:45:36 +01:00
Martin Kojtal 1c2263fbc7 Merge pull request #1288 from BlackstoneEngineering/BLoDFix
ST BLoD Fix
2015-08-18 08:01:01 +01:00
Bernator 8f50e1e9ea [LPC11U68] fix Uart1-4 irq handling bugs and add Pins P0_14,P0_13 for use with Uart1 2015-08-17 19:12:28 +02:00
bcostm ded07a59b5 Update SPI clock for STM32F446RE 2015-08-17 16:41:06 +02:00
bcostm e4fd31fdfb Add this platform in MBED_A8 test 2015-08-17 15:09:46 +02:00
bcostm 239decadcc Add missing PWM_12 definition 2015-08-17 11:51:39 +02:00
bcostm 0746c2f755 [STM32L4] serial improvements 2015-08-17 11:49:04 +02:00
bcostm 3ce7c5c790 [STM32F4] pwmout improvements 2015-08-17 11:48:21 +02:00
bcostm 7b1a2e1077 Add missing startup files for ARM_STD, MICRO_ARM and IAR 2015-08-17 11:43:16 +02:00
bcostm 915ed19fe6 Update other cmsis files
- Interrupt vectors
- Timer clock setting for hal tick
2015-08-17 11:41:36 +02:00
bcostm eb88f87118 Update CMSIS device driver V2.3.2 2015-08-17 11:31:25 +02:00
bcostm f88cad9d9f Update STM32CubeF4 HAL driver to V2.3.2 2015-08-17 11:29:07 +02:00
Cyprien Laplace 65fa7b6923 LPC81X: reduce code size and add ARM_GCC support
LPC810 has only 4KB of flash, thus avoiding dead code is really nice.
Here the NVIC interrupt setup was pulled from the us_ticker code even
if no code is using timer events.

This also adds ARM_GCC support for TARGET_LPC81X.

LPC81X and LPC82X support Cortex M0+ VTOR register, so it is not
necessary to put non-init text at 0x200.
2015-08-16 21:35:08 -04:00
Martin Kojtal 6d84db41c6 Merge pull request #1289 from bcostm/dev_DISCO_F746NG
DISCO_F746NG - Improvements
2015-08-14 13:13:40 +01:00
akhilpanayam c30a8a1df0 * renamed TARGET_SAM0 folder name to TARGET_SAM_CortexM0+ 2015-08-14 17:36:33 +05:30
akhilpanayam 1f9799eb71 * updated analoguin init for checking systeminit in beginning. 2015-08-14 17:36:32 +05:30
vimalrajr 78817e8c44 Removed unwanted comments. 2015-08-14 17:36:31 +05:30
vimalrajr 698484eb47 Bug fix in PWM APIs, not all TCC modules support upto 4 channels. 2015-08-14 17:36:31 +05:30
vimalrajr 59d3dffa0a Modified I2C APIs as per review comments. 2015-08-14 17:36:30 +05:30
vimalrajr c63497a363 Added support for General Call Address mode. 2015-08-14 17:36:29 +05:30
akhilpanayam 079b7cd697 * updated mbed SDK tests for SAMR21G18A 2015-08-14 17:36:29 +05:30
vimalrajr 52d4ac3ce1 Adding device specific support for SAMR21G18A in SDK tests. 2015-08-14 17:36:28 +05:30
vimalrajr bbf884c56e Added missing pins in PWMOut pinmap. 2015-08-14 17:36:28 +05:30
akhilpanayam 6b346253f2 * updated with corrections in serial asynch apis. 2015-08-14 17:36:27 +05:30
vimalrajr 149244d474 Bug fix in PWM APIs 2015-08-14 17:36:27 +05:30
akhilpanayam fa56bfd164 * Base commit after integrating ASF_3.25. 2015-08-14 17:36:26 +05:30
akhilpanayam e7da2dbe2b * updated serial api to support 1 pin (rx / tx) operation. 2015-08-14 17:36:25 +05:30
akhilpanayam 61b7d9755a * removed board.h in common folder - not required.
* common2 folder moved to TARGET_Atmel\TARGET_SAM0\drivers. common2 folder contains m0+ specific files only.
2015-08-14 17:36:24 +05:30
vimalrajr 5109745950 Modifying I2C Async API to handle null tx and rx buffers 2015-08-14 17:36:24 +05:30
akhilpanayam 8227c91f54 * added pins for ADC as per pio_samr21g18a.h 2015-08-14 17:36:23 +05:30
vimalrajr 31fb6731ca Added handling RX only transmission in SPI APIs 2015-08-14 17:36:22 +05:30
vimalrajr 0adc8fdf6c Bug fix in SPI API 2015-08-14 17:36:21 +05:30
akhilpanayam 1da4cbc288 * added cmsis files for pin definitions for all targets of SAMR21 and D21. 2015-08-14 17:36:21 +05:30
vimalrajr 9ccfa07ac6 Removed unwanted header file inclusions 2015-08-14 17:36:20 +05:30
vimalrajr 800bc093e9 Modified pinmap APIs and supporting functions as per review comments. 2015-08-14 17:36:20 +05:30
akhilpanayam 47d62cd8ce * Updated IAR startup file.
* Grouped SAMR21G18A specific files to its particular folder.
* Added files for all variants of SAMR21 and SAMD21.
* Removed Quick Start files from ASF.
* Added Target Dependency in port.c for PORT MASK.
* Grouped PWM pin implementation to SAMR21G18A folder.
2015-08-14 17:36:19 +05:30
akhilpanayam d34e39ff05 * updated with corrections in serial init. 2015-08-14 17:36:18 +05:30
akhilpanayam 9da56e4dfc * updated serial_free api to make the pin Pulled up. 2015-08-14 17:36:18 +05:30
vimalrajr 3e5ac805b2 Modified SPI default baud rate as per review comments 2015-08-14 17:36:17 +05:30
vimalrajr bf05bbcaa6 Modified PWMOut APIs as per review comments 2015-08-14 17:36:17 +05:30
vimalrajr cd6771367d Modified supporting functions for finding SERCOM pinmaps. 2015-08-14 17:36:16 +05:30
akhilpanayam 8188c05c64 * Removed unwanted arrays in Pinmap.
* corrected macros for build to be successful without ASYNCH enabled in serial apis.
* added serial_pinout_tx api in serial.
2015-08-14 17:36:16 +05:30
vimalrajr 987567ee59 Adding PWM API implementation 2015-08-14 17:36:15 +05:30
akhilpanayam 62a6bcaeeb * updated with corrections in AnalogueIn apis. 2015-08-14 17:36:14 +05:30
akhilpanayam c7573e43ce * updated port apis with corrections. 2015-08-14 17:36:14 +05:30
vimalrajr 0ee229aa90 Modified I2C APIs as per review comments. 2015-08-14 17:36:13 +05:30
vimalrajr 5f9ee05e4b Removed ASF license headers from files. 2015-08-14 17:36:13 +05:30
vimalrajr 062ee461da Adding implementation for I2C APIs - master mode, slave mode, and master async interrupt mode. 2015-08-14 17:36:12 +05:30
akhilpanayam 87c8bc8bda * updated with new folder structure.
* added more pins for external interrupt as per pio_samr21g18a.h
* updated serial_api.c for sanity checks, removed unused variables and other corrections.
2015-08-14 17:36:10 +05:30
akhilpanayam a4fc70d463 * updated with NULL check for irq_handler. 2015-08-14 17:36:09 +05:30
akhilpanayam e1c0fea8b7 * updated the default pin macros for R21. 2015-08-14 17:36:09 +05:30
akhilpanayam ef2b6cfd66 * File addition for PWM.
* updated port apis for variable (start) data type change.
2015-08-14 17:36:08 +05:30
akhilpanayam c47f60bb23 * updated with port driver apis. Tested and working. 2015-08-14 17:36:08 +05:30
akhilpanayam 5d0a913591 * Added missed out pins for external Interrupt. irqmask initialized to 0 in init for gpio irq. 2015-08-14 17:36:07 +05:30
Martin Kojtal b28ce2b780 Merge pull request #1277 from modtronix-com/master
Changed NZ32-SC151 external oscillator to 16MHz, and moved defines to device.h
2015-08-14 12:43:02 +01:00
David H 57463eaef0 Merge pull request #5 from mbedmicro/master
Update my fork with original
2015-08-14 13:25:26 +10:00
modtronix-com 160d4bccf7 Cosmetic changes
Cosmetic change to reduce number of diffs showing up in pull request
2015-08-14 12:06:13 +10:00
modtronix-com 16327ce210 Added place for adding mbed and HAL defines
Added place for adding mbed and HAL defines
2015-08-14 11:53:45 +10:00