Commit Graph

818 Commits (ed3c2040e239e368ca6c34334f43f19034a219ff)

Author SHA1 Message Date
0xc0170 03b3a4e895 Target K64F addition.
Squashed commit of the following:

commit db3c9f7682083abeb291e01df31e67e4c50845b3
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Apr 2 09:52:00 2014 +0200

    K64F - KSDK - Warnings fixes

commit a639a5cdff889c13509c954b0a34ebac861c1361
Merge: 67a2c2a f3de345
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Apr 1 12:48:35 2014 +0200

    Merge branch latest 'master' into dev_target_k64f

    Conflicts:
    	libraries/rtos/rtx/RTX_Conf_CM.c
    	workspace_tools/build_api.py

commit 67a2c2aeb976f264db52ea10d18fea9de0d7685f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Mar 30 13:19:51 2014 +0200

    K64F - PinName for buttons (SW2, SW3)

commit 957573e2cd42d5c73ed99477abb98c8b883695b2
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 25 11:46:57 2014 +0100

    K64F - pins addition to mbed HAL, uart - 4 instances, fix i2c instance which was not stored

commit 2347a6d03984e297190910a250f2771032ae6327
Author: sg- <sam.w.grove@gmail.com>
Date:   Mon Mar 24 15:20:51 2014 -0500

    Added wait to i2c stop

commit b7b4a9c72e8724087a44078c41a2cb33e4c8d5e3
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 24 19:28:16 2014 +0100

    K64F - I2c - ack flag retreive correction (logic inverted in ksdk hal)

commit 46c875251263029e32463c3b48473b10496088d9
Author: sg- <sam.w.grove@gmail.com>
Date:   Mon Mar 24 13:16:18 2014 -0500

    Added I2C Pinnames

commit b71c7a0dfba7025662f9a9d176494ce4dc86273e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 18 17:02:34 2014 +0100

    K64F Arduino pinNames update

commit d41b0ee493263d1d80fcb72b3f0d4d788359c7c9
Merge: 9c0a982 e2574eb
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 18 14:57:57 2014 +0100

    Merge remote-tracking branch 'upstream/master' into dev_target_k64f.
    K64F gpio changed according to the latest mbed master.

    Conflicts:
    	libraries/rtos/rtx/RTX_CM_lib.h
    	workspace_tools/export/uvision4.py

commit 9c0a9822ab14263fff5e3b6459b7c2b4a77ce30c
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 17 21:08:17 2014 +0100

    K64F - sleep support

commit 5edcf3603d2e7b00eedbb377203a054b7a01e51d
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Mar 16 18:19:55 2014 +0100

    K64F - pullup/down corrections, LED1 - R, LED2 - G, LED3 - B

commit a2b3b53a1474d32779654765cd1ce2ba2c6b2186
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Mar 13 20:55:39 2014 +0100

    K64F - SPI - delays are set, pin definition for tests

commit 1f3b3abe16f4afaaf1b75cb4bf3e3a9d5b6e50a7
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 11 21:26:00 2014 +0100

    K64F - DAC update - tested with test a8

    	- internal reference set to VDDA
    	- PinName DAC0_OUT

commit 26d8cf47f8c0786b290ae659beb022901029b313
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 11 08:31:44 2014 +0100

    KSDK - drivers layer removal, mbed HAL using only KSDK HAL

    	- ADC corrections with channels, and clock configuration

commit 67ebe14f5c88725033ea0fb135d94b6bf9a00fdb
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 10 12:46:08 2014 +0100

    K20 copy files removed, targets.py - vertical alignment for K64F definition

commit be5c562d513c808e5bd425195a4fb1c71f47a57e
Merge: 696a713 fe0aca9
Author: Emilio Monti <emilmont@gmail.com>
Date:   Mon Mar 10 11:14:55 2014 +0000

    Merge branch 'rtos_support' into dev_target_k64f

commit 696a713751194b4762f1cdf6c17c0786decd7808
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 10 12:05:30 2014 +0100

    [FIX] K64F - adc, sgtl driver updates

commit fe0aca9940bbdd5ee70a1a7341a0a2ad2abf912b
Author: Emilio Monti <emilmont@gmail.com>
Date:   Mon Mar 10 11:04:16 2014 +0000

    Add RTOS support for K64F

commit 5c3edcbca6dbcce628c7cde51ac94a6fc6278ba5
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Mar 9 20:43:38 2014 +0100

    K64F - uvision templates update

    	- uvision 5.10 supports K64F

commit 33f18d11d0eadb9243f1be0ae96c5f82e2913d48
Merge: 26f7587 74e9b2e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sat Mar 8 10:34:25 2014 +0100

    Update branch from mbed master

    	- merge branch 'master' into dev_target_k64f

    Conflicts:
    	libraries/USBDevice/USBDevice/USBEndpoints.h
    	libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp
    	workspace_tools/export/uvision4.py
    	workspace_tools/targets.py

commit 26f75872b19a1db2a3abb34c6e773bac56acb32f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Mar 6 22:15:53 2014 +0100

    K64F - USBDevice - MPU disable in init

commit e54d6bbaa68827bd63058fbf2428e289d15ac1f7
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Feb 26 21:06:58 2014 +0100

    K64F - clock setup 4 (usb clock enable)

commit c4165732b9520cb31ae3d649d50c353d09dc9932
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Feb 26 20:01:47 2014 +0100

    K64F - USBDevice addition

