Commit Graph

1030 Commits (850bb1164573f50c82f69434cfa56b451e90ff9b)

Author SHA1 Message Date
Emilio Monti 93e44fb5a5 Merge pull request #221 from bcostm/master
[NUCLEO_F302R8] and [NUCLEO_L152RE] updates
2014-03-20 11:37:36 +00:00
Przemek Wirkus e051431053 Added MBED_11 ticker host test automation (test uses the same host_test script to test ticker as wait_us test. 2014-03-20 11:34:47 +00:00
Przemek Wirkus c32258de09 Added Interrupt vector relocation test automation. 2014-03-20 11:06:14 +00:00
Przemek Wirkus 8c234adf9a Trailing spaces removed 2014-03-20 10:55:45 +00:00
Przemek Wirkus f63ce6a2c0 Added MBED_12 test (C++) automation. target test code also updated. 2014-03-20 10:54:55 +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
Przemek Wirkus c0263fdf4d Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-03-19 19:57:29 +00:00
Przemek Wirkus d07ed138b2 Added us Timer proper host test automation 2014-03-19 19:57:02 +00: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
Emilio Monti ace35dfba3 Merge pull request #215 from bcostm/master
[NUCLEO_F302R8] Add cmsis and hal files + change F401RE clock to 84MHz
2014-03-19 10:06:36 +00: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
ban4jp e86d75f3f1 Merge remote-tracking branch 'upstream/master' 2014-03-19 10:01:30 +09:00
ban4jp f210d81b56 [KL46Z] Add mbed-rtos define for KL46Z 2014-03-19 03:56:17 +09: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
Przemek Wirkus 6cb99d9bd7 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-03-17 17:39:30 +00:00
Przemek Wirkus 47a8df4b51 TC and UDP client updates. Added automation information to test suite. Added new peripherial: 'ethernet' 2014-03-17 17:39:24 +00:00
Przemek Wirkus b345a189cf Added implementation for TCP and UDP client 2014-03-17 17:29:18 +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
Przemek Wirkus 34e19e31e5 Added automation tests' implementation for TCP_Server, UDP_Server and STDIO 2014-03-17 11:58:35 +00: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
Przemek Wirkus 9105963e2c Removed trailing spaces 2014-03-11 15:37:43 +00:00
Przemek Wirkus 02a0f4d321 Aligned USART RX/TX naming with ST NUCLEO board HAL 2014-03-11 15:36:53 +00:00
Przemek Wirkus dc1e190d9e Fixed pinology for ECHO test for NUCLEO boards: F103RB, L152RE, F401RE, F030R8 2014-03-11 15:01:03 +00:00
Przemek Wirkus 2bb462f5a3 InterruptIn test support added for NUCLEO boards: F103RB, L152RE, F401RE, F030R8 2014-03-11 11:58:33 +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 882ceb80ee Merge pull request #204 from fatih-asici/master
Fix checking of TARGET_* symbols
2014-03-10 11:37:08 +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
Fatih Aşıcı 4a0b7893ec Fix checking of TARGET_* symbols 2014-03-08 23:30:50 +02:00
Emilio Monti 50b949b631 Merge pull request #202 from donatieng/master
Protection against concurrent access to USBHost
2014-03-07 15:47:03 +00:00
Donatien Garnier 876134ec22 Protection against concurrent access to USBHost
Fixed regression: Protection against concurrent access to USBHost using
locking class
Use Lock class within USBHost
2014-03-07 15:01:57 +00: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 db13fa3402 init enum 2014-03-03 15:04:55 +01: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
mazgch 63f20534ca fix merge conflict 2014-03-03 12:14:44 +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
mazgch f77045e9e7 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-03-03 10:42:36 +01:00
mazgch 0acbc6440e at command if: improve warning reporting
link monitor: added api to get local phone number to link monitor
ubx modem: added network indication led
ubx modem: better handle different modems
2014-03-03 10:36:23 +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
Emilio Monti 6b57b52374 Merge pull request #190 from xiongyihui/master
add D0-D13 and A0-A5 for Arch V1.1 and Arch Pro
2014-02-27 09:39:57 +00:00
0xc0170 6d786761c7 KL46Z and K20D5M targets addition
- sharing KL25Z implementation (same USB peripheral)
2014-02-26 20:11:39 +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
Przemek Wirkus c74365cb83 LED test completion notification changed. Now if board do not have LED4, target will only blink LED1 to indicate test success. If test fails LED1 will not blink. This behaviour will be changed in the future. Now it is mainly removing compilation error (LED4 not defined). 2014-02-24 15:34:35 +00: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
Emilio Monti 3279edf10e Add first BLE API test 2014-02-21 15:05:21 +00: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
Olivier Martin 2251b0267d libraries/fs: Added logic to transparently sync written file
fflush() does not do anything in mbed library. The only time the file
was flushed was when it was closed.
For some applications (eg: data logger), files are never closed. It
means when the power went off all the written data were lost.
Actually, they were not lost; they were written into the non-volatile
storage. But the file header was not aware of these new data (its
file information such as file size were not updated).

There is no easy way to retarget fflush() for mbed. So, the workaround
is to fflush (eg: 'sync' in the ChaN terminology) periodically
while writting new data.

The frequency can be changed by the user into ffconf.h.
By default, the updated file will be synced for every new sector (generally
for every 512 bytes). Another available option is to sync for every
new cluster (in my use case, the cluster was 8 sectors long).
2014-02-21 09:57:23 +00: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 8719388932 Merge pull request #180 from oliviermartin/om/usb-serial-non-blocking
libraries/USBSerial: Allow the USB connection to be non-blocking
2014-02-20 11:06:52 +00: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
Olivier Martin 29f71517d4 libraries/USBSerial: Allow to create an instance without the USB cable being plugged in
Prior to this change the connection was waiting for a USB cable to be plugged in.
2014-02-20 00:37:21 +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 3c8f1c0c59 Merge pull request #169 from oliviermartin/om/usb-device-connect-non-blocking
Allow USBDevice::connect() to be non-blocking
2014-02-18 10:51:54 +00:00
Emilio Monti 4d6bf98d64 Merge pull request #168 from oliviermartin/om/sd-fix-when-no-card-present
libraries/sd: Fixed SDFileSystem when no card present
2014-02-18 10:47:11 +00:00
Emilio Monti 7d21ccaf0d Merge pull request #167 from oliviermartin/om/sd-change-default-clock-settings
libraries/sd: Allow changing the default clock settings for the initialization and transfer states.
2014-02-18 10:45:22 +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
Olivier Martin f19f0b27c1 Allow USBDevice::connect() to be non-blocking.
It is required if USB is not the primary use of the device (eg: use
of USB mass storage to transfer pictures from the camera (the
device) to the host once in a while).
2014-02-17 23:55:46 +00:00
Olivier Martin 1e548aba02 libraries/sd: Allow changing the default clock settings for the initialization and transfer states. 2014-02-17 23:49:33 +00:00
Olivier Martin cd2b7de281 libraries/sd: Fixed SDFileSystem when no card present (or failed its initialization). 2014-02-17 23:44:12 +00: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
Emilio Monti 725053636a Merge pull request #165 from bcostm/master
[NUCLEO_xxx] Fix issue with attach_us function
2014-02-13 18:04:15 +00: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
Emilio Monti 0466e90b2a Merge pull request #163 from bcostm/master
Add uvision exporters for NUCLEO_L152RE/F030R8/F401RE
2014-02-11 23:01:21 +00:00
bcostm 156be94791 [NUCLEO_F401RE] Add uvision exporter + remove compilation warning 2014-02-11 21:08:36 +01:00
Emilio Monti b213992ac0 Optimize for speed 2014-02-11 17:07:29 +00: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 82ff30dd43 Merge pull request #157 from mazgch/master
fix debug output filter
2014-01-31 02:20:39 -08:00
mazgch 627c9d788a fix debug output filter 2014-01-31 11:12:55 +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
bcostm ca173a1867 [NUCLEO_F030R8] Add SPI api, corrections in I2C 2014-01-30 15:29:07 +01:00
Bogdan Marinescu dba523f83f Merge pull request #154 from bcostm/master
Update of I2C, SPI, SLEEP for NUCLEO_F103RB and L152RE
2014-01-30 04:02:04 -08:00
bcostm 08941aaba1 [NUCLEO_L152RE] Add sleep api 2014-01-30 11:14:59 +01:00
Bogdan Marinescu 6e82b54538 Merge branch 'c027_lpc1768_refactor' of git://github.com/sg-/mbed into sg--c027_lpc1768_refactor
Conflicts:
	workspace_tools/export/uvision4.py
2014-01-30 11:31:56 +02:00
bcostm 90f7a2b80d [NUCLEO_L152RE] Change AF setting before GPIO setting 2014-01-30 10:13:59 +01:00
bcostm f712477c36 [NUCLEO_F103RB] Change AF setting before GPIO setting 2014-01-30 10:13:35 +01:00
bcostm 3ace84aece [NUCLEO_F030R8] Change AF setting before GPIO setting 2014-01-30 10:13:16 +01:00
bcostm 955223fd2c [NUCLEO_L152RE] Update std periph driver to V1.3.0 2014-01-30 09:53:14 +01:00
bcostm 6f06f6ecd2 [NUCLEO_L152RE] Correction on I2C gpio configuration + code cleanup 2014-01-30 09:49:51 +01:00
bcostm 740f801bb5 [NUCLEO_F103RB] Correction on I2C gpio configuration 2014-01-30 09:48:57 +01:00
tkuyucu 05d6525285 Pwm timer interrupt priority set to 1.
When timer interrupt priority is at 3, the pwm functionality can be
disturbed by an active ble connection.
2014-01-30 09:24:53 +01:00
bcostm 139f4fb16f [NUCLEO_L152RE] Add SPI api 2014-01-30 07:56:35 +01:00
sg- 28f0cf71b3 Update to macro test in board.c, remove C027.cpp(h), set default IO in mbed_main and fixed copy paste error in MBED_LPC1768 reserved_pins.h 2014-01-29 22:33:41 -06:00
bcostm 3c54df796f [NUCLEO_F103RB] Minor corrections on I2C master api 2014-01-29 15:17:10 +01:00
Sissors 67972d03af Replaced tabs by spaces
Now Martin is happy :)
2014-01-29 14:43:26 +01:00
sg- f1fa9a0c25 Added support for C027. Small re-factor to LPC1768 to accommodate this. 2014-01-28 20:44:32 -06:00
Sissors 2c2bf35a77 Refactored KLXX code
See description. Everything HAL wise went into KLXX, with target
specific in subfolders. Only interrupt and spi are in target specific
since they are target specific.

