bcostm
90f7a2b80d
[NUCLEO_L152RE] Change AF setting before GPIO setting
2014-01-30 10:13:59 +01:00
bcostm
f712477c36
[NUCLEO_F103RB] Change AF setting before GPIO setting
2014-01-30 10:13:35 +01:00
bcostm
3ace84aece
[NUCLEO_F030R8] Change AF setting before GPIO setting
2014-01-30 10:13:16 +01:00
bcostm
955223fd2c
[NUCLEO_L152RE] Update std periph driver to V1.3.0
2014-01-30 09:53:14 +01:00
bcostm
6f06f6ecd2
[NUCLEO_L152RE] Correction on I2C gpio configuration + code cleanup
2014-01-30 09:49:51 +01:00
bcostm
740f801bb5
[NUCLEO_F103RB] Correction on I2C gpio configuration
2014-01-30 09:48:57 +01:00
tkuyucu
05d6525285
Pwm timer interrupt priority set to 1.
...
When timer interrupt priority is at 3, the pwm functionality can be
disturbed by an active ble connection.
2014-01-30 09:24:53 +01:00
bcostm
139f4fb16f
[NUCLEO_L152RE] Add SPI api
2014-01-30 07:56:35 +01:00
sg-
28f0cf71b3
Update to macro test in board.c, remove C027.cpp(h), set default IO in mbed_main and fixed copy paste error in MBED_LPC1768 reserved_pins.h
2014-01-29 22:33:41 -06:00
bcostm
3c54df796f
[NUCLEO_F103RB] Minor corrections on I2C master api
2014-01-29 15:17:10 +01:00
Sissors
67972d03af
Replaced tabs by spaces
...
Now Martin is happy :)
2014-01-29 14:43:26 +01:00
sg-
f1fa9a0c25
Added support for C027. Small re-factor to LPC1768 to accommodate this.
2014-01-28 20:44:32 -06:00
Sissors
2c2bf35a77
Refactored KLXX code
...
See description. Everything HAL wise went into KLXX, with target
specific in subfolders. Only interrupt and spi are in target specific
since they are target specific.
Also you cannot set the uart anymore for 9 or 10 databits (the code
supported it to set it like that, but the actually read/write only did
8-bits)
2014-01-28 18:57:07 +01:00
bcostm
015887091d
[NUCLEO_F030R8] Add I2C master api
2014-01-28 16:17:18 +01:00
0xc0170
178f881566
KL05Z/LPC1768 coide tmpl, KL05Z GCC warnings fixed
...
- LPC1768 - coide has issues with CMSIS-DAP debugging, already reported.
Added this template but not enabled yet.
- KL05Z export for coide
- KL05Z - supressed warnings in HAL
2014-01-27 20:37:58 +01:00
Bogdan Marinescu
887fc11980
Merge pull request #151 from bcostm/master
...
[NUCLEO_F030R8] Fix vectors remap in RAM issue and more...
2014-01-27 07:25:03 -08:00
bcostm
6866978792
[NUCLEO_F030R8] Fix vectors remap in RAM issue and more...
...
Improve gpio api, add gpio_irq, add sleep.
2014-01-27 15:53:00 +01:00
Bogdan Marinescu
a31ec9c5f7
Merge pull request #150 from bcostm/master
...
Add NUCLEO_L152RE
2014-01-27 06:22:13 -08:00
bcostm
1ccef1a441
[NUCLEO_L152RE] Improvements of gpio and gpio_irq api
2014-01-27 10:02:15 +01:00
bcostm
d14992dcfd
[NUCLEO_F103RB] Improvement of gpio and gpio_irq api
2014-01-27 09:59:07 +01:00
Chiel de Roest
8b3cdc0067
Remove unnecessary semicolons.
...
Remove unnecessary colon that was placed in all SPI drivers for NXP
targets.
2014-01-24 22:49:09 +01:00
neilt6
8e346fc498
Fixed sleep and disabled semihosting on LPC11U35
...
I created 3 separate device.h headers for the three LPC11UXX targets,
and disabled the features that the LPC11U35 board doesn't have like
Semihosting and LocalFileSystem. I also made the call to
mbed_interface_disconnect() require DEVICE_SEMIHOSTING, which prevents
calls to sleep() from hanging the system on an LPC11U35.
2014-01-24 10:51:48 -07:00
bcostm
a088e343a6
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-01-24 15:02:24 +01:00
bcostm
4afc4e4a3b
[NUCLEO_F030R8] Add rtc api
2014-01-24 14:52:13 +01:00
bcostm
c9bd30590f
[NUCLEO_L152RE] Add rtc api
2014-01-24 14:51:43 +01:00
bcostm
3adc6b41df
[NUCLEO_F030R8] Add analogin api
2014-01-24 12:17:15 +01:00
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
bcostm
81482e6d92
[NUCLEO_L152RE] Add gpio_irq api
2014-01-22 18:36:35 +01:00
bcostm
486ebece6b
[NUCLEO_F030R8] Add serial api
2014-01-22 17:59:04 +01:00
bcostm
a5726b883b
[NUCLEO_F030R8] Add gpio, port, ticker api, cmsis files
2014-01-22 17:53:54 +01:00
tkuyucu
689a484d23
Stack and heap initialization is removed from the startup file. This solves the mbed runtime problems with the SoftDevice enabled.
2014-01-22 13:58:30 +01:00
bcostm
e577faef66
[NUCLEO_L152RE] Add analog out api
...
and add macros for GPIOs, change master timer for ticker.
2014-01-22 08:22:01 +01:00
bcostm
e3e5180256
[NUCLEO_F103RB] Cleanup code
...
Add STM_PIN and STM_PORT macros for GPIOs.
2014-01-22 07:48:10 +01:00
bcostm
0af4419c74
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-01-20 18:09:48 +01:00
bcostm
f27e93cf3f
[NUCLEO_L152RE] Add analog out api
2014-01-20 17:45:35 +01:00
bcostm
23e383be36
[NUCLEO_L152RE] Add pwmout api
2014-01-17 17:14:29 +01:00
bcostm
a2efcd2c92
[NUCLEO_L152RE] analog_in improvement
2014-01-16 13:25:43 +01:00
bcostm
e5b641777a
[NUCLEO_L152RE] Add analogin api
2014-01-16 13:16:35 +01: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
bcostm
ffb7f13018
[NUCLEO_F152RE] Correction in pinmap
2014-01-14 10:14:08 +01:00
bcostm
ba5866b35e
[NUCLEO_L152RE] Fix bugs with gpio and serial
2014-01-13 14:20:27 +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
bcostm
cbfdc4e26d
[NUCLEO_L152RE] Cleanup in available ports/pins
2014-01-13 10:27:47 +01:00
bcostm
bef6fdf339
[NUCLEO_F103RB] Code cleanup, correction in pins definition
2014-01-13 09:24:31 +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
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
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
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
tkuyucu
eb5fd7d6e0
timer overflow sync issue fixed.
2013-12-20 16:37:28 +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
tkuyucu
4756fb3a51
timer interrupts implemented correctly. TimeOut and Ticker classes should work.
2013-12-19 15:53:11 +01:00
tkuyucu
f0994c710b
SoftDevice is now enabled by the startup code by calling EnableSoftDevice (defined in system_nRF51822).
2013-12-19 15:09:09 +01: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
tkuyucu
76d25ffb25
16-bit timer with sw overflow is used instead of the 32-bit timer.
2013-12-19 10:41:16 +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
tkuyucu
3c2258956b
AnalogIn, Interrupts, and I2C are added.
2013-12-18 15:04:16 +01:00