Commit Graph

585 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
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