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