64 Commits (3425431370ea138b7283a9e631a873f0949067a3)

Author SHA1 Message Date
Damien George 48ef64a729 stmhal: Make os.sync use disk_ioctl exclusively; reuse os.sync in pyb. 10 years ago
Damien George 4f94d90d4d stmhal: Include fatfs headers using lib/fatfs prefix. 10 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 10 years ago
Damien George d39c7aa517 stmhal: Add Python-configurable USB HID mode. 10 years ago
Dave Hylands d7f199465f stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com. 10 years ago
Damien George 3b51b3e90f stmhal: Collect all root pointers together in 1 place. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 7690b13953 stmhal: Add ability to mount custom block device. 10 years ago
Damien George 008251180d stmhal: Enhance pyb.freq to configure bus (AHB, APB1, APB2) freqs. 10 years ago
Damien George 1960475ed7 stmhal: Make pyb.[u]delay use systick with IRQs, busy loop otherwise. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 38bd762121 stmhal: Improve pyb.freq to allow 8 and 16MHz (not usable with USB). 10 years ago
Dave Hylands 8d62bbd46a Add pyb.hard_reset, and make sys.exit() or raise SystemExit do a soft reset. 10 years ago
Damien George 9b6617ea8b stmhal: Add pyb.stop() and pyb.standby() functions. 10 years ago
Damien George d03c681608 stmhal: Use mp_uint_t where appropriate. 10 years ago
Damien George 6dba992182 stmhal: Add config option to disable/enable CAN driver. 10 years ago
Damien George 24119176e7 stmhal: Allow pyb.freq() function to change SYSCLK frequency. 10 years ago
Damien George 3550de4ebe stmhal: Add basic CAN bus support. 10 years ago
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