Commit Graph

4296 Commits (c59613727e4fd4dfc0ea8135718cb23110555eb2)

Author SHA1 Message Date
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
akhilpanayamparambil 1fbe9894cd * Updated folder structure. Common files extracted.
* Removed implementations in mbed_overrides.c. This has to be done later.
* Added code for gpio_api.c
2015-06-24 11:10:18 +05:30
akhilpanayamparambil 52fda8b159 * Removed syscall.c since this is not required. Implementation done in mbed retarget.cpp file.
* Removed rtc_count.h and rtc_count.c since we are porting rtc calendar driver from asf. Keep both drivers for the same peripheral make error in compilation after exporting.
2015-06-24 11:10:18 +05:30
akhilpanayamparambil ce20024b88 ** Initial Commit for Atmel SAMD21J18A and SAMR21G18A.
*HAL and CMSIS folder for the Target.
*Updated target.py, gccarm.py for including these targets and settings.py for compiler path.
2015-06-24 11:10:17 +05:30
Bogdan Marinescu 299aff13f2 Fixes to build_release.py
- there's no target called APPNEARME_MICRONFCBOARD
- LPC11U37H_401 doesn't support IAR in targets.py
- DISCO_F736NG doesn't support GCC_ARM in targets.py
- LPC2460 syntax error
2015-06-23 15:12:42 +03:00
Martin Kojtal bb7d4bd4db Merge pull request #1193 from masaohamanaka/master
RZ_A1H - Add CAN driver.
2015-06-19 09:22:01 +01:00
Martin Kojtal d47834cd4d Merge pull request #1194 from bcostm/master
DISCO_F746NG - Add new target
2015-06-19 09:15:00 +01:00
Martin Kojtal 9fa7c61fa6 Merge pull request #1195 from sarahmarshy/patch-3
RPC - Add support for dynamic creation of RPC objects
2015-06-19 08:50:42 +01:00
Martin Kojtal 7358456bef Merge pull request #1196 from jeremybrodt/trimosc
MAXWSNENV,MAX32600MBED - Added ring oscillator trimming procedure.
2015-06-19 08:50:04 +01:00
Jeremy Brodt d39fd90085 [MAXWSNENV,MAX32600MBED] Added ring oscillator trimming procedure. 2015-06-18 10:42:28 -05:00
sarahmarshy 04aca2e39c Added support for dynamic creation of RPC objects 2015-06-18 10:38:58 -05:00
bcostm 02095056bb [DISCO_F746NG] Add new target (py files + uvision exporter template) 2015-06-18 11:16:09 +02:00
bcostm 03095af4a5 [DISCO_F746NG] Add new target (HAL part) 2015-06-18 11:15:03 +02:00
bcostm 31a8794932 [DISCO_F746NG] Add new target (CMSIS part) 2015-06-18 11:05:58 +02:00
Martin Kojtal 954ce62223 Merge pull request #1159 from chrta/refactor_gcc_arm_exporter_templates
Refactor gcc arm exporter templates
2015-06-18 07:24:59 +01:00
Martin Kojtal 8407da3ff9 Merge pull request #1192 from sarahmarshy/patch-2
Changed where reply is populated
2015-06-18 07:22:15 +01:00
tomoyuki yamanaka f4aea8bb49 Add CAN driver.
Add CAN driver.
2015-06-18 14:41:39 +09:00
sarahmarshy e99d5bf764 Changed where reply is populated 2015-06-17 16:55:01 -05:00
Christian Taedcke ddf0ced672 [GCC_ARM][EXPORTER] A few more targets use the template. 2015-06-17 21:10:59 +02:00
Christian Taedcke 9530bb14b9 [GCC_ARM][EXPORTER] Add phony target and size depends on elf. 2015-06-17 21:10:59 +02:00
Christian Taedcke 9727f1d7e2 Add a few stm and freescale targets to exporter test. 2015-06-17 21:10:59 +02:00
Christian Taedcke 844fdf5c88 [GCC_ARM][EXPORTER] Use template on more platforms. 2015-06-17 21:10:48 +02:00
Christian Taedcke 4d2c443b1d [GCC_ARM][EXPORTER] ARCH_MAX and ARCH_PRO use the template. 2015-06-17 21:05:23 +02:00
Christian Taedcke d00777d542 Add ARCH_MAX and ARCH_PRO to exporter test. 2015-06-17 21:05:23 +02:00
Christian Taedcke 70a6d59ea8 [GCC_ARM][EXPORTER] Remove a few empty lines from the generated Makefile 2015-06-17 21:05:23 +02:00
Christian Taedcke da22953a7f [GCC_ARM][EXPORTER] Use template for ARCH_BLE. 2015-06-17 21:05:23 +02:00
Christian Taedcke 8fee8f7bbb Add ARCH_BLE to gcc arm exporter test. 2015-06-17 21:05:22 +02:00
Christian Taedcke 82eee58eb8 [GCC_ARM][EXPORTER] Set different LDFLAGS for all cortex m0(+). 2015-06-17 21:05:22 +02:00
Christian Taedcke 4cdfbc7065 [GCC_ARM][EXPORTER] Use the cpu flags from the toolchain. 2015-06-17 21:05:22 +02:00
Christian Taedcke e96a25a755 Use gcc common template for lpc1549. 2015-06-17 21:05:22 +02:00
Christian Taedcke 432264759a Define blocks for some common makefile variables. 2015-06-17 21:05:22 +02:00
Christian Taedcke 143c3e6d28 Use CPU in LDFLAGS, too 2015-06-17 21:03:19 +02:00