commit 9fcdbb8562b1415561b04e902fcdbb4724add5af
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Feb 24 19:11:48 2014 +0100

    K64F SPI HAL - initial version

commit 8093df58fa7d17fcb5ad04872c958d5254ee1d8a
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sat Feb 22 13:14:44 2014 +0100

    K64F - RTC and I2C implementation (using KPSDK HAL)

    	- instance correction in objects and peripherals names headers

commit 7ef3fbda605c2bd53a86f37d0676c0393b2e2949
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Feb 14 09:45:27 2014 +0100

    mbed RTC HAL for K64F

commit e40332fd2db8bf36b3e6cabac5729e013da40c28
Merge: e059f65 6bfcd87
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Feb 13 14:20:20 2014 +0100

    Merge branch 'master' into dev_target_k64f

    Conflicts:
    	workspace_tools/build_api.py
    	workspace_tools/export/uvision4.py
    	workspace_tools/targets.py
    	workspace_tools/toolchains/__init__.py

commit e059f65fd09694418f9fa4f38da90954ab9decfe
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Feb 5 21:35:49 2014 +0100

    pwm mbed HAL

    	- using jusst ftm hal from KPSDK, not yet functional

commit b784278872b1d66ce2940f4988e0479971de8bc0
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Feb 3 18:28:24 2014 +0100

    uvision exporters for K64F, uticker - lptmr

    	- lptmr - no hal neiter driver, quick implementation using registers and internal clock
    	- exporters for K64F - using K60 1MB target, because K64F is not available in 4.7 yet

commit 7a030693e025c2bd456563f3e6f4456033d3f644
Author: Bogdan Marinescu <bogdan.marinescu@arm.com>
Date:   Tue Jan 28 16:29:54 2014 +0200

    Attempt to keep target's include directory structure

commit a2445b383224125abf4ee23bd17f1e685010a4a5
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Jan 27 07:25:16 2014 +0100

    Original KPSDK include directory structure for device

commit 9c07c58bb9cf5e9d8be4c3bec117ee87a5ea81c0
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Jan 24 16:51:17 2014 +0000

    K64F ADC - initial commit

    	- ADC using KPSDK driver

commit 88e03ef8c5855a57887bb36cddfa5ab1491d400c
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Jan 24 12:18:14 2014 +0000

    GPI IRQ

    	- nvic vectors number correction
    	- gpio irq HAL implementation

commit e83f1108ae9f779ce240d6cdfe23532bfa00a55e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Jan 24 10:06:44 2014 +0000

    PORT HAL implementation

    	- using gpio hal port

commit 75c21943200c8240d1edaf0a67f84b9f3b43db7f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Jan 23 16:02:36 2014 +0000

    Serial (only 8bit at the moment), using KPSDK HAL

commit 296e79def617f005918cd8e2aa574f2908a362ca
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Jan 23 08:35:50 2014 +0000

    Folder structure correction for K64F - KPSDK

    	- scripts reverted, only new macro is available
    	- K64F specific headers are in HAL in device folder

commit f236b1ffcb9c8b443ad8483bca8b0e564a63f004
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Jan 22 16:07:30 2014 +0100

    update KPSDK to RC1

    	- the update causes few more dependences which were reported. Will be removed later (usb, boards)
    	- pit timer - hal use , pit driver uses us period

commit f02c5353d4920e885f803ad235e5e82001e97b94
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Jan 21 09:45:55 2014 +0100

    KPSDK In/out  declaration removal

commit 8c88e098b4dc4901753309f1e6db4adb8aca4384
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Jan 21 09:12:41 2014 +0100

    gpio_t struct only needs pinName

    	- gpio_init creates init objects on stack

commit 6b96d4ea2c5a6a2cb13571d740ffb679a62f8f3d
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Jan 20 19:59:03 2014 +0100

    us ticker - pit implementation (not functional yet)

    	- pit driver in KPSDK - added sdk prefix to needed functions

commit 098e60a3846abcd4c9c00bd199b01d4b1899807f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Jan 20 13:01:58 2014 +0100

    GPIO HAL - gpio_set implementation

commit 2bfebbfc75dcd08c20297ba42dc0cc82e5381a40
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Jan 19 20:46:55 2014 +0100

    GPIO KPSDK changes

    	- gpio driver - sdk prefix, no lookuptable, input/output declaration, refactoring, set MUX to GPIO
    	- gpio api in mbed implementation, tested on blue led

commit d083733c485fbdd79ed9ce87100df9fee82294a7
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sat Jan 18 17:14:09 2014 +0100

    Update folder structure for KPSDK

    	- drivers addition
    	- usb (needed by drivers - needs to be fixed)
    	- utilities
    	- hal folder
    	- drivers/flash removed (needs to be fixed)
    	- usb host removed (needs to be fixed)

commit 9abcf3d94a2cc849cd6e586c1bad650b6a340a0c
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Jan 16 11:06:16 2014 +0100

    Initial commit for K64F

    	- KPSDK addition
    	- CMSIS + HAL for K64F
    	- HAL is not yet implemented
    	- scripts - target contain macros, ignore folders, cmsis copy folders
