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
bcostm
e3e5180256
[NUCLEO_F103RB] Cleanup code
...
Add STM_PIN and STM_PORT macros for GPIOs.
2014-01-22 07:48:10 +01:00
bcostm
0af4419c74
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-01-20 18:09:48 +01:00
bcostm
f27e93cf3f
[NUCLEO_L152RE] Add analog out api
2014-01-20 17:45:35 +01:00
bcostm
23e383be36
[NUCLEO_L152RE] Add pwmout api
2014-01-17 17:14:29 +01:00
bcostm
a2efcd2c92
[NUCLEO_L152RE] analog_in improvement
2014-01-16 13:25:43 +01:00
bcostm
e5b641777a
[NUCLEO_L152RE] Add analogin api
2014-01-16 13:16:35 +01:00
Bogdan Marinescu
8ef99f8562
Merge pull request #145 from Sissors/master
...
Added MCGPLLFLL clock function, squished some 'bugs'
2014-01-14 14:12:48 -08:00
Sissors
153a9ddb49
Added MCGPLLFLL clock function, squished some 'bugs'
...
PWM bug mentioned here:
https://mbed.org/questions/2315/BUG-Exporting-to-ARM-GCC-does-not-work-n/
Fast internal osc prescaler wasn't taken into account at us_ticker
interrupt clock source, now it is.
2014-01-14 22:57:43 +01:00
0xc0170
937430a130
clk freq header file
...
- HAL clock improvement
2014-01-14 17:51:09 +01:00
0xc0170
4e5993e7ee
Merge branch 'master' into dev_k20d5m_testing
2014-01-14 15:47:22 +01:00
bcostm
ffb7f13018
[NUCLEO_F152RE] Correction in pinmap
2014-01-14 10:14:08 +01:00
bcostm
ba5866b35e
[NUCLEO_L152RE] Fix bugs with gpio and serial
2014-01-13 14:20:27 +01:00
Bogdan Marinescu
f1904ba15c
Merge pull request #140 from Sissors/master
...
KL46Z: Added Sleep, LED3 and LED4 definitions, switches
2014-01-13 02:37:11 -08:00
bcostm
cbfdc4e26d
[NUCLEO_L152RE] Cleanup in available ports/pins
2014-01-13 10:27:47 +01:00
bcostm
bef6fdf339
[NUCLEO_F103RB] Code cleanup, correction in pins definition
2014-01-13 09:24:31 +01:00
Sissors
aa0f7a7026
Added clk_freqs.h for clock related functions
...
Serial now also works when PLL/FLL is disabled and extosc is available.
us_ticker tries to divide extosc to 1MHz, otherwise use fast internal
oscillator
2014-01-11 19:10:36 +01:00
Sissors
ebdbf53ba1
Updat PWM prescaler correctly
2014-01-11 09:40:10 +01:00
Sissors
eedce209c5
Removed hardcoded frequencies, replaced by automatically calculated
...
ADC frequency 1.5MHz -> 6MHz (if possible, otherwise it tries as close
to, but less than 6MHz)
pwm tries to get its clock as close as possible to 1MHz, but not lower
than 1MHz
2014-01-10 21:45:26 +01:00
bcostm
7d145c8dc4
[NUCLEO_L152RE] Add first files (gpio, pinmap, us_ticker)
2014-01-10 17:46:18 +01:00
tkuyucu
fdb41b0ccb
serial will choose the nearest lower baudrate if an unsupported value is chosen.
2014-01-10 15:53:43 +01:00
tkuyucu
29560a3195
SPI and I2C will accept unsupported frequencies and match them with the closest available frequency instead of generating an error.
...
Sleep is now implemented (deepsleep will cause nrf to work in System OFF mode).
2014-01-10 14:21:43 +01:00
tkuyucu
c7eabcd977
Interrupt priorities set to low application level (3) in order to ensure no conflict with the SD.
2014-01-09 14:03:20 +01:00
Andreas Rebert
e8b09cbc2d
[LPC4088] Corrected an invalid header file dependecy.
2014-01-09 09:10:10 +01:00
Andreas Rebert
1448b871c1
[LPC4088] Making it possible to reserve stack space by weak function.
2014-01-09 08:52:33 +01:00
Andreas Rebert
3157d5afb2
[LPC4088] Making it possible to reserve stack space by weak function.
2014-01-09 08:51:30 +01:00
Sissors
7df2622a76
SPI clock fix for KL05Z and KL46Z
2014-01-09 07:57:45 +01:00
Andreas Rebert
a1a2fec259
[LPC4088]: Corrected RAM size in linker script (ARM_GCC)
2014-01-09 07:44:15 +01:00
Sissors
ed7954f5ac
Fixed KL25Z SPI clock
...
https://mbed.org/questions/2309/spifrequency-for-KL25Z/
2014-01-08 21:00:40 +01:00
0xc0170
4732796ab4
PWM channels definition update, serial uses external global variable system clock
2014-01-08 17:32:28 +01:00
0xc0170
ffac7e6d6a
PWM - pwmload removed from the objects header file
2014-01-08 12:05:11 +01:00
tkuyucu
694f9c726c
fixes and updates after the mbed unit tests have been carried out.
2014-01-08 11:14:19 +01:00
0xc0170
889952790f
PWM - mux addition
2014-01-08 10:58:51 +01:00
0xc0170
a6e45b7d38
spi - disable rx/tx fifo, write/readable flags change
2014-01-07 20:23:54 +01:00
Sissors
e5f13c047c
Added Sleep, LED3 and LED4 definitions, switches
...
Sleep = KL25Z sleep (verified to work correctly)
LED3 = LED1, LED4 = LED2 (for compatibility, similar to LED3 = LED4 in
KL25Z code)
SW1 and SW3 for the two switches (SW2 is reset switch)
2014-01-07 18:35:41 +01:00
0xc0170
5d95041620
PWM - legacy mode, LOAD use for updating
2014-01-06 18:43:17 +01:00
bcostm
dace8653e6
[NUCLEO_F103RB] Remove HSE re-configuration in sleep code.
2014-01-06 15:07:49 +01:00
bcostm
989c66165c
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-01-06 11:22:35 +01:00
Bogdan Marinescu
b311c56b44
Merge pull request #138 from ytsuboi/master
...
[LPC812] Add SPISlave function
2013-12-31 07:25:41 -08:00
ytsuboi
4fbf286ee3
[LPC812] change ssp_busy() to check RXOV
2013-12-31 20:24:46 +09:00
0xc0170
aa501c003b
Shared PORT interrupt - check improved
...
- clocks must be enabled and also interrupt detected, otherwise
interrupt handler is not invoked.
2013-12-31 08:34:12 +01:00
0xc0170
a384d1d875
pwm channel 7 correction, enhanced mode
2013-12-30 18:12:01 +01:00
0xc0170
dc19dcbb94
fix - KL46Z cmsis header (v2.2), shared interrupt PORTCD
...
- Ports C and D sharing same interrupt vectors
- KL46Z CMSIS header update
- InterruptIn methods irq_disable/enable comment update
2013-12-30 12:19:24 +01:00
0xc0170
8d7c3da179
i2c clock from global clock value, syntax corrections
2013-12-30 11:39:36 +01:00
ytsuboi
0a11767877
[LPC812] enable SPISlave
2013-12-29 19:18:50 +09:00
0xc0170
ee7c33d055
K20D5M default irq handler
2013-12-26 12:11:32 +01:00
0xc0170
15e246fc9f
Merge branch 'master' into K20D50
2013-12-26 09:05:11 +01:00
0xc0170
63526032d9
K20D5M flash algo for template
2013-12-26 09:03:19 +01:00
0xc0170
78140c4aa1
LPTMR timer - OSCEN set, GCC startup vectors add
2013-12-25 20:02:56 +01:00
Bogdan Marinescu
82aa7b7f2b
Enable RTOS with GCC_CR
...
1. Provide the required __end__ symbol
2. Call software_init_hook() if present, which in turn starts the RTOS
The fix was applied for all targets with a TOOLCHAIN_GCC_CR folder,
but it only works with LPC1768 and LPC4088 because of incomplete or
missing support for GCC_CR and/or the RTOS for the other targets.
Tested by running RTOS_1, RTOS_2 and RTOS_3 with LPC1768 and LPC4088.
2013-12-24 23:13:50 +02:00
0xc0170
b73b57db26
I2C, pullup
2013-12-23 20:56:48 +01:00
0xc0170
c9a029ce6f
Merge branch 'master' into K20D50
2013-12-23 20:01:05 +01:00
0xc0170
366221524a
SPI, RTC, Serial changes
...
- SPI - implementation
- RTC - there's 32.768kHz crystal, use that as a source
- Serial - 10bit transfer
2013-12-23 19:57:10 +01:00
tkuyucu
eb5fd7d6e0
timer overflow sync issue fixed.
2013-12-20 16:37:28 +01:00
Bogdan Marinescu
728084c52f
Merge pull request #134 from Joey-Ye/master
...
Clean up GCC_ARM startup code
2013-12-20 06:53:16 -08:00