Commit Graph

432 Commits (84a8f2bcd4fff802c20a78cc2edf304135d243d2)

Author SHA1 Message Date
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
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 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
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
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
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