2014-04-02 14:41:06 +02:00
bcostm b7035550f7 [NUCLEO_F030R8] Fix issue with last changes in error.h 2014-04-02 14:13:50 +02:00
bcostm 76afd011cd [NUCLEO_F302R8] Correct D11-D13 pin names 2014-04-02 14:05:42 +02:00
bcostm c2bfc1217b [NUCLEO_F401RE] Fix issue with PWM on PC_9
The correct channel is 4 and not 3.
2014-04-02 14:02:56 +02:00
bcostm d0c1c2003f [NUCLEO_xxx] Fix compilation error with missing Port names
This error was due to the last changed in the error.h file.
2014-04-02 13:59:17 +02:00
bcostm af8ec9b497 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-02 13:48:42 +02:00
Mihail Stoyanov 4110d25404 Added D14 and D15 pins for Arch Pro 2014-04-01 18:39:41 +01:00
dinau bf8dc9fed0 [GCC_ARM][DISCO]: Modified compilatin error and silent warning. 2014-04-02 00:34:32 +09:00
Bogdan Marinescu ad1ef13664 Merge pull request #240 from va7deo/DISCO_F407VG/AudioOut
Added AnalogOut for STM32F407 Discovery
2014-04-01 16:30:14 +01:00
darren 4638e6979a Added AnalogOut for STM32F407 Discovery 2014-03-31 12:15:05 -07:00
neilt6 e57e69c772 Changed error(...) to a weak function
Made error(...) a weak function so that it can be overridden in
production projects. Also fixed several serial_api.c files that required
stdlib.h, but were getting it from error.h.
2014-03-31 10:27:14 -06:00
bcostm f102fdaf0f Add missing pin labels used in examples. 2014-03-28 18:16:10 +01:00
bcostm d1c498d38b [NUCLEO_F302R8] Change PWM_OUT signal assignation
The PWM output is not available on PB_3 because the TIMER2 is used by
the us_ticker.
2014-03-27 09:14:37 +01:00
bcostm 8299b1e6a0 [NUCLEO_F103RB] Add automatic HSE/HSI clock configuration
And:
- restart PLL in deepsleep function
- add more pins for SPI (the mbed pinout will be updated soon)
2014-03-26 17:47:11 +01:00
bcostm 66791e645f [NUCLEO_L152RE] Add automatic HSE/HSI clock configuration.
Update also SPI prescaler and use mbed_sdk_init() function.
2014-03-26 10:06:27 +01:00
bcostm 8f523daa69 [NUCLEO_F302R8] Use mbed_sdk_init() to update the SystemCoreClock variable.
Definitely the best solution...
2014-03-25 18:26:42 +01:00
Bogdan Marinescu 8b4f07882b Merge pull request #233 from bcostm/master
[NUCLEO_F302R8] Fix issue with SystemCoreClock variable update.
2014-03-25 13:33:05 +00:00
bcostm 575f9f9269 [NUCLEO_F302R8] Fix issue with SystemCoreClock variable update.
This variable must be placed outside the RAM initialization section.
2014-03-25 14:17:07 +01:00
Bogdan Marinescu 249f016cd8 Merge branch 'master' of github.com:mbedmicro/mbed 2014-03-25 11:44:32 +00:00
Bogdan Marinescu 71b306a2d4 Improvements to Sam's platform_init.c commit 2014-03-25 11:43:54 +00:00
Bogdan Marinescu 11bc6fdd03 Merge pull request #232 from bcostm/master
[NUCLEO_F302R8] Improvements in clock configuration, spi default pins, code formatting
2014-03-25 10:00:55 +00:00
bcostm c675516f51 [NUCLEO_F302R8] Add automatic HSE/HSI clock configuration + change spi default pins
The clock configuration is first tried with external 8MHz clock, if fail
then tried with 8MHz xtal and finally with HSI.
2014-03-25 10:24:44 +01:00
sg- ecad62a205 Updates to build_api.py (platform_init.c remains platform_init.o in mbed.bld) and moved NMI_Handler from gpio_irq_api.c to platform_init.c for KL05Z, KL25Z and KL46Z target platforms to take advantage of this change. 2014-03-24 18:41:19 -05:00
Todor d5b1abf7b0 Added GCC_ARM for NUCLEO_F401RE 2014-03-24 22:57:51 +01:00
dinau 472a557288 [STM32F4-Discovery(STM32F407VG)] initial port
[DISCO_F407VG]
2014-03-24 23:56:58 +09:00
star297 908a9b97a4 Update system_LPC8xx.c
Add external 12Mhz crystal support as clock set up 2
2014-03-22 16:52:14 +00:00
bcostm a5090fa636 [NUCLEO_F302R8] Code formatting 2014-03-22 15:50:50 +01:00
dinau a43ba4740a [STM32F407][LPC4088][GCC_ARM] Fixed compilation error.
This commit fix FPU error when compile with RTX OS.
2014-03-21 21:16:52 +09:00
dinau 86ee511c80 STM32F0-Discovery (STM32F051R8) initial port 2014-03-21 20:23:13 +09:00
Emilio Monti 93e44fb5a5 Merge pull request #221 from bcostm/master
[NUCLEO_F302R8] and [NUCLEO_L152RE] updates
2014-03-20 11:37:36 +00:00
bcostm 9ac335a095 [NUCLEO_L152RE] Typo corrections 2014-03-20 11:41:54 +01:00
bcostm daefeedf1a [NUCLEO_L152RE] Change the check of I2C clock frequency + update stop function + cleanup 2014-03-20 11:41:00 +01:00
bcostm a8236d872a [NUCLEO_L152RE] Add more ANALOG_IN, ANALOG_OUT, PWM, SERIAL and SPI pins 2014-03-20 11:32:29 +01:00
bcostm ad9f894f10 [NUCLEO_L152RE] Change system clock to 32MHz + restart PLL after deepsleep 2014-03-20 11:28:30 +01:00
Bogdan Marinescu ed8481eb97 Updated library version 2014-03-19 18:08:26 +00:00
Emilio Monti 92d3e97e18 Merge pull request #219 from tkuyucu/master
Merge after reverting the python scripts to generating hex file with UICR
2014-03-19 17:01:43 +00:00
Bogdan Marinescu cf8fd1cf86 Merge branch 'master' of git://github.com/bcostm/mbed into bcostm-master
Conflicts:
	workspace_tools/targets.py
