Commit Graph

380 Commits (c1d3cb5aa38659dfd66790d9d2982ec4be734214)

Author SHA1 Message Date
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
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
0xc0170 97b1598698 TSI electrodes uses regular pinNames 2014-02-23 21:42:16 +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
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
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
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 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
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
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
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