Commit Graph

3074 Commits (fbdf211df1b43ba1bcc56a5ed25c0852a8fcd374)

Author SHA1 Message Date
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
neilt6 456ac214a7 [USBHostMSD] Updated FATFileSystem methods
Updated the virtual FATFileSystem methods for the new argument types
2015-07-08 10:09:21 -06:00
neilt6 a46b1282d2 [FATFileSystem] Modified arguments to match FatFs
Changed the virtual method argument types to match the integer widths
expected by FatFs.
2015-07-08 09:52:45 -06: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
neilt6 2a49d8bf99 [FATFileSystem] Updated FatFs to R0.11
Updated the internal FatFs library to R0.11. Minor changes were made to
FATFileSystem and FATDirHandle in order to accommodate API changes.
2015-07-07 14:41:05 -06: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
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
sarahmarshy e99d5bf764 Changed where reply is populated 2015-06-17 16:55:01 -05:00
Martin Kojtal c33e334a22 Merge pull request #1146 from masaohamanaka/master
RZ_A1H - Modify the OS track acquisition method
2015-06-17 11:06:57 +01:00
Martin Kojtal 7c43e7db00 Merge pull request #1140 from neilt6/master
RTOS - Added stack checking methods to Thread
2015-06-17 09:56:54 +01:00
Martin Kojtal 0ce53a7cf8 Merge pull request #1175 from bridadan/serial-nc-test
Added tests that ensure correct handling of setting Serial pins to NC
2015-06-17 09:04:39 +01: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
sarahmarshy 556b889b5f Populated reply message 2015-06-15 12:44:55 -05: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
Martin Kojtal 77a973c009 Merge pull request #1180 from mbedmicro/enet_rx_process_all
Update k64f_emac.c
2015-06-15 08:06:10 +02:00
Martin Kojtal 20e58fcc5a Merge pull request #1181 from neilt6/usb-suspend-fix
[USBDevice] LPC11UXX suspend status fix
2015-06-15 08:05:59 +02:00
ajlitt de5f6fd09b Fix KL43Z GCC_ARM build 2015-06-14 16:30:31 -05:00
Neil Thiessen fca1a1c981 [USBDevice] LPC11UXX suspend status fix
The USB suspend status changed interrupt is now correctly reported.
2015-06-12 14:51:12 -06:00
Sam Grove ea652f9aba Update k64f_emac.c
process all available packets at once. Because
the interrupt handler is triggered at an interval
and multiple packets could have been received
during that interval. Fix from private fork by Liyou Zhou
2015-06-12 09:20:18 +01: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
Brian Daniels f2ea9c51c7 Added tests that ensure correct handling of setting Serial pins to NC 2015-06-10 11:04:05 -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
Martin Kojtal 4778e33fa1 Merge pull request #1169 from 0xc0170/fix_asynch_constness
Fix asynch methods constness
2015-06-10 09:52:36 +01:00
modtronix-com 45f2ca61da STM32L151RC requires same code as STM32L152RC
Special code for STM32L151RC and STM32L152RC
2015-06-10 14:39:00 +10:00
modtronix-com d314c4a586 Moved target folder as discussed with 0xc0170, renamed target to NZ32SC151
Moved target from ../targets/cmsis/TARGET_STM folder to
../targets/cmsis/TARGET_STM/TARGET_STM32L1 folder as discussed with
0xc0170 (github.com/mbedmicro/mbed/pull/928). Renamed target from
NZ32ST1L to NZ32SC151. Details for board at
www.modtronix.com/nz32-sc151.html
2015-06-10 14:37:19 +10:00
0xc0170 a140fc60a6 mbed lib revision - 101 2015-06-09 14:30:00 +01:00
0xc0170 3ae6d045ee Serial - constness for tx 2015-06-09 10:02:27 +01:00
dbestm 9ed5710ac1 Revert "Revert "[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test""
This reverts commit 4d91eaa3d9.
2015-06-09 10:53:20 +02:00
dbestm 4d91eaa3d9 Revert "[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test"
This reverts commit 9f3fb198c2.
2015-06-09 10:51:35 +02:00
dbestm 9f3fb198c2 [NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test 2015-06-09 10:41:33 +02:00
0xc0170 e7feba4e21 I2C - costness for tx buffer 2015-06-09 09:34:48 +01:00
0xc0170 614c5539bc SPI - constness for tx buffer 2015-06-08 16:39:42 +01:00
Martin Kojtal 833f951fa4 Merge pull request #1164 from 0xc0170/fix_buffer_index
CircularBuffer - volatile full flag + indexes
2015-06-08 16:08:07 +01:00
Martin Kojtal bae47ec370 Merge pull request #1162 from dbestm/master
NUCLEO_F103RB, NUCLEO_L152RE -  RTOS test enhancement
2015-06-08 13:30:06 +01:00
0xc0170 408956f1e7 CircularBuffer - volatile full flag + indexes 2015-06-08 10:53:52 +01:00
Martin Kojtal ccd547492b Merge pull request #1161 from porkybrain/master
Fix my overflow bug in CircBuffer
2015-06-08 08:01:09 +01:00
Odin Holmes 6cc142d8b1 used Size+1 insted of size because no c++11 (no constexpr) 2015-06-05 20:04:07 +02:00
Odin Holmes c918e92124 Fixed typeo in CircBuffer.h 2015-06-05 19:59:37 +02:00
dbestm 1f4fa2dd78 [NUCLEO_F103RB] RTOS + IAR semaphore test 2015-06-04 17:36:12 +02:00
dbestm 171657d67c [NUCLEO_L152RE] RTOS clock conf 2015-06-04 17:34:29 +02:00
dbestm a5272f721d [NUCLEO_L152RE] GCC startup for RTOS 2015-06-04 17:31:36 +02:00
dbestm 1b3896f1c2 [NUCLEO_F103RB] GCC startup for RTOS 2015-06-04 17:29:56 +02:00
bcostm 49f7537f2a [NUCLEO_F446RE] Clean-up of PeripheralPins.c + add DAC
Some pins were missing and others not present.
2015-06-04 17:03:03 +02:00
marcusbirkin 061cb87294 Update cmsis_nvic.c
Ensure the NVIC table gets copied to RAM even when it is not at 0x0000
Same as 152b58673f for TARGET_LPC176X
2015-06-04 09:16:24 +01:00
Martin Kojtal 927c31ab84 Merge pull request #1121 from Wiznet/master
Add WIZwiki-W7500
2015-06-03 08:54:53 +01:00
Martin Kojtal e775613c6b Merge pull request #1127 from bridadan/wfiTest
Added tests for the WFI instruction
2015-06-03 08:44:34 +01:00
Martin Kojtal acd04f16be Merge pull request #1151 from toyowata/master
SSCI824 - Add rtos build
2015-06-03 08:39:01 +01:00
Martin Kojtal dd1ab3a5e6 Merge pull request #1148 from stevew817/master
Silicon Labs - Improvements in RAM footprint of HAL.
2015-06-03 08:28:28 +01:00
Toyomasa Watarai 56e43df1c7 [SSCI824] Add rtos
- Add rtos TARGET_SSCI824 (same as LPC824) and test
- Fixed warning of pwmout_api.c by GCC_ARM
2015-06-03 16:13:06 +09:00
ohagendorf 0abf0f3e41 [STM32F4xx] PWM frequency calculation correction
All STM32F4xx mcu with a clock frequency larger than 100MHz (F405, F407,
F429, F446), have two different maximal timer frequencies: SYSCLK and
SYSCLK/2. The pwm frequency calculation was based only on SYSCLK. For
Nucleo target this was OK but for some Discovery and some other targets
the pwm frequency was partly wrong, depending on the used timer.
This PR reads out the specific timer frequency and calculates the
correct pwm frequency.
2015-06-03 01:02:38 +02:00
Steven Cooreman 4b020f80e7 [GPIO] optimize memory usage: get rid of 8 bytes of RAM allocation per GPIO object. 2015-06-02 10:16:52 +02:00
Steven Cooreman 204e716417 * [PwmOut] Fixed same bug as pulsewidth_us in period_us
* [PwmOut] Get rid of superfluous static uint32_t, save 4 bytes of RAM in static allocation.
* [PwmOut] Use 16-bit values for saving the top and CC register of the timer to RAM. Saves 4 bytes of RAM per PWM channel.
2015-06-02 10:11:44 +02:00
tomoyuki yamanaka 67fa33af21 modify the OS track acquisition method
Modify the OS stack acquisition method to align the A Series with the M Series.
2015-06-02 14:43:09 +09:00
hjjeon0608 86a6703ef5 Change header about license. 2015-06-02 11:01:27 +09:00
hjjeon0608 4d977799b6 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-06-02 08:58:50 +09:00
Martin Kojtal 7a1d25e3df Merge pull request #1138 from stevew817/master
Silicon Labs - Initial test framework pin definitions for EFM32 platforms
2015-06-01 10:53:17 +01:00
Martin Kojtal 6f7f37eec7 Merge pull request #1118 from logost/LPC2460
Introduction of new platform LPC2460 MCU
2015-06-01 10:52:03 +01:00
Steven Cooreman 51518f0d4c Failed to account for PWM prescaler on high frequencies. 2015-06-01 11:37:34 +02:00
Martin Kojtal 7ab478cf5c Merge pull request #1110 from ohagendorf/nucleo_f446
Nucleo_F446RE - adding target
2015-06-01 10:27:07 +01:00
Marcomissyou 78f373c7fd modify overrides flash_init/flash powerdown and PinName 2015-05-29 13:48:31 +08:00
neilt6 8c972d8867 [RTOS] Added stack checking methods to Thread
Added stack checking methods to the Thread class for Cortex-M targets.
The stack memory size, currently free stack memory, and currently used
stack memory are calculated using the TCB. The maximum stack memory
usage is determined by filling the stack with a magic word, and finding
the high water mark.
2015-05-27 11:43:55 -06:00
Dmitry Bogdanov 3ebee14015 Update years in copyright headers in RTX for ARM7 sourses 2015-05-27 19:18:29 +04:00
Dmitry Bogdanov 4ea75b425a Update years in copyright headers in CMSIS&HAL sources 2015-05-27 19:11:35 +04:00
Steven Cooreman d49d21cdca Pin definition update 2015-05-27 16:07:40 +02:00
Martin Kojtal d9b482ff2b Merge pull request #1137 from dbestm/master
NUCLEO_L053R8 - enhance RTOS main test
2015-05-27 15:00:07 +01:00
0xc0170 1cef3ffb2d Merge branch 'master' of https://github.com/sg-/mbed into sg--master
Conflicts:
	libraries/mbed/common/SPI.cpp
2015-05-27 13:09:05 +01:00
0xc0170 bdc4434981 mbed lib revision - 100 2015-05-27 09:19:26 +01:00
dbestm 0370f39673 [NUCLEO_L053R8] enhance RTOS main test
To make them passed with GCC and ARM compilers
2015-05-27 10:07:16 +02:00
hjjeon0608 d41f3f335f Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-05-27 10:53:14 +09:00
hjjeon0608 f0f89fc9a4 remove gpio_irq_api.c because not complete 2015-05-27 10:52:34 +09:00
Steven Cooreman 02d6b3200a Add pin definitions for Silicon Labs parts 2015-05-26 13:31:12 +02:00
Steven Cooreman 14420995b0 Fix RTC, couldn't properly set time. 2015-05-26 11:47:03 +02:00
0xc0170 fc6ffc5819 Silabs - spi - style cosmetic changes for the last 2 commits 2015-05-26 08:44:28 +01:00
hjjeon0608 39c887c769 Bug fixed for test MBED_24(Timeout) 2015-05-26 08:55:30 +09:00
hjjeon0608 b8909ae27d Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-05-26 08:05:34 +09:00
ohagendorf 5b4e745674 [NUCLEO_F446RE] resolving rebase error and missing test
- resolving a rebase conflict
- adding pin config for MBED_A7 test (interruptin)
2015-05-23 19:10:54 +02:00
Olaf Hagendorf 8b73e9093b [NUCLEO_F446RE] adding to RTOS lib
RTOS_1 .. RTOS_8 tests are OK
2015-05-23 19:10:53 +02:00
Olaf Hagendorf 26e44eaa1b [NUCLEO_F446RE] Exchange linker script and startup file 2015-05-23 19:03:13 +02:00
ohagendorf 455b417b8f [NUCLEO_F446RE] create new target - part 2
Update system_stm32f4xx to new version, generated by STM32CubeMX
Add target name to digital_loop test
Update coide export template
2015-05-23 19:03:12 +02:00
ohagendorf 8edb20bed6 [NUCLEO_F446RE] create the new target
Create the new target - mbed_blinky is runnning
2015-05-23 19:03:11 +02:00
Marcus Chang f0861ccda5 SPI transfers larger than what the DMA can handle are split up in multiple transfers. 2015-05-22 17:30:08 +01:00
Martin Kojtal 88d158e43b Merge pull request #1130 from stevew817/master
Silicon Labs - Cosmetic: apply mbed coding style to HAL
2015-05-22 10:18:28 +01:00
Steven Cooreman 2c55311cfb cosmetic changes: apply mbed coding style to Silicon Labs HAL. 2015-05-22 10:47:37 +02:00
Martin Kojtal 61deb3e97c Merge pull request #1125 from 0xc0170/fix_#1124
Timer/Ticker - fix constness of the data argument/member
2015-05-22 09:31:39 +01:00
Martin Kojtal 773be33ba7 Merge pull request #1129 from stevew817/master
Silicon Labs - Serial ports other than stdio were not properly enabled
2015-05-22 09:31:25 +01:00
Steven Cooreman e8ff8e7629 Bugfix in Serial: serial ports other than STDIO are not enabled properly. 2015-05-22 09:44:42 +02:00
hjjeon0608 fef219f493 Disable I2C slave 2015-05-22 14:08:01 +09:00
hjjeon0608 8fae6b7a85 Change to static. 2015-05-22 10:42:56 +09:00
hjjeon0608 446bcdd7df Change header scripts about PeripheralPins.c and PeripheralPins.h 2015-05-22 10:05:40 +09:00
hjjeon0608 82dd920c7e Change Stack size and heap size to 0x400 2015-05-22 09:44:03 +09:00
hjjeon0608 feb9f51e2c Now, we support toolchain ARM.
So Add the files.
2015-05-22 09:34:46 +09:00
Jeremy Brodt 91f856b2b9 [MAX32600MBED][MAXWSNENV] Corrected SPI frequency assertion. 2015-05-21 18:36:36 -05:00
Jeremy Brodt a6437fb434 [MAX32600MBED] Added USBDevice definitions to eliminate build errors. 2015-05-21 18:36:36 -05:00
Jeremy Brodt dda00b4f25 [MAX32600MBED] Pin definition changes for V2 boards. 2015-05-21 18:36:28 -05:00
hjjeon0608 1c9cbdbf35 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-05-22 08:05:04 +09:00
hjjeon0608 5fb844ce87 Change startup code for toolchain ARM
Add possible toolchain ARM at targets.py
2015-05-22 08:04:37 +09:00
Brian Daniels 0551f6e8b9 Added tests for the WFI instruction 2015-05-21 15:17:17 -05:00
0xc0170 1838c70a90 Fix OS clock definition for NZ32ST1L (latest merge) 2015-05-21 09:59:11 +01:00
0xc0170 f5eeaa09c6 Merge branch 'master' of https://github.com/modtronix-com/mbed into modtronix-com-master
Conflicts:
	libraries/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
	libraries/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
	workspace_tools/export/coide.py
	workspace_tools/export/gccarm.py
	workspace_tools/export/uvision4.py
2015-05-21 09:53:12 +01:00
Martin Kojtal 36a43ec36b Merge pull request #1119 from bcostm/master
STM32F3xx - Refactor analogin, analogout and pwmout
2015-05-21 09:38:26 +01:00
Martin Kojtal 1abc53f8ed Merge pull request #1122 from stevew817/master
[Silicon Labs] Bugfixes in PwmOut
2015-05-21 09:37:32 +01:00
0xc0170 f0038f84e8 Timer/Ticker - fix constness of the data argument/member 2015-05-21 08:47:23 +01:00
Steven Cooreman 9ace27757c Bugfixes in PwmOut. 2015-05-20 10:08:26 +02:00
Martin Kojtal 1f6ad3fbb3 Merge pull request #1120 from stevew817/master
[Silicon Labs] Fix missing clock enable in ADC/DAC
2015-05-20 08:34:16 +01:00
hjjeon0608 9c329b9357 Remove analogout_api.c
Remove toolchain ARM at targets.py
2015-05-20 10:50:45 +09:00
Steven Cooreman dbbe5b6521 Fix missing clock enable in ADC/DAC 2015-05-19 16:12:44 +02:00
bcostm 50ad5b2011 [STM32F3xx] Refactor analogin, analogout and pwmout
- use STM_PIN_DATA_EXT macro for pinout definition
- some clean-up
2015-05-19 13:01:09 +02:00