Commit Graph

555 Commits (b7a925e3cf046d2c5a95f80b14d6c285afbdfa7e)

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
0xc0170 988894e837 Merge branch 'master' into K20D50 2013-12-17 16:13:27 +01:00