aboutsummaryrefslogtreecommitdiff
path: root/stmhal/main.c
AgeCommit message (Collapse)Author
2014-04-09stmhal: Add windows cdc .inf driver to flash filesystem.Damien George
2014-04-08Add a check for NULL nlr_top in nlr_jump.Damien George
If no nlr_buf has been pushed, and an nlr_jump is called, then control is transferred to nlr_jump_fail (which should bail out with a fatal error).
2014-04-03stmhal: On soft reset, if in raw REPL mode, don't run main.py.Damien George
2014-04-02stmhal: Add timer module; move servo PWM from TIM2 to TIM5.Damien George
As per issue #257, servo is better on TIM5 because TIM2 is connected to more GPIO.
2014-03-30Rename rt_* to mp_*.Damien George
Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now.
2014-03-30stmhal: Implement selector for USB device mode; improve boot up.Damien George
Can now choose at boot up whether the USB device is CDC+MSC or CDC+HID. Choice is made by an option in boot.py, with default being CDC+MSC. HID+MSC is not currently supported, but should be easy to implement. Boot up now has ability to change the reset mode: hold down USR switch while booting and LEDs will count from 1 to 7 to indicate the boot mode. Release USR when correct mode is selected. Current modes are 1 (normal boot), 2 (safe mode), 3 (reset FS mode).
2014-03-29stmhal: Factor out stdio and readline to separate files.Damien George
Adds readline_init() to clear readline history on soft reset. Addresses issue #387.
2014-03-25stmhal: Shuffle around some init functions in main().Damien George
2014-03-25stmhal: Add I2C support; change accel driver to use new I2C.Damien George
2014-03-25Proper support for registering builtin modules in ROM.Damien George
Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch].
2014-03-24Fix netduino to buildDave Hylands
Fix adc to work with resolution changes.
2014-03-24stmhal: Add DAC driver.Damien George
2014-03-24stmhal: Improve REPL CTRL commands.Damien George
2014-03-24stmhal: Update help function.Damien George
2014-03-22stmhal: Add intensity method for blue LED.Damien George
As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM.
2014-03-22stmhal: Add servo driver.Damien George
2014-03-22stmhal: Add time module with sleep function.Damien George
2014-03-22stmhal: Add os module with a few basic functions.Damien George
2014-03-22stmhal: Add PYBv10 config; add RNG support.Damien George
2014-03-22stmhal: Tidy up USB CDC+MSC device some more.Damien George
2014-03-22stmhal: USB CDC and MSC device work together.Damien George
2014-03-21stmhal: Add support for USB MSC device.Damien George
This gives a functioning, independent MSC device.
2014-03-20stmhal: Add accelerometer driver; fix bug with LFN.Damien George
2014-03-19stmhal: Add lcd.c to Makefile, and init LCD in main.Damien George
2014-03-17stmhal: Add fatfs support, working with flash and SD card.Damien George
2014-03-17stmhal: Add flash write support and flash storage driver.Damien George
2014-03-17stmhal: Add SD card support.Damien George
Just low-level read/write support. No filesystem yet.
2014-03-16stmhal - Add usart supportDave Hylands
2014-03-15stmhal: Get RTC working.Damien George
2014-03-15stmhal: Get USB CDC REPL working.Damien George
New USB HAL is quite a bit improved over previous one. Now has better callbacks and flow control. REPL over USB CDC now works as before, except for soft-reset (since USB driver uses malloc...).
2014-03-14stmhal - add pin mapping, gpio, exti, usrswDave Hylands
2014-03-14stmhal - add led support. Add netduino_plus_2 supportDave Hylands
Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
2014-03-14Merge branch 'master' of github.com:micropython/micropythonDamien George
Conflicts: stmhal/main.c
2014-03-14stmhal: Get USB enumerating a CDC device.Damien George
Enumerates CDC device over USB, but doesn't transmit/receive yet.
2014-03-13stmhal - More systick cleanup. Fix HAL_DelayDave Hylands
2014-03-12REPl working on UART6 with STMHALDave Hylands
2014-03-12stmhal: Set SysTick priority to highest level.Damien George
2014-03-12stmhal: Get SysTick and HSE working.Damien George
2014-03-11Initial checkin with STM HALDave Hylands
This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything.