Commit Graph

2266 Commits (fd26bb7b39ef82548c0f5482ef4c0264d1fc2933)

Author SHA1 Message Date
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
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
James Crosby 3cf18be9ee use mbed-classic as the module name; use YOTTA_GLOBAL_INCLUDE_DIRS 2015-06-23 16:29:04 +01:00
Bogdan Marinescu 61f854b212 Bumped SDK revision number 2015-06-23 15:16:30 +03:00
bcostm a26a3299ea [DISCO_F746NG] Fix issue with Virtual Com Port
- Add also missing two PWM signals
2015-06-23 12:14:47 +02:00
James Crosby 3ba321b259 necessary definitions for backwards-compatibility build system have been added to target descriptions now, remove them from the CMakeLists.txt here 2015-06-22 12:38:09 +01:00
James Crosby 07f200e918 rename module to mbed-classic 2015-06-22 11:41:10 +01:00
Josephc3 720b8f2bc8 Added KL26 Target
Added KL26Z as a target.
2015-06-21 19:03:45 +01:00
sg- 85bf37b778 change all .asm to .S 2015-06-20 13:39:33 -05:00
sg- db20b30be0 change all .s to .asm 2015-06-20 13:38:26 -05:00
James Crosby 79492c0b71 child could in theory have spaces, so quote it 2015-06-19 13:23:44 +01:00
James Crosby 616be98175 make sure assembly files are included 2015-06-19 13:21:42 +01:00
James Crosby 8c8cbb65b0 initial hard-coded cmake build system for mbed.a 2015-06-19 12:20:06 +01:00
Martin Kojtal bb7d4bd4db Merge pull request #1193 from masaohamanaka/master
RZ_A1H - Add CAN driver.
2015-06-19 09:22:01 +01:00
dbestm 29401861d8 [NUCLEO_F0xx] RTOS test enhance files to pass test
main files: stack size modification
F030: us_ticker.c, hal_tich.h, haltick.c, add ticker to reserve systick
for RTOS
F030+GCC: modif startup for RTOS
2015-06-19 10:21:05 +02:00
Martin Kojtal d47834cd4d Merge pull request #1194 from bcostm/master
DISCO_F746NG - Add new target
2015-06-19 09:15:00 +01:00
hjjeon0608 5298ab1d4a Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-06-19 14:38:44 +09:00
Jeremy Brodt d39fd90085 [MAXWSNENV,MAX32600MBED] Added ring oscillator trimming procedure. 2015-06-18 10:42:28 -05: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
tomoyuki yamanaka f4aea8bb49 Add CAN driver.
Add CAN driver.
2015-06-18 14:41:39 +09:00
hjjeon0608 6dfbf69691 Correct the indentation in W7500x_i2c.c only. 2015-06-18 10:55:29 +09:00
Martin Kojtal b583f22771 Merge pull request #1176 from bridadan/freescale-serial-nc-fix
Fix handling of Serial NC pins in K64F,K22F,KL25Z, and KL46Z
2015-06-17 08:50:16 +01:00
Martin Kojtal a57d6f3d1d Merge pull request #1188 from adfernandes/master
Nordic - Fix GCC compilation warnings
2015-06-17 08:05:52 +01:00
hjjeon0608 91cfb6ca9d Update I2C driver. 2015-06-17 12:20:07 +09:00
hjjeon0608 925b884f6c Change wait function. 2015-06-17 11:17:29 +09:00
hjjeon0608 8683f36547 Bug fix about PinMap 2015-06-17 11:16:35 +09:00
hjjeon0608 bc8070d2a9 Update I2C driver and hal api. 2015-06-17 11:16:02 +09:00
hjjeon0608 491ff9ce6d Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-06-17 08:04:35 +09:00
Andrew Fernandes c0c776645d Fix GCC compilation warnings. 2015-06-16 15:41:05 -04:00
Martin Kojtal 1ac6ed5171 Merge pull request #1172 from modtronix-com/master
Moved target folder, renamed target to NZ32SC151
2015-06-16 08:37:22 +02:00
Martin Kojtal 1d20254fc7 Merge pull request #1179 from dudmuck/master
allow outside access to RtcHandle
2015-06-16 08:28:25 +02:00
hjjeon0608 1e7fc642a5 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-06-16 10:46:09 +09:00
hjjeon0608 e128390284 Uncomment gpio_set function. 2015-06-16 08:13:27 +09:00
Martin Kojtal bfd1361d65 Merge pull request #1178 from Wiznet/master
Wiznet - Change target name and support InterruptIn function.
2015-06-15 14:25:16 +02:00
0xc0170 bf69fa1cfc Squashed PR #1170:
commit c4bf11cb6a
Merge: 0d58363 77a973c
Author: Mihail Stoyanov <wm@smode.org>
Date:   Mon Jun 15 14:41:28 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

    Conflicts:
    	workspace_tools/targets.py

