40 Commits (0294661da5b68cd428362fb81513d11471e6a24a)

Author SHA1 Message Date
Damien George b7572ad11b stmhal, file: Implement a,x,+ open modes, seek and tell. 11 years ago
Sven Wegener 7ae8e4b679 stmhal: Activate bootloader with pyb.bootloader() 11 years ago
Damien George d6cbbc51ab stmhal: Add time.time() and time.localtime(). 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6125ba4a7f stmhal: Make switch a class, to follow suit of all other modules. 11 years ago
Damien George af797f476f stmhal, servo: Rename calibrate method to calibration. 11 years ago
Damien George 7fdfa93700 stmhal: Add Timer class: simple TIM control, incl callback on IRQ. 11 years ago
Damien George 764af4b7c5 stmhal: Make DAC dynamically allocate instances; rename dma->write_timed. 11 years ago
Damien George 7533700393 stmhal: Rename USART to UART. 11 years ago
Damien George 3771a097da stmhal: Improve USART class, to be more like SPI and I2C. 11 years ago
Damien George eb8bdf4df3 stmhal, SPI and I2C: Improvements to functionality and consistency. 11 years ago
Damien George fd6925b4b9 stmhal: Small bug fixes and simplifications. 11 years ago
Damien George 0a6e9f562f stmhal: Update ExtInt to allow keyword arguments in constructor. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago
Damien George 3d19137442 stmhal: Add pyb.Pin.init method to re-init GPIO pin mode. 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 f20e093b9b stmhal: Add lots of constants to stm module. 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 4d7f4eb6a9 stmhal: Add ADC function to read data at a given frequency. 11 years ago
Damien George e95da5b784 stmhal: Add I2C.scan method, to scan all devices on the bus. 11 years ago
Damien George 6dba016a56 stmhal: Add pyb.wfi() function (calls __WFI). 11 years ago
Damien George 3f4898456b stmhal: Add stm module, which contains some constants for the MCU. 11 years ago
Damien George 229347139b stmhal: Add functionality to Servo object. 11 years ago
Paul Sokolovsky 72d70cb045 unix, stmhal: Consistently use "FileIO" as class name for file objects. 11 years ago
Damien George 27e735fd18 py: Replace stream_p with *stream_p in mp_obj_type_t. 11 years ago
Paul Sokolovsky 1d4d9ddd9e stmhal: Reimplement file support using stream protocol API. 11 years ago
Damien George 038df43183 stmhal: Implement selector for USB device mode; improve boot up. 11 years ago
Damien George 174bca7b5a stmhal: Remove ExtiMeta object and clean up class constants. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George b13492f8ad stmhal: Add DAC driver. 11 years ago
Damien George 9050b2ee33 stmhal: Improved interface to accelerometer. 11 years ago
Damien George 02fa035800 stmhal: Add input() and pyb.input() functions. 11 years ago
Damien George d311655655 stmhal: Add time module with sleep function. 11 years ago
Damien George ad7b84a7b9 stmhal: Add os module with a few basic functions. 11 years ago
Damien George 684164a8cf stmhal: Add PYBv10 config; add RNG support. 11 years ago
Dave Hylands f14b92b9e1 REPl working on UART6 with STMHAL 11 years ago
Damien George c3d35c6ac7 stm: Put pyb module in ROM. 11 years ago
Damien George 360b25ab0f stm: Add udelay (delay in microseconds). 11 years ago
Dave Hylands ee31f71d39 Add EXTI support 11 years ago
Dave Hylands 51dabac096 Add pin mapping code. 11 years ago
Paul Sokolovsky 4aee119f94 stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. 11 years ago
Damien George 402dc31aa7 stm: Factor out GPIO code to its own file. Add functions to set GPIO mode. 11 years ago
Damien George 2abbae3419 stm: Rename mma -> accel. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George 2c30256382 stm: Clean up main.c; disable libgcc by default. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago