Bogdan Marinescu
b4e467ce15
Merge pull request #142 from 0xc0170/dev_kl25z_coide
...
KL25Z CoIDE exporter
2014-01-13 01:24:50 -08:00
bcostm
bef6fdf339
[NUCLEO_F103RB] Code cleanup, correction in pins definition
2014-01-13 09:24:31 +01:00
0xc0170
38f24228db
file type support
2014-01-12 11:34:35 +01:00
0xc0170
9fe172d939
libraries addition, link command correction
2014-01-12 11:17:21 +01:00
0xc0170
df403f2430
Initial commit - CoIDE for KL25Z
2014-01-12 09:03:46 +01: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
bcostm
7d145c8dc4
[NUCLEO_L152RE] Add first files (gpio, pinmap, us_ticker)
2014-01-10 17:46:18 +01:00
tkuyucu
fdb41b0ccb
serial will choose the nearest lower baudrate if an unsupported value is chosen.
2014-01-10 15:53:43 +01:00
tkuyucu
29560a3195
SPI and I2C will accept unsupported frequencies and match them with the closest available frequency instead of generating an error.
...
Sleep is now implemented (deepsleep will cause nrf to work in System OFF mode).
2014-01-10 14:21:43 +01:00
tkuyucu
c7eabcd977
Interrupt priorities set to low application level (3) in order to ensure no conflict with the SD.
2014-01-09 14:03:20 +01:00
Bogdan Marinescu
fa9f5da469
Merge pull request #141 from arebert/lpc4088
...
[LPC4088] RAM size fix for ARM_GCC. Added possibility to reserve stack space
2014-01-09 00:59:43 -08: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
sg-
210cead56b
changes
2014-01-08 16:41:13 -06: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
tkuyucu
694f9c726c
fixes and updates after the mbed unit tests have been carried out.
2014-01-08 11:14:19 +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
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
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
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
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
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