vimalrajr
17333d6c85
Refining implementation of SPI APIs
2015-07-15 12:22:36 +05:30
akhilpanayam
1c3039fc24
* Removed DAC file for SAMR21. Controller not having peripheral.
2015-07-15 12:22:35 +05:30
akhilpanayam
5832b756c1
* updated ld file for SAMD21.
...
* Port file base commit.
2015-07-15 12:22:35 +05:30
akhilpanayam
28484f7942
* Base commit for DAC.
2015-07-15 12:22:34 +05:30
akhilpanayam
db7a269a89
* ADC implemented and tested.
2015-07-15 12:22:34 +05:30
akhilpanayam
1dae16c898
* made gpio interrupt enable pin to be in pull in init.
2015-07-15 12:22:33 +05:30
vimalrajr
a430030639
Recent added files made compliant with KR coding style.
2015-07-15 12:22:32 +05:30
vimalrajr
dc33d3ecaf
Adding implementation for Sleep APIs. Not completely tested.
2015-07-15 12:22:32 +05:30
vimalrajr
fb40f8ae97
Adding implementation of RTC APIs
2015-07-15 12:22:31 +05:30
akhilpanayam
2412fd2667
* updated with GPIO IRQ code. Tested and working.
2015-07-15 12:22:31 +05:30
akhilpanayam
6a23ca1da4
* GPIO irq files updated.
...
* updated with modification for KnR Standard.
2015-07-15 12:22:30 +05:30
akhilpanayam
503c970d98
* initial commit for gpio irq,
2015-07-15 12:22:30 +05:30
vimalrajr
b1f456ee98
Adding pinmap functions and common mux pading logic for SERCOM
2015-07-15 12:22:29 +05:30
akhilpanayam
06b1fdfb2b
* added base code for ADC. Not tested.
2015-07-15 12:22:29 +05:30
akhilpanayam
8658c77d26
* updated for making LED2, LED3, LED4 as PA19. Only one LED available in board.
2015-07-15 12:22:28 +05:30
akhilpanayam
8bd46960f3
* removed support for SAMD21J18A at this point. To be added later.
...
* removed unwanted headers in serial apis.
2015-07-15 12:22:28 +05:30
Martin Kojtal
a4c1bdc788
Merge pull request #1238 from Armstart-com/master
...
add IBDAP-LPC11U35 platform
2015-07-14 09:38:50 +01:00
hjjeon0608
d5c1af8119
Merge remote-tracking branch 'remotes/origin/mbed_dev5'
2015-07-14 09:02:40 +09:00
hjjeon0608
28c307665f
Deleted uncommented code.
...
Deleted checking interrupt status code.
2015-07-14 08:27:31 +09:00
neilt6
8d81cb49e1
[mbed] Modified MBED_ASSERT to use error()
...
Modified mbed_assert_internal() to call error() with the assertation
message instead of fprintf() followed by mbed_die(). This allows
assertation failures to be caught by custom error() functions that
replace the default weak definition.
2015-07-13 10:20:11 -06:00
tomoyuki yamanaka
9874e95e49
Fix bug of CONST declaration in PWM driver.
...
In PWM, modify CONST declaration of the table is not enough.
2015-07-13 18:04:13 +09:00
Martin Kojtal
3a12b5f998
Merge pull request #1239 from Wiznet/mbed_dev5
...
I2C PeripheralPins bug fix.
2015-07-13 09:42:37 +01:00
Martin Kojtal
f9697047f0
Merge pull request #1234 from jpbrucker/master
...
Nordic: add const qualifier to acceptedSpeeds in serial API
2015-07-13 09:41:15 +01:00
Martin Kojtal
a833d5cd17
Merge pull request #1230 from Wiznet/mbed_dev3
...
Change PinName
2015-07-13 09:39:54 +01:00
hjjeon0608
8cbddc520f
I2C PeripheralPins bug fix.
...
I found wrong pin mux about I2C.
2015-07-13 16:55:00 +09:00
Martin Kojtal
e811e6168d
Merge pull request #1236 from HAPI-Tech-Solution/fix-11U68
...
11U68 - Fixed P0_11 for GPIO
2015-07-13 08:52:55 +01:00
Yunfeng Liu
3a5b79bac7
add IBDAP-LPC11U35 platform
2015-07-11 18:53:01 -04:00
en129
d8f1daf525
Add P0_11 for GPIO
...
change P0_11 to use GPIO from TDI
2015-07-11 01:16:19 +09:00
Neil Thiessen
6a5f4abd25
[RTOS] Fixed INITIAL_SP for LPC11U68
...
According to the LPC11U68 datasheet, the top of SRAM0 occurs at 0x10008000, not 0x10004000.
2015-07-10 09:01:18 -06:00
Jean-Philippe Brucker
a4d48801ba
Nordic: add const qualifier to acceptedSpeeds in serial API
...
This is a small optimisation for ARM compiler toolchains: constant
arrays should be declared const explicitly, to let the compiler put them
into .rodata instead of .data. GCC automatically detects that the array
is read-only, and already puts it into flash.
This way, we free 136 bytes of RAM, which is nothing to sneeze at, given
that applications only get about 2048 bytes by default, on 16k targets.
Please note that you will need to disable data compression in armlink to
see the real difference, with the "--datacompressor off" switch, for
example.
2015-07-10 14:45:42 +01:00
Martin Kojtal
6cb7294c83
Merge pull request #1226 from star297/master
...
[KL25Z] add 32KHz crystal clock setup 3 + minor RTC api changes
2015-07-10 14:13:01 +01:00
tomoyuki yamanaka
59e6fbad5e
Modify PWM driver for period improvement
...
In PWM, modify the range that can be taken of the period.
2015-07-10 13:32:35 +09:00
hjjeon0608
daf4eeff2c
Change PinName
...
Some pin name were deleted and some pin name were added.
2015-07-09 10:53:06 +09:00
hjjeon0608
cf868024b2
Change ticker used by two PWM timer to used by one PWM timer and one dualtimer.
...
So I added dualtimer driver and header and I bug fix define in W7500x.h.
2015-07-09 09:23:43 +09:00
Paul Staron
5a4ba0e0a0
Tidy code formatting
2015-07-08 15:22:46 +01:00
Martin Kojtal
13790ec5ce
Merge pull request #1221 from mazgch/master
...
update target C029 (pin, clock)
2015-07-08 14:45:27 +01:00
Martin Kojtal
7a2b57896e
Merge pull request #1218 from Wiznet/master
...
Add rtc_api.c
2015-07-08 14:42:59 +01:00
Martin Kojtal
161ee189d8
Merge pull request #1206 from Josephc3/master
...
Add KL26 Target
2015-07-08 14:37:11 +01:00
Martin Kojtal
a15892332f
Merge pull request #1216 from mbedmicro/chris-styles-patch-1
...
Update mbed_overrides.c
2015-07-08 07:38:22 +01:00
Paul Staron
e1cd282232
[KL25Z] add 32KHz crystal clock setup 3 + RTC
2015-07-07 20:24:06 +01:00
chris-styles
8b4872f08d
Rename crc16.c to crc.c
2015-07-07 15:23:24 +01:00
chris-styles
671f4723ab
Create crc.h
2015-07-07 15:22:33 +01:00
chris-styles
44992153d9
Create crc16.c
2015-07-07 15:22:03 +01:00
chris-styles
ee35963b3d
Update mbed_overrides.c
...
Added calls to "crc16" routine, as well as the required #include and #define
2015-07-07 15:20:59 +01:00
hjjeon0608
cb9d835b51
Correct spaces/tabs and indentation
2015-07-07 10:45:37 +09:00
hjjeon0608
482320fe01
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-07-07 10:32:47 +09:00
hjjeon0608
85efeff0cf
Add NVIC_SetVector function
2015-07-07 10:31:46 +09:00
mazgch
bd95d7189e
update target C029 (pin, clock)
2015-07-06 14:59:22 +02:00
0xc0170
c052d893de
Merge branch 'master' of https://github.com/dbestm/mbed into dbestm-master
...
Conflicts:
libraries/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
2015-07-06 09:05:31 +01:00
Martin Kojtal
45004fb61e
Merge pull request #1209 from bcostm/master
...
DISCO_F746NG - Fix several issues
2015-07-06 08:48:42 +01:00
Martin Kojtal
ae2d3cdffe
Merge pull request #1213 from autopulated/yotta-build
...
Make it possible to build the core mbed library with yotta
2015-07-02 16:15:26 +01:00
PeterConheeney
ed4462705e
fixes to review comments
2015-07-02 14:30:55 +01:00
PeterConheeney
f55bafa3b5
commit of mps2 code for pull request to main mbed repo
2015-07-01 16:18:41 +01:00
Martin Kojtal
d5b4d2ab9c
Merge pull request #1214 from kpurusho/master
...
Initial version of drivers for SAMR21
2015-07-01 09:42:03 +01:00
Martin Kojtal
2f385f32b2
Merge pull request #1210 from MultiTechSystems/dragonfly-update
...
MTS_DRAGONFLY_F411RE - add additional pin names for SPI and I2C…
2015-07-01 08:44:13 +01:00
Martin Kojtal
7766e75dd8
Merge pull request #1205 from sg-/gcc_asm_updates
...
GCC asm updates
2015-07-01 08:08:10 +01:00
hjjeon0608
995cfb479d
Add rtc_api.c
...
rtc is implemented by timer in PWM.
2015-07-01 08:41:10 +09:00
Martin Kojtal
1c13bc80fe
Merge pull request #1189 from Wiznet/master
...
Wiznet - Update and bug fix.
2015-06-30 09:35:17 +01:00
chris-styles
41ff2c8773
Update mbed_overrides.c
2015-06-30 08:46:17 +01:00
chris-styles
c60b81202c
Update mbed_overrides.c
2015-06-30 06:50:38 +01:00
chris-styles
d937b67ee7
Update mbed_overrides.c
2015-06-30 03:18:36 +01:00
akhilpanayam
e22f425486
* updated with code optimizations in serial apis.
2015-06-29 17:14:17 +05:30
bcostm
ca79455787
[DISCO_F746NG] Fix error in PinNames.h
2015-06-29 12:42:09 +02:00
akhilpanayam
4dd6e5304d
* updated serial apis for character match in asynch.
2015-06-29 15:48:39 +05:30
James Crosby
9e87f22dfe
ensure startup code is included when building for armcc
2015-06-26 18:42:12 +01:00
James Crosby
ca3e131526
only set -std=gnu99 if we're compiling with a GNU compiler
2015-06-26 16:27:23 +01:00
akhilpanayam
ce1b82ea2c
* updated serial and peripheral files for hardware flow control
2015-06-26 19:19:46 +05:30
vimalrajr
dd3606ca3c
Enabling async APIs for SPI, with only interrupt method implemented for now.
2015-06-26 15:48:57 +05:30
akhilpanayam
3a8ad042e9
* updated the files for KR coding style.
...
* removed comments in serial_api.c
* added cts low interrupt service in synch routine
2015-06-26 13:48:30 +05:30
Karthik Purushothaman
dbd4502f7b
Merge remote-tracking branch 'origin/atmel'
2015-06-26 12:21:17 +05:30
akhilpanayamparambil
f55e6bd54a
* updated functions for hardware flow control apis - not tested.
...
* updated sercom pin muxing to incorporate hardware flow control.
2015-06-26 12:00:17 +05:30
akhilpanayamparambil
a582b9f6a6
* updated with ASYNCH api support for Serial.
2015-06-26 11:59:58 +05:30
vimalrajr
6fd1a45011
Modifications and bug fixes in SPI APIs' implementations.
2015-06-26 11:59:42 +05:30
vimalrajr
5d1b574d8b
Adding untested DMA APIs and supporting functions
2015-06-26 11:59:30 +05:30
akhilpanayamparambil
afcfdfc8cf
* updated serial_api.c and objects.h with optimisations.
2015-06-26 11:59:10 +05:30
akhilpanayamparambil
705dc7afc7
* correction in serial_api.c in getting index for interrupt.
...
* updated gpio_api.c for pin toggle(LED1=!LED1) working in code.
2015-06-26 11:58:47 +05:30
akhilpanayamparambil
c59613727e
* updated with changes for serial with interrupt. Working for example 51 in mbed projects.
2015-06-26 11:58:33 +05:30
akhilpanayamparambil
a7b60a4398
* removed asynch pi functions in serial_apic.c to remove build errors. To be implemented afterwards.
2015-06-26 11:58:15 +05:30
kpurusho
58c6e41f86
Set PA19 as LED1
2015-06-26 11:56:44 +05:30
vimalrajr
26fbbaa609
Refining IRQ implementation for SPI
2015-06-26 11:56:10 +05:30
akhilpanayamparambil
cbe768093d
* correction in serial_api.c
2015-06-26 11:55:54 +05:30
vimalrajr
45be774f16
Adding untested implementation of irq handler for SPI Async mode
2015-06-26 11:55:45 +05:30
akhilpanayamparambil
8223cba552
* updated with changes in ld file and corresponding change in cmsis_nvic.c
2015-06-26 11:55:34 +05:30
vimalrajr
4380fe8d35
Code made compliant with KR Coding style.
2015-06-26 11:55:23 +05:30
akhilpanayamparambil
a7b2cee60d
* Pin mux logic added for sercom
...
* added support for 6 uarts in code.
* updated gpio for output setting
* updated device.h for adding async apis for serial
2015-06-26 11:55:13 +05:30
vimalrajr
98d628b67f
Refining implementation of ticker APIs
2015-06-26 11:55:06 +05:30
vimalrajr
8a68139cf0
Refining SPI APIs implementation
2015-06-26 11:54:50 +05:30
vimalrajr
732e125c31
Refining implementation of us_ticker APIs.
2015-06-26 11:54:39 +05:30
vimalrajr
e02516d046
Adding config file from ASF for DMA
2015-06-26 11:54:22 +05:30
vimalrajr
e461e07f28
Adding files from ASF for DMA support.
2015-06-26 11:54:03 +05:30
akhilpanayamparambil
cfffe1371d
* logic added in mbed_overrides.c - for making system initialization (system_init) before usart init. Had issues for clock and buses not getting initialed before serial init. Resolved with the logic.
...
* Macro for callback added in usart.h (ASF).
* GPIO mode setting implemented in gpio_api.c
* updated files gpio_object.h ,serial_api.h(tested and working for UART synchronous APIs)
* Reverted settings.py
* Removed unused files in usart (ASF).
2015-06-26 11:53:54 +05:30
vimalrajr
d6109db325
Adding SPI and I2C instances support to SAM21
2015-06-26 11:53:42 +05:30
vimalrajr
fa85c6f74d
Adding untested code for SPI support in SAM21
2015-06-26 11:53:19 +05:30
akhilpanayamparambil
cbcf0a8ed7
* corrected the NVIC_NUM_VECTORS value in cmsis_nvic.h from 29 to 28.
...
* corrected ld script for stack and heap initializations.
* enabled main() and infinite while loop after that in startup_samd21.c
* added UART_0 in PerpheralNames.h
* updated PeripheralPins.h, objects.h, device.h, PinNames.h for including UART
* added PeripheralPins.c
* Base Commit for Serial/UART in SAMR21 (added ASFcode from Atmel Studio and serial_api.c) - Not Working (To be updated with the new code)
2015-06-26 11:53:00 +05:30
vimalrajr
5f120e40de
Adding implementation for us_ticker APIs. Not complete, yet to be tested.
2015-06-26 11:52:42 +05:30
bcostm
763c9a1292
[DISCO_F746NG] Typo corrections
2015-06-25 16:00:00 +02:00
bcostm
5f282b2053
[DISCO_F746NG] Fix different issues with SPI, I2C, Clock
2015-06-25 15:59:31 +02:00
hjjeon0608
f31c0915e0
Bug fix about I2C pinmap
...
If output, this means to set gpio.
So, I change output to AF.
2015-06-25 16:00:24 +09:00
bcostm
37d4f14aac
[DISCO_F746NG] AnalogIn and PwmOut corrections
2015-06-24 15:48:24 +02:00
Mike Fiore
4b82163782
[mbed][MTS_DRAGONFLY_F411RE] add additional pin names for SPI and I2C, update Arduino pin names to match UDK2.0
2015-06-24 08:29:32 -05:00