summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
Commit message (Collapse)AuthorAge
...
* stmhal: Clean up fatality indications; remove long-obsolete malloc0.c.Damien George2014-04-17
|
* Auto-generate the stmhal/pybcdc_inf header file from static filesAndrew Scheller2014-04-16
| | | | | | The USB VID&PID are automatically extracted from usbd_desc_cdc_msc.c and inserted into pybcdc_inf.template, ensuring that the same USB IDs get used everywhere
* Merge pull request #496 from dhylands/fix-debug-usartDamien George2014-04-15
|\ | | | | Fix call to enable pyb_usart_global_debug.
| * Fix call to enable pyb_usart_global_debug.Dave Hylands2014-04-15
| |
* | stmhal: Add simple README.txt to freshly-created filesystem.Damien George2014-04-15
|/
* stm[hal]: Init mp_sys_path and mp_sys_argv correctly.Damien George2014-04-13
|
* stmhal: Update for static mod sys.Paul Sokolovsky2014-04-13
|
* stmhal: Make /src/main.py just /main.py; allow SD to be used as root device.Damien George2014-04-09
|
* stmhal: Add windows cdc .inf driver to flash filesystem.Damien George2014-04-09
|
* Add a check for NULL nlr_top in nlr_jump.Damien George2014-04-08
| | | | | | 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).
* stmhal: On soft reset, if in raw REPL mode, don't run main.py.Damien George2014-04-03
|
* stmhal: Add timer module; move servo PWM from TIM2 to TIM5.Damien George2014-04-02
| | | | | As per issue #257, servo is better on TIM5 because TIM2 is connected to more GPIO.
* Rename rt_* to mp_*.Damien George2014-03-30
| | | | | | | 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.
* stmhal: Implement selector for USB device mode; improve boot up.Damien George2014-03-30
| | | | | | | | | | | 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).
* stmhal: Factor out stdio and readline to separate files.Damien George2014-03-29
| | | | | Adds readline_init() to clear readline history on soft reset. Addresses issue #387.
* stmhal: Shuffle around some init functions in main().Damien George2014-03-25
|
* stmhal: Add I2C support; change accel driver to use new I2C.Damien George2014-03-25
|
* Proper support for registering builtin modules in ROM.Damien George2014-03-25
| | | | | Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch].
* Fix netduino to buildDave Hylands2014-03-24
| | | | Fix adc to work with resolution changes.
* stmhal: Add DAC driver.Damien George2014-03-24
|
* stmhal: Improve REPL CTRL commands.Damien George2014-03-24
|
* stmhal: Update help function.Damien George2014-03-24
|
* stmhal: Add intensity method for blue LED.Damien George2014-03-22
| | | | | As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM.
* stmhal: Add servo driver.Damien George2014-03-22
|
* stmhal: Add time module with sleep function.Damien George2014-03-22
|
* stmhal: Add os module with a few basic functions.Damien George2014-03-22
|
* stmhal: Add PYBv10 config; add RNG support.Damien George2014-03-22
|
* stmhal: Tidy up USB CDC+MSC device some more.Damien George2014-03-22
|
* stmhal: USB CDC and MSC device work together.Damien George2014-03-22
|
* stmhal: Add support for USB MSC device.Damien George2014-03-21
| | | | This gives a functioning, independent MSC device.
* stmhal: Add accelerometer driver; fix bug with LFN.Damien George2014-03-20
|
* stmhal: Add lcd.c to Makefile, and init LCD in main.Damien George2014-03-19
|
* stmhal: Add fatfs support, working with flash and SD card.Damien George2014-03-17
|
* stmhal: Add flash write support and flash storage driver.Damien George2014-03-17
|
* stmhal: Add SD card support.Damien George2014-03-17
| | | | Just low-level read/write support. No filesystem yet.
* stmhal - Add usart supportDave Hylands2014-03-16
|
* stmhal: Get RTC working.Damien George2014-03-15
|
* stmhal: Get USB CDC REPL working.Damien George2014-03-15
| | | | | | | | 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...).
* stmhal - add pin mapping, gpio, exti, usrswDave Hylands2014-03-14
|
* stmhal - add led support. Add netduino_plus_2 supportDave Hylands2014-03-14
| | | | | Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
* Merge branch 'master' of github.com:micropython/micropythonDamien George2014-03-14
|\ | | | | | | | | Conflicts: stmhal/main.c
| * stmhal - More systick cleanup. Fix HAL_DelayDave Hylands2014-03-13
| |
* | stmhal: Get USB enumerating a CDC device.Damien George2014-03-14
|/ | | | Enumerates CDC device over USB, but doesn't transmit/receive yet.
* REPl working on UART6 with STMHALDave Hylands2014-03-12
|
* stmhal: Set SysTick priority to highest level.Damien George2014-03-12
|
* stmhal: Get SysTick and HSE working.Damien George2014-03-12
|
* Initial checkin with STM HALDave Hylands2014-03-11
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.