2014-03-19 15:58:10 +00:00
bcostm 87a83a8603 [NUCLEO_F401RE] Fix compilation error with error.h include file 2014-03-19 15:38:39 +01:00
tkuyucu d268bb0131 Merge remote-tracking branch 'upstream/master' 2014-03-19 15:17:09 +01:00
dinau 1683e9fba2 STM32VL-Discovery initial port 2014-03-19 21:39:01 +09:00
bcostm 64e19dd0ad [NUCLEO_F401RE] Typo corrections 2014-03-19 09:57:27 +01:00
bcostm 5610184f9f [NUCLEO_F401RE] Put back SERIAL_TX and SERIAL_RX pins
Even if it is a duplication of USB_TX/RX pins, it is better to have them
available.
2014-03-19 09:46:26 +01:00
bcostm a98c380cf9 [NUCLEO_F401RE] Add INTERRUPT_IN to all pins 2014-03-19 09:44:20 +01:00
bcostm 4e907a09fd [NUCLEO_F401RE] Add more ANALOG_IN, I2C and SPI pins 2014-03-19 09:42:33 +01:00
bcostm 9b8352d6db [NUCLEO_F401RE] Add more SERIAL and PWM pins 2014-03-19 09:40:29 +01:00
bcostm 5963a310e3 [NUCLEO_F401RE] Restart PLL after deepsleep 2014-03-19 09:34:30 +01:00
bcostm 75716e08c5 [NUCLEO_F302R8] Add hal files 2014-03-18 15:33:34 +01:00
bcostm e7262047a8 [NUCLEO_F302R8] Add cmsis files (last part) 2014-03-18 15:30:38 +01:00
bcostm cc53000db8 [NUCLEO_F302R8] Add cmsis files (2nd part) 2014-03-18 15:27:34 +01:00
bcostm 041839a2ba [NUCLEO_F302R8] Add cmsis files (first part) 2014-03-18 15:23:47 +01:00
bcostm 38c5c47000 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-03-18 14:58:04 +01:00
Emilio Monti e2574ebaa5 Merge pull request #213 from dinau/gcc_arm_lpc11u35_stm32f407_mod
[GCC_ARM][LPC11U35][LPC1114][STMF407]: Modified build scripts
2014-03-18 13:24:49 +00:00
dinau 64df527fed Merge branch 'mbed.org/master'
Conflicts:
	workspace_tools/export/gccarm.py
2014-03-18 22:12:32 +09:00
bcostm e0bf1e3094 Merge branch 'master' of https://github.com/mbedmicro/mbed
Conflicts:
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/spi_api.c
2014-03-18 13:17:53 +01:00
Mihail Stoyanov 3e40310534 Rename Nordic soft-device folder. The mbed IDE rejects dots in folder names. 2014-03-18 12:15:16 +00:00
dinau 218ea3a4da [GCC_ARM][LPC11U35][LPC1114][STMF407]: Modified build scripts
1. Added to Makefile templates for LPC11U35 and STM32F407
2. Added output facility of HEX file, LIST file and MAP file
2014-03-18 20:32:53 +09:00
Bogdan Marinescu c013d6e6a9 Restore serial_api.c on LPC1768
Michael's GPIO fix changed this to a previous version, this commit restores
it to the last version.
2014-03-18 10:53:33 +00:00
dinau 2d4fc59956 [LPC11U35][GCC_ARM][GCC_CR]: Modificatins for build.
1. Added to the export table in export_test.py.
2. Added to the build table in build_release.py
3. Added the compilation directives to RTX os files.

Notice:
 It would be better to change WORDS_STACK_SIZE definition in libraries/rtos/rtx/cmsis_os.h
 from 512 to 128 for LPC11U35 and LPC1114 micros compiled by GCC toolchain with newlib-nano,
 but I don't know the good way at this moment.