Also you cannot set the uart anymore for 9 or 10 databits (the code
supported it to set it like that, but the actually read/write only did
8-bits)
2014-01-28 18:57:07 +01:00
bcostm 015887091d [NUCLEO_F030R8] Add I2C master api 2014-01-28 16:17:18 +01:00
0xc0170 178f881566 KL05Z/LPC1768 coide tmpl, KL05Z GCC warnings fixed
- LPC1768 - coide has issues with CMSIS-DAP debugging, already reported.
	  Added this template but not enabled yet.
	- KL05Z export for coide
	- KL05Z - supressed warnings in HAL
2014-01-27 20:37:58 +01:00
Bogdan Marinescu 887fc11980 Merge pull request #151 from bcostm/master
[NUCLEO_F030R8] Fix vectors remap in RAM issue and more...
2014-01-27 07:25:03 -08:00
bcostm 6866978792 [NUCLEO_F030R8] Fix vectors remap in RAM issue and more...
Improve gpio api, add gpio_irq, add sleep.
2014-01-27 15:53:00 +01:00
Bogdan Marinescu a31ec9c5f7 Merge pull request #150 from bcostm/master
Add NUCLEO_L152RE
2014-01-27 06:22:13 -08:00
bcostm 1ccef1a441 [NUCLEO_L152RE] Improvements of gpio and gpio_irq api 2014-01-27 10:02:15 +01:00
bcostm d14992dcfd [NUCLEO_F103RB] Improvement of gpio and gpio_irq api 2014-01-27 09:59:07 +01:00
Chiel de Roest 8b3cdc0067 Remove unnecessary semicolons.
Remove unnecessary colon that was placed in all SPI drivers for NXP
targets.
2014-01-24 22:49:09 +01:00
neilt6 8e346fc498 Fixed sleep and disabled semihosting on LPC11U35
I created 3 separate device.h headers for the three LPC11UXX targets,
and disabled the features that the LPC11U35 board doesn't have like
Semihosting and LocalFileSystem. I also made the call to
mbed_interface_disconnect() require DEVICE_SEMIHOSTING, which prevents
calls to sleep() from hanging the system on an LPC11U35.
2014-01-24 10:51:48 -07:00
bcostm a088e343a6 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-01-24 15:02:24 +01:00
bcostm 4afc4e4a3b [NUCLEO_F030R8] Add rtc api 2014-01-24 14:52:13 +01:00
bcostm c9bd30590f [NUCLEO_L152RE] Add rtc api 2014-01-24 14:51:43 +01:00
bcostm 3adc6b41df [NUCLEO_F030R8] Add analogin api 2014-01-24 12:17:15 +01:00
neilt6 e4d4963a60 LPC11U35 support for USBDevice and mbed-rtos
Added support for the EA LPC11U35 QuickStart Board to USBDevice an
mbed-rtos. Also fixed several string-related bugs in USBDevice.
2014-01-23 09:37:26 -07:00
bcostm 81482e6d92 [NUCLEO_L152RE] Add gpio_irq api 2014-01-22 18:36:35 +01:00
bcostm 486ebece6b [NUCLEO_F030R8] Add serial api 2014-01-22 17:59:04 +01:00
bcostm a5726b883b [NUCLEO_F030R8] Add gpio, port, ticker api, cmsis files 2014-01-22 17:53:54 +01:00
tkuyucu 689a484d23 Stack and heap initialization is removed from the startup file. This solves the mbed runtime problems with the SoftDevice enabled. 2014-01-22 13:58:30 +01:00
bcostm e577faef66 [NUCLEO_L152RE] Add analog out api
and add macros for GPIOs, change master timer for ticker.
2014-01-22 08:22:01 +01:00