Commit Graph

827 Commits (ebdbf53ba1a2161de5091f61b58d9d4b31476e07)

Author SHA1 Message Date
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
Sissors 7df2622a76 SPI clock fix for KL05Z and KL46Z 2014-01-09 07:57:45 +01:00
Sissors ed7954f5ac Fixed KL25Z SPI clock
https://mbed.org/questions/2309/spifrequency-for-KL25Z/
2014-01-08 21:00:40 +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
Bogdan Marinescu 12e3614e38 Merge branch 'master' of github.com:mbedmicro/mbed 2014-01-07 16:48:33 +02:00
Bogdan Marinescu b5527ca74d [LPC4088] Switch to 'hard' FP ABI on GCC
This is consistent with the armcc compilation options.
2014-01-07 15:57:52 +02:00
Bogdan Marinescu 3f438a3079 Merge pull request #139 from bcostm/master
[NUCLEO_F103RB] license text changed + sleep hal updated
2014-01-07 02:54:45 -08: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
Bogdan Marinescu 971dfcf0e1 Merge pull request #137 from 0xc0170/dev_kl46_gpioirq
KL46Z gpio IRQ for PORTC and PORTD
2013-12-31 07:24:51 -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 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
ytsuboi 0a11767877 [LPC812] enable SPISlave 2013-12-29 19:18:50 +09:00
Bogdan Marinescu fba199a9c4 Merge pull request #135 from 0xc0170/K20D50
target K20D5M
2013-12-26 04:56:00 -08: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 6aa237fad2 K20D5M exporters for uVision and ARM GCC 2013-12-25 20:29:34 +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
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
Joey Ye feacef8f3a Clean up GCC_ARM startup code 2013-12-20 15:08:20 +08:00
Bogdan Marinescu 425e197ba6 Fix missing case in flow control code 2013-12-19 17:59:24 +02:00
Bogdan Marinescu 4b4b986cdb Changed flow control test pin assignments 2013-12-19 15:05:36 +02:00
Bogdan Marinescu 5f62a399db Added preliminary printf() support to RawSerial 2013-12-19 15:05:17 +02:00
Bogdan Marinescu e162e96245 Always use the local version of workspace_tools
This ensures compatibility with the mbed-tools package.
2013-12-19 15:02:57 +02:00
bcostm 28120ffb19 [NUCLEO_F103RB] Change license text in ALL target files 2013-12-19 11:44:15 +01:00
Bogdan Marinescu 34a43eaa41 Merge branch 'flow_control'
Conflicts:
	workspace_tools/tests.py
2013-12-19 11:36:45 +02:00
Bogdan Marinescu bb8ed20a47 LPC1768 flow control fixes
- Disable TX buffer, this isn't compatible with the software CTS implementation
- Properly set hardware RTS/CTS pins when possible
- Modified test to use hardware CTS and software RTS
2013-12-19 11:31:23 +02:00
Bogdan Marinescu f56cbfa53e Merge pull request #133 from xiongyihui/master
fix 16bit timer pwm output
2013-12-19 00:54:16 -08:00
Yihui Xiong 6501b16213 Merge remote-tracking branch 'upstream/master' 2013-12-19 12:38:04 +08:00
Yihui Xiong a3465b5eac fix 16bit timer pwm output 2013-12-19 12:31:31 +08:00
Joey Ye 9213137011 Discard \r change as pull request rejected 2013-12-19 09:30:18 +08:00
Bogdan Marinescu b74e0c8b39 mbed-tools package improvements
- install all the needed components
- use a customized version of private_settings.py. Projects using mbed-tools
  will be able to use mbed_settings.py instead of private_settings.py. This
  ensures compatibility with the current structure.
2013-12-18 16:03:27 +02:00
0xc0170 988894e837 Merge branch 'master' into K20D50 2013-12-17 16:13:27 +01:00
Bogdan Marinescu 8ec31ead80 Merge pull request #132 from mazgch/master
Detection of modem when using serial port, CDMA version of linkmonitor
2013-12-17 06:24:12 -08:00
Bogdan Marinescu 1eec522274 Merge pull request #131 from bcostm/master
[NUCLEO_F103RB] Use HSI/LSI instead of HSE/LSE (board rev C constraint)
2013-12-17 02:53:45 -08:00
mazgch 6b9f2079f1 Add detection of LISA-C to select CDMA protocol when using serial port.
Make link monitor compatible with CDMA (no AT+COPS).
2013-12-17 11:35:23 +01:00
bcostm 9702a131d4 Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-12-17 11:10:12 +01:00
Bogdan Marinescu c560db3233 Merge branch 'KL46_DEV' of git://github.com/sg-/mbed into sg--KL46_DEV
Conflicts:
	README.md
2013-12-17 12:06:12 +02:00
bcostm c84b8f9193 [NUCLEO_F103RB] Use HSI/LSI instead of HSE/LSE
Due to Nucleo board revision C requirements.
2013-12-17 11:04:28 +01:00
Bogdan Marinescu 572b22395f Merge pull request #129 from bcostm/master
[NUCLEO_F103RB] InterruptIn, Sleep, RTC added
2013-12-17 00:41:36 -08:00
Bogdan Marinescu 2fb9de927c Merge pull request #127 from 0xc0170/dev_KL05Z_exporters
Dev kl05 z exporters
2013-12-17 00:40:49 -08:00
sg- 6e4388c303 Fix typo in README.md URL 2013-12-16 18:46:21 -06:00