commit 0d58363887
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 9 16:17:27 2015 +0300

    Added Nordic license for the soft device

commit d504a3b58a
Merge: 2c5aab7 8902229
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 9 16:14:47 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 2c5aab74eb
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed Jun 3 20:44:25 2015 +0300

    Add base MCU support for Cortex-M4. Tidy up targets.py

commit 59b868a517
Merge: 0e23067 927c31a
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed Jun 3 20:39:56 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 0e23067718
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 2 16:08:08 2015 +0300

    Add the Delta NNN40 platform to releases

commit 62a585dcda
Merge: e1cd545 7a1d25e
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 2 16:06:44 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

    Conflicts:
    	workspace_tools/tests.py

commit e1cd545a9c
Merge: 5c5e61f ffd5586
Author: Mihail Stoyanov <wm@smode.org>
Date:   Thu May 7 13:07:48 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 5c5e61f0ac
Author: Mihail Stoyanov <wm@smode.org>
Date:   Thu May 7 13:07:35 2015 +0300

    Remove the Disco L053 from RTOS tests as it's not ready yet

commit e75efe3467
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed May 6 13:49:05 2015 +0300

    Tidy up targets.py
2015-06-15 14:11:41 +02:00
ajlitt de5f6fd09b Fix KL43Z GCC_ARM build 2015-06-14 16:30:31 -05:00
U-owner-PC\owner d3ff0f24bc allow outside access to RtcHandle 2015-06-11 18:14:52 -07:00
Martin Kojtal 81af347389 Merge pull request #1174 from 0xc0170/fix_spi_transfer_uni
SPI - transfer() unification
2015-06-11 09:02:25 +01:00
hjjeon0608 60a87d97e7 Completed and added pwmout_api 2015-06-11 16:32:58 +09:00
hjjeon0608 c6f7c5dc93 Create a common handler. 2015-06-11 16:28:15 +09:00
hjjeon0608 5a4ce3c600 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-06-11 09:59:34 +09:00
hjjeon0608 f34ee0d2a4 Add InterruptIn function.
Now we support InterruptIn.
2015-06-11 09:13:05 +09:00
Brian Daniels 75547f2b71 Fixed handling of Serial NC pins in K64F,K22F,KL25Z, and KL46Z 2015-06-10 11:25:40 -05:00
0xc0170 d971b21b89 Silabs - spi fix master transfer - byte length 2015-06-10 11:04:54 +01:00
0xc0170 e66c1cf254 TimerEvent - include us ticker - fixing us_ticker_read() not available 2015-06-10 10:58:28 +01:00
0xc0170 bd7a82166a SPI - fix type in start transfer 2015-06-10 10:11:06 +01:00
0xc0170 a3bd9db020 I2C, SerialBase - clearify lengths are in bytes 2015-06-10 10:11:04 +01:00
0xc0170 776a0fcdfa Silabs - correction in length calculation 2015-06-10 10:11:01 +01:00
0xc0170 6c9be89d6f SPI - clarification for the event type 2015-06-10 10:09:27 +01:00
0xc0170 81f9c5e028 SPI - transfer unified 2015-06-10 10:09:23 +01:00