2014-03-17 23:45:39 +09:00
dinau e82279b5d5 [LPC11U35][GCC_CR] Added export functionality 2014-03-16 22:16:05 +09:00
dinau 07db34211f Change folder structure 2014-03-15 15:24:07 +09:00
dinau bf12cc5d67 [LPC1114][GCC_CR] Added export functionality 2014-03-15 10:21:36 +09:00
Toyomasa Watarai 7640da9126 [LPC1549] Fixed initial value of stack pointer 2014-03-15 00:05:02 +09:00
Emilio Monti 7d88efe969 Merge pull request #208 from dreschpe/master
Add additional peripherie for ST Nucleo L152 board
2014-03-14 09:54:17 +00:00
dreschpe 71bbdb6f1f Add additional peripherie for ST Nucleo L152 board
Add code for . UART 3-5, SPI 2 + 3, I2C2
2014-03-13 23:38:09 +01:00
tkuyucu 1f962a16a4 Fixed syntactic bug in board.c 2014-03-13 12:37:09 +01:00
tkuyucu 4086fa09d9 merge with mbedmicro 2014-03-13 12:28:59 +01:00
tkuyucu 0f68519f85 Update after hex enabled firmware release
Removed SystemInit write to FWID.
Added DEVICE_ERROR_PATTERN for error signaling.
Exception for NRF added to board.c to keep irqs enabled since timer irq
is needed for the wait function.
Button pin names changed from BUTTON0 to BUTTON1 and from BUTTON1 to
BUTTON2.
2014-03-13 10:59:09 +01:00
Toyomasa Watarai 84a654d200 [LPC1549] Added AnalogOut API and PWM improvement
Added AnalogOut
I2C code cleanup
PWM now support 4ch
us_ticker now use RIT instead of SCT
2014-03-12 19:23:14 +09:00
Bogdan Marinescu bca4f4e0e4 Fix previous pull request compilation errors 2014-03-11 17:02:10 +00:00
Bogdan Marinescu 5d2d302526 Merge pull request #206 from dreschpe/master
Fix SPI 16 Bit for ST Nucleo
2014-03-11 11:56:20 +00:00
dreschpe ad09a83642 NUCLEO R030R8 16Bit SPI read and write
add 16 bit read and write
2014-03-10 17:45:46 +01:00
dreschpe 3d72f3dcbf Revert "Add additional peripherie for ST Nucleo F401 board"
This reverts commit f973f4c1d7.
2014-03-10 16:53:40 +01:00
Bogdan Marinescu f34be80874 Fix compilation errors from GPIO pull request 2014-03-10 13:41:31 +00:00
Bogdan Marinescu 423ddcb86e Merge pull request #198 from mazgch/gpio_api
proposed change of gpio_api (new update pull request)
2014-03-10 11:15:59 +00:00
bcostm bb57ddc0c3 NUCLEO_F401RE: Change system clock to 84 MHz using HSI + PLL
Update also HSE_VALUE and SPI prescaler value.
2014-03-10 11:40:27 +01:00
dreschpe f973f4c1d7 Add additional peripherie for ST Nucleo F401 board
Add UART  3
Add SPI 2 + 3
Add I2C 2 + 3
change external crystal value to 8MHz
patch SPI 16bit  write bug
2014-03-09 18:20:01 +01:00
dreschpe 142db468ae Add additional peripherie definitions for ST Nucleo F401RE bord
add UART 2 + 3
add SPI  2 + 3
add I2C  2 + 3

patch SPI 16 bit error
patch extenal cristal value to 8MHz
2014-03-09 18:15:47 +01:00
Toyomasa Watarai 855bafe8d5 Added PwmOut for LPC1549 target 2014-03-07 18:40:45 +09:00
Emilio Monti 955bd9a5c9 Update MBED_LIBRARY_VERSION to latest revision 2014-03-06 09:55:02 +00:00
mazgch 4e53124e70 fix more tabs to spaces 2014-03-04 15:07:30 +01:00
mazgch 8f5a2a580a fix indentation and make helpers static inline 2014-03-04 15:00:28 +01:00
mazgch c1d3cb5aa3 address concern from watarai-san about code size and performance by creating a set of common initialization functions 2014-03-04 14:09:41 +01:00
mazgch be8bca4aa0 proposed change of gpio_api 2014-03-04 11:27:30 +01:00
Emilio Monti 6d79406112 Merge pull request #196 from toyowata/master
Added LPC11U35_501 target support
2014-03-04 10:20:01 +00:00
Toyomasa Watarai 7216c36d0f Added LPC11U35_501 target support
Tested with CQ's LPC11U35/501 target board
2014-03-04 17:57:33 +09:00
mazgch 7ec41d4923 Merge branch 'master' of https://github.com/mbedmicro/mbed
Conflicts:
	libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/serial_api.c
2014-03-03 15:04:35 +01:00
Emilio Monti 8431561fc7 Merge pull request #194 from Sissors/master
LPC1768 writeable fix + KL25Z/KL46Z RTC pin function
2014-03-03 11:05:07 +00:00
mazgch ca1d76687b adding back tx fifo, this also fixes the tx interrupts 2014-03-03 12:00:32 +01:00
Sissors 56ce1e7290 Fixed LPC1768 writable
Now if no flow control is used it will check if holding register is
empty, instead of complete UART is empty: The TxIrq uses the same
requirement.
Currently BufferedSerial (and everyone else trying something similar)
goes haywire because it doesn't just check if writable, but also if done
writing.

If flow control is enabled nothing is changed.
2014-03-01 16:58:01 +01:00
Sissors baa4003b95 Revert "Fixed writable for LPC1768"
This reverts commit 19ae097c62.
2014-03-01 16:46:48 +01:00
Sissors ace842b1f1 Fixed KL25Z/KL46Z RTC-IN pin function
It used to set it to alternate function 2, which is I2C, and still works
fine in all my tests. Not intended though, and might be giving others
issues. 1 is the RTC_CLKIN
2014-03-01 16:40:32 +01:00
Sissors 19ae097c62 Fixed writable for LPC1768
Bit 6 (0x40) is true if the peripheral is completely empty.
Bit 5 (0x20) is true if the transmit hold register is empty, which is
sufficient for it to be writable.

