Commit Graph

4725 Commits (096733c78510d85a6bb460cce2086f2e5f5d67cc)

Author SHA1 Message Date
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 2110178848 * added new labels for SAMR21G18A in target.py 2015-08-14 17:36:11 +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
Martin Kojtal 77a08517db Merge pull request #1294 from stevew817/clocking-define-fix
[Silicon Labs] Fix incorrect clock selection
2015-08-14 08:32:33 +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
modtronix-com ccecacc129 Moved "stm32l1xx_hal_conf.h" to project folder.
Moved "stm32l1xx_hal_conf.h" to target folder. This file is part of
STM32CubeL1, and this is the way it is done for the 95 examples supplied
with STM32CubeL1. This file should be part of project(target) folder,
not API. On mbed, this has been done for TARGET_STM32F4 and
TARGET_STM32F7 targets (in ../targets/cmsis/TARGET_STM folder). All
targets in these two folders already have the "stm32l1xx_hal_conf.h"
file in the target folder.
2015-08-14 10:53:11 +10:00
Steven Cooreman 62d9adfb42 In certain cases, the clock setting did not select HFXO, even though HFXO was requested in the board header.
Root cause: you cannot use a C-enum name in a #if compare, becaudse the preprocessor will replace all enum names with 0 (so all checks on HFXO/LFXO checked out regardless of the define).
2015-08-13 17:35:40 +02:00
Martin Kojtal 376d6a73e3 Merge pull request #1287 from stevew817/usb-device-rel3
Silicon Labs - Add support for USBDevice
2015-08-13 15:39:43 +01:00
Martin Kojtal d73b377fb2 Merge pull request #1252 from chrta/refactor_lpcxpresso_exporter
Exporter - Derive codered/lpcxpresso exporter templates from a common template
2015-08-13 13:20:43 +01:00
Martin Kojtal bd9a168505 Merge pull request #1273 from marcusbirkin/master
KL46Z - Ensure the NVIC table gets copied to RAM even when it is not at 0x0000
2015-08-13 11:43:33 +01:00
Martin Kojtal 163a66abdd Merge pull request #1268 from martin2100/patch-1
STMF4 - pwmout_api.c freq fix
2015-08-13 11:21:23 +01:00
Martin Kojtal bc07f838f8 Merge pull request #1286 from devanlai/master
LPC15XX - Fix GPIO port word pin registers offset
2015-08-13 11:19:31 +01:00
Martin Kojtal 59ff23cdaf Merge pull request #1290 from BlackstoneEngineering/BLoDFix_SiLabs
Blue Lights of Death fix for Silicon Labs boards
2015-08-13 10:56:41 +01:00
Martin Kojtal 52618298c3 Merge pull request #1285 from masaohamanaka/master
RZ_A1H - Add RZ_A1H in RPC. Modify communication problem of Ethernet.
2015-08-13 10:33:27 +01:00
Martin Kojtal 7cbf9896cc Merge pull request #1280 from sarahmarshy/master
Added requirements.txt file
2015-08-13 10:27:15 +01:00
Martin Kojtal 88ef2fe48f Merge pull request #1283 from kgills/pwm_fix
[MAXWSNENV, MAX32600MBED] Simplifying pwm search. Reordering PinMap_PWM.
2015-08-13 10:27:02 +01:00
Martin Kojtal cc42528dbc Merge pull request #1281 from jpbrucker/fix_us_ticker
Nordic: handle unwanted RTC interrupts
2015-08-13 10:21:57 +01:00
Martin Kojtal 99877b836d Merge pull request #1276 from jpbrucker/nrf51_clock_fallback
Nordic: fallback to the internal LF clock in case Xtal doesn't start
2015-08-13 10:17:26 +01:00
Martin Kojtal ab6a668ec1 Merge pull request #1227 from neilt6/master
FATFileSystem - Updated FatFs to R0.11
2015-08-13 10:09:43 +01:00
Martin Kojtal e91a34240e Merge pull request #1292 from PrzemekWirkus/bugfix_missing_verbose_flag2
Tools: Added verbose mode to mbed library build when using singletest.py
2015-08-13 10:06:22 +01:00
Martin Kojtal d5794135d2 Merge pull request #1293 from jrjang/master
Fix compilation warning
2015-08-13 08:46:01 +01:00
Jun-Ru Chang 680a647d0d Fix compilation warning
The warning message is shown as below.

Compile: Thread.cpp
[Warning] Thread.cpp@45: In constructor 'rtos::Thread::Thread(void (*)(const void*), void*, osPriority, uint32_t, unsigned char*)':
  comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Jun-Ru Chang <jrjang@gmail.com>
2015-08-13 00:07:29 +08:00