46 Commits (5fc6aa810063d586ed779f42f2329f625247234f)

Author SHA1 Message Date
Dave Hylands a21f56b2d5 Added pyb.elapsed_millis and pyb.elapsed_micros 10 years ago
Damien George 29c92a407c stmhal: Use MP_OBJ_NEW_SMALL_INT directly in pyb.micros/millis. 10 years ago
Dave Hylands 2bf044442e Add support for pyb.micros() by using the systick timer. 10 years ago
Dave Hylands 9480138f0c Add save/restore_irq 10 years ago
Damien George b63be37be1 stmhal: In safe mode, still mount SD card and present as MSD over USB. 10 years ago
Damien George 65dd7bc13d stmhal: Change 0:/ and 1:/ to /flash and /sd; add CWD support. 10 years ago
Damien George 3c4db9f91c stmhal: Add USB_VCP class/object, for direct USB VCP control. 10 years ago
Damien George 951ed9d02f stmhal: Fix REPL printing by cooking output sent to stdout_obj. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 2547928148 stmhal: Add Python function to set UART for REPL. 11 years ago
Damien George 34ab8dd6dd stmhal: Update and improve LCD driver. 11 years ago
Damien George 57b4dfa9c9 stmhal: Fix pyb.bootloader so it works for gcc-4.9.0. 11 years ago
Damien George 6d197740cf stmhal: Stop USB before entering DFU by software. 11 years ago
Damien George f905ebb173 stmhal: Make pyb.bootloader take no arguments. 11 years ago
Sven Wegener 9bf4f7e3d3 stmhal: Remap system flash and adjust addresses 11 years ago
Sven Wegener 7ae8e4b679 stmhal: Activate bootloader with pyb.bootloader() 11 years ago
Damien George 8c1c7488b2 Add gc.enable, gc.disable; remove pyb.gc. 11 years ago
Paul Sokolovsky 33b3a6905d stmhal: pyb: Use gc() function as defined by standard module "gc". 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George bff1ff28ee stmhal: Fix bug where negative delay/udelay lead to huge delays. 11 years ago
Damien George 5874c1c92b stmhal: Remove #include <stdint.h> from mpconfigport.h. 11 years ago
Damien George 8d09640b22 stmhal: Add documentation in comments, and script to generate HTML. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 6125ba4a7f stmhal: Make switch a class, to follow suit of all other modules. 11 years ago
Damien George 7fdfa93700 stmhal: Add Timer class: simple TIM control, incl callback on IRQ. 11 years ago
Damien George 7533700393 stmhal: Rename USART to UART. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago
Damien George 6e44381cce stmhal: Improve RTC class; make fatfs use RTC for time stamping files. 11 years ago
Damien George ed5117f6a8 stmhal: Add pyb.unique_id, to get unique id of MCU. 11 years ago
Damien George 44ee42de50 stmhal: Rename pyb.Led to pyb.LED to conform to naming rules. 11 years ago
Damien George 8cf08a58a1 stmhal: Remove pyb.input (use sys.stdio.read(1) instead). 11 years ago
Damien George a8f5d15fc6 stmhal: Update help and comments re gpio changing to Pin. 11 years ago
Damien George c66d86c5ce stmhal: Big cleanup; merge gpio into Pin; make names consistent. 11 years ago
Damien George f6be480bda stmhal: Add pyb.have_cdc function to check if USB CDC device is enabled. 11 years ago
Damien George 6dba016a56 stmhal: Add pyb.wfi() function (calls __WFI). 11 years ago
Damien George 0aab675108 stmhal: Little hack to dump GC allocation table using pyb.info(). 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George 038df43183 stmhal: Implement selector for USB device mode; improve boot up. 11 years ago
Damien George 64563e39b3 stmhal: Add CDC+HID USB device. 11 years ago
Damien George c9fd6645b0 stmhal: Factor out stdio and readline to separate files. 11 years ago
Damien George 38f0c607b0 stmhal: Change Usart creation function to class make_new. 11 years ago
Damien George 3021632501 stmhal: Shuffle around some init functions in main(). 11 years ago
Damien George 6cfda3084d stmhal: Add I2C support; change accel driver to use new I2C. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
Damien George da5e269e51 stmhal: Make pyb.ADC the ADC class (not a function). 11 years ago
Dave Hylands 1403298a65 stmhal - fixed up adc stuff 11 years ago
Damien George b13492f8ad stmhal: Add DAC driver. 11 years ago
Damien George 0e9d96f18f stmhal: Make Led, Servo and Accel their class, not a function. 11 years ago