The TxIrq uses the same requirement, so now it works together and
BufferedSerial doesn't go haywire on LPC1768
2014-03-01 16:38:03 +01:00
Yihui Xiong 891b63a14e add D0-D13 and A0-A5 for Arch V1.1 and Arch Pro 2014-02-26 21:15:06 +08:00
bcostm f285e44f05 [NUCLEO_L152RE] Update license 2/2 2014-02-26 10:28:09 +01:00
bcostm fe19c62f95 [NUCLEO_L152RE] Update license (1/2) 2014-02-26 10:24:48 +01:00
bcostm 512de10b66 [NUCLEO_F030R8] Update license 2014-02-26 10:08:51 +01:00
bcostm 41b6de2d08 Revert "[NUCLEO_xxx] Update license"
This reverts commit 4197942906.
2014-02-26 10:04:42 +01:00
bcostm 4197942906 [NUCLEO_xxx] Update license 2014-02-26 10:04:14 +01:00
bcostm e1facae89f [NUCLEO_F401RE] Update STM32CubeF4 driver V1.0.0 (part 4/4) 2014-02-26 09:29:20 +01:00
bcostm 5a4e51ad4e [NUCLEO_F401RE] Update STM32CubeF4 driver V1.0.0 (part 3/4) 2014-02-26 09:25:54 +01:00
bcostm 3a37a058c5 [NUCLEO_F401RE] Update STM32CubeF4 driver V1.0.0 (part 2/4) 2014-02-26 09:22:52 +01:00
bcostm bb9983c4f8 Merge branch 'master' of https://github.com/mbedmicro/mbed
Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/PinNames.h
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/PinNames.h
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PinNames.h
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/PinNames.h
2014-02-25 18:12:12 +01:00
bcostm 3a74e3f9e3 [NUCLEO_F401RE] Update STM32CubeF4 driver V1.0.0 (part 1/4) 2014-02-25 16:44:12 +01:00
0xc0170 97b1598698 TSI electrodes uses regular pinNames 2014-02-23 21:42:16 +01:00
bcostm 330d1a96b0 [NUCLEO_xxx] Add missing USBTX/USBRX pins definition 2014-02-23 16:50:40 +01:00
0xc0170 f28afaedfc PinNames addition, KL05Z uARM online toolchain
- FRDM - TSI elec symbols
	- Nucleo - SERIAL_TX pinName to USBTX , same for RX
	- KL05Z - uARM set as online toolchain
2014-02-23 11:19:30 +01:00
tkuyucu 2dfdee5fe4 Merge remote-tracking branch 'upstream/master' 2014-02-21 12:54:53 +01:00
tkuyucu edc9095e7d SoftDevice added. 2014-02-21 12:53:58 +01:00
sg- 5a64111465 Merge branch 'nxp_merge'
Conflicts:
	workspace_tools/export/uvision4.py
2014-02-20 16:30:38 -06:00
Emilio Monti 65f5457fff Merge pull request #181 from Sissors/master
Enable sleep for KL05Z
2014-02-20 18:48:15 +00:00
Sissors 26f4773c60 Enable sleep for KL05Z 2014-02-20 19:15:27 +01:00
tkuyucu 8920003345 Merge remote-tracking branch 'upstream/master' 2014-02-20 12:43:26 +01:00
tkuyucu 2ec518a249 Added checks on compilation flags. 2014-02-20 12:43:06 +01:00
Emilio Monti 96dbf718f7 Merge pull request #178 from sg-/FRDM-fix
add arduino I2C naming to PinNames.h
2014-02-20 11:05:56 +00:00
sg- 48739cc5e4 add arduino I2C naming to PinNames.h 2014-02-19 15:02:03 -06:00
Emilio Monti 32764eb5d5 Merge pull request #177 from bcostm/master
Change us_ticker timer (32-bit) on Nucleo L152RE and F401RE
2014-02-19 17:01:04 +00:00
bcostm de4e1be4ef [NUCLEO_F401RE] Change us_ticker timer (32-bit one)
Remove also the disable/enable timer update IT in sleep (no more
necessary).
2014-02-19 17:51:22 +01:00
tkuyucu 3b702158ae Writing FWID to UICR in SystemInit 2014-02-19 17:26:59 +01:00
bcostm ae97da7b56 [NUCLEO_L152RE] Change us_ticker timer (32-bit one) 2014-02-19 16:29:09 +01:00
bcostm fe63154f89 [NUCLEO_F401RE] Remove PB_11 pin. 2014-02-19 13:01:41 +01:00
tkuyucu ec220d9996 Merge remote-tracking branch 'upstream/master' 2014-02-19 12:45:10 +01:00
tkuyucu befaefcdb8 Updated copyright headers
commented out unused variable in cmsis_nvic.c
2014-02-19 12:43:56 +01:00
Toyomasa Watarai ca527e4dd9 Corrected wrong pin names 2014-02-19 19:25:20 +09:00
0xc0170 cd46fa2a73 CMSIS system for KL05Z update
- clocking from external 32kHz is set by default
2014-02-19 08:52:59 +01:00
sg- be8cccd16f Tabs to spaces... 2014-02-18 14:16:46 -06:00
sg- a09c1a724f Added some PinNames for Arduino compatibility and cleaned up white spaces 2014-02-18 14:12:40 -06:00
sg- 1f50bfc7c5 Update peripheral pin mapping and pin names 2014-02-18 12:08:11 -06:00
Emilio Monti 8583716513 Merge pull request #174 from Sissors/master
Properly round non integer bus-frequencies in MHz
2014-02-18 17:48:06 +00:00
Sissors 65d66455c0 Properly round non integer bus-frequencies in MHz
PIT prescaler now rounds to nearest instead of down. Since when FLL is
used (default on KL05Z, but also possible on others), the bus
frequencies is 23.986MHz, rounding down is bad.
2014-02-18 18:40:33 +01:00
bcostm fd0754864e [NUCLEO_xxx] Fix issue with ticker + add volatile 2014-02-18 16:40:54 +01:00
Emilio Monti a8f17f5426 Fix DAC initialization# 2014-02-18 13:59:58 +00:00
Emilio Monti 10297b352c Merge pull request #172 from bcostm/master
[NUCLEO_xxx] Fix us_ticker and analog_out issues when -O3/-Otime options are used
2014-02-18 11:02:46 +00:00
Emilio Monti 18bc485181 Merge pull request #170 from sg-/kl05_uarm
Added uARM support for KL05Z and added target to build_release.py. Also ...
2014-02-18 10:20:59 +00:00
Emilio Monti a2a5490f5d Merge pull request #171 from Sissors/master
Fixed LPC1114 InterruptIn for Port1 (and higher)
2014-02-18 10:19:35 +00:00
bcostm c482ad79a1 [NUCLEO_L152RE] Fix issue with analog_out and -O3/Otime options 2014-02-18 10:56:16 +01:00
bcostm 1c2bc03f99 [NUCLEO_xxx] Fix us_ticker issue 2014-02-18 09:34:32 +01:00
bcostm 636114b4d1 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-02-18 08:19:31 +01:00
Sissors 8da53457ab Fixed LPC1114 InterruptIn for Port1 (and higher)
Channel was only calculated using bits set, port number was ignored.
2014-02-18 07:58:25 +01:00
sg- bded790c9b Added uARM support for KL05Z and added target to build_release.py. Also updated uvision4.py to UBLOX_C027 from previous name C027 2014-02-17 22:12:16 -06:00
Emilio Monti b87dac9fce fix us_ticker issue for Nucleo boards 2014-02-17 16:13:40 +00:00
tkuyucu 4d767c0dc8 Updated Sleep
using WFE for nordic sleep
Removed systemoff call from deepleep since it does not retain program
state.
2014-02-17 15:54:39 +01:00
tkuyucu cfb9b992c3 Merge remote-tracking branch 'upstream/master' 2014-02-17 11:25:54 +01:00
tkuyucu 4f6b0b6443 nordic_global.h file now included 2014-02-17 10:31:20 +01:00
bcostm 19b70d8833 [NUCLEO_xxx] Add other #pragma O0/Ospace for ticker 2014-02-17 09:10:14 +01:00
Toyomasa Watarai 01cfe17b3d [LPC1549] Added InterruptIn support 2014-02-16 22:38:09 +09:00
bcostm e9ff16fa11 [NUCLEO_xxx] Change code optimization for us_ticker_read()
Fix issue when the hal is compiled with -O3 -Otime
2014-02-16 12:13:42 +01:00
ytsuboi a2f2f44258 [LPC1549] Added I2C master support 2014-02-15 18:23:06 +09:00
Toyomasa Watarai 95f4057499 [LPC1549] Added AnalogIn support 2014-02-15 15:18:35 +09:00
tkuyucu d7dae24aaa Removed UICR edit. 2014-02-14 12:32:04 +01:00
Toyomasa Watarai e2a47d9daa [LPC1549] Corrected wrong pin name 2014-02-14 19:14:05 +09:00
Toyomasa Watarai 5fbea95fe2 [LPC1549] Added Arduino Shield Receptacles Names 2014-02-14 16:18:48 +09:00
bcostm fda11bae82 [NUCLEO_xxx] Fix issue with attach_us function 2014-02-13 14:11:01 +01:00
Toyomasa Watarai 1c2e2ce572 [LPC1549] Fixed us_ticker problem 2014-02-13 17:00:25 +09:00
Toyomasa Watarai 07706f0821 [LPC1549] Added SPI support 2014-02-13 16:52:38 +09:00
ytsuboi 78d4c7345b [LPC1549] Added UART support 2014-02-12 23:43:27 +09:00
ytsuboi 5f1f6c7417 [LPC1549] put PINASSIGN0-15 to PINASSIGN[] on LPC15xx.h
and fixed typo on system_LPC15xx.c
2014-02-12 16:13:00 +09:00
bcostm 156be94791 [NUCLEO_F401RE] Add uvision exporter + remove compilation warning 2014-02-11 21:08:36 +01:00
bcostm 90c261a513 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-02-11 16:50:40 +01:00
bcostm e9394fc5f5 Add exporters for NUCLEO_L152RE and F030R8 2014-02-11 16:38:37 +01:00
Emilio Monti 17499c34d2 Remove stm32f4xx_hal_msp template 2014-02-11 14:51:18 +00:00
Toyomasa Watarai 741bfc22b1 [LPC1549] Fixed GPIO
Clean-up PinNames.h and GPIOrelated functions.
2014-02-11 23:18:59 +09:00
ytsuboi e06e842221 [LPC1549] initial commit 2014-02-11 15:54:38 +09:00
bcostm ddce5e741d [NUCLEO_F103RB] Correction in SPI clock setting. 2014-02-10 16:33:45 +01:00
bcostm adab2d9fbc [NUCLEO_F401RE] Correction in GPIO setting (wrong macro used). 2014-02-10 15:17:46 +01:00
Emilio Monti 9272cdeb45 Merge pull request #161 from bcostm/master
Add NUCLEO_F401RE, improvements
2014-02-08 19:33:17 +00:00
bcostm 3a64c7f9d5 [NUCLEO_F401RE] Add toolchain_arm_micro files 2014-02-08 19:12:37 +01:00
sg- fad5c27038 Add default interrupt handler for Freescale NMI_b pins. 2014-02-07 18:20:45 -06:00
sg- 7ef411e7fb Clean up tabs to spaces 2014-02-07 18:13:02 -06:00
sg- 5237b766e6 Updated PinMap PinMap_PWM for KL05Z, KL25Z and KL46Z targets. Should support all MCU pins 2014-02-07 18:07:11 -06:00
tkuyucu 026b6610a8 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libraries/tests/mbed/portinout/main.cpp
	libraries/tests/mbed/portout_portin/main.cpp
	libraries/tests/mbed/sd/main.cpp
	libraries/tests/mbed/spi_slave/main.cpp
	workspace_tools/targets.py
	workspace_tools/toolchains/arm.py
	workspace_tools/toolchains/gcc.py
	workspace_tools/toolchains/iar.py
2014-02-07 11:04:50 +01:00
tkuyucu 9b701f6a49 No Ports reduced to 1
Licensing headers replaced with mbed Apache.
SPI/SPIS pin configuration is done via PIN_CNF
2014-02-07 10:28:34 +01:00
bcostm e69063a971 [NUCLEO_F401RE] Add Cube F4 driver V1.0.0RC2 2014-02-07 09:40:12 +01:00
bcostm c08d507168 [NUCLEO_F401RE] Many corrections on pinmap, RTC, ... 2014-02-07 09:36:31 +01:00
bcostm 4ee89986b7 [NUCLEO_F103RB] Update mapping file.
Solve compilation error with flash.
2014-02-07 09:33:15 +01:00
bcostm a3d0a9bd96 [NUCLEO_F401RE] Add cmsis files 2014-02-05 18:08:43 +01:00
bcostm 99b0820eb3 [NUCLEO_F401RE] Add hal files 2014-02-05 17:58:01 +01:00
tkuyucu 43fe5a4e44 Hardcoded location for FWID is used. 2014-02-04 15:03:44 +01:00
bcostm 01fc443ef8 Add missing interrupt enable 2014-02-04 13:03:00 +01:00
tkuyucu b77d61416f UICR values are written by the SystemInit, if missing. 2014-02-04 10:20:40 +01:00
tkuyucu 1eba6888b4 debug comments removed 2014-02-04 08:33:54 +01:00
tkuyucu 08c145aaa6 files and folders renamed to remove case sensitivity 2014-02-04 08:32:34 +01:00
tkuyucu 84b2255ce2 Reformatting 2014-02-03 16:36:23 +01:00
tkuyucu 804188a6f7 Clean up and Reformatting
Unused header files are removed from the cmsis dir.
Tab characters replaced by 4 spaces.
Brackets and parenthesis formatted.
Spi slave functions updated for faster response.
2014-02-03 10:33:34 +01:00
bcostm 4ad143ae95 Typo corrections 2014-02-01 22:05:45 +01:00
bcostm ae20d141c5 [NUCLEO_F030R8] Remove timer update interrupt in sleep 2014-02-01 19:15:23 +01:00
bcostm 2663367dc5 [NUCLEO_L152RE] Remove timer update interrupt in sleep
Otherwise the first update interruption will wake-up the MCU.
2014-02-01 19:05:03 +01:00
bcostm 3fba65b769 [NUCLEO_F103RB] Update to std periph driver V3.6.1 2014-02-01 18:48:55 +01:00
bcostm b275fc579a [NUCLEO_F103RB] Change ticker to use one timer...
and add another pwm output.
2014-02-01 13:27:56 +01:00
bcostm 0110c3eec4 [NUCLEO_L152RE] Add PWM output, ticker with one timer
The us_ticker uses now only one timer instead of two. Another PWM output
on TIM4 has been added.
2014-01-31 18:14:31 +01:00
bcostm e9fe1394a5 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-01-31 11:41:14 +01:00
Bogdan Marinescu 2665d5bac4 Modified call-before-main mechanism
Added a new function (mbed_sdk_init) that can be used by the SDK itself to
do initializations before main() is called.
2014-01-31 11:58:18 +02:00
Bogdan Marinescu 74409cbd59 Re-apply 178f881566 on top of the new changes 2014-01-31 11:50:35 +02:00
Bogdan Marinescu f2e1518220 Merge branch 'master' of git://github.com/Sissors/mbed into Sissors-master
Conflicts:
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/analogin_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/analogout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/gpio_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/i2c_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/pinmap.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/pwmout_api.c
2014-01-31 11:46:22 +02:00
bcostm a865de928b [NUCLEO_F030R8] Add pwmout api 2014-01-31 10:32:11 +01:00
Bogdan Marinescu 2a782f5067 Merge pull request #149 from cobrid/master
Remove unnecessary semicolons.
2014-01-31 00:55:41 -08:00
Bogdan Marinescu 6c4dc5cd33 Merge pull request #155 from sg-/c027_lpc1768_refactor
Forgot to add this file...
2014-01-31 00:54:56 -08:00
bcostm 6a30215feb [NUCLEO_F030R8] Modify us_ticker to use only one timer 2014-01-31 08:27:46 +01:00
Sissors fb3fe6003a Put PeripheralPin constant values in .c files, definitions in .h 2014-01-30 18:19:34 +01:00
sg- 1db40f89a7 Forgot to add this file... 2014-01-30 09:55:50 -06:00
bcostm 77bb1560ba [NUCLEO_L152RE] Change SPI frequency setting 2014-01-30 15:30:33 +01:00