46 Commits (fb161aa45a8110d18b08efa3175027b8fbac5463)

Author SHA1 Message Date
Damien George 6ab5512132 stmhal: Use mp_hal_delay_ms instead of HAL_Delay. 8 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
Damien George ed559de063 stmhal/led: Use mp_hal_pin_config function instead of HAL_GPIO_Init. 8 years ago
Damien George b14abab9cd stmhal/led: Properly initialise timer handle to zero before using it. 8 years ago
Damien George b4cc68e4a4 stmhal/led: Refactor LED to use mp_hal_pin_output() init function. 8 years ago
Damien George 1dc2862a83 stmhal/led: Allow LEDs to be in PWM mode with TIM1 and channels 1-4. 9 years ago
Damien George a8a4b01af6 stmhal: Add PWM capability for LED(3) and LED(4) on pyboards. 9 years ago
Damien George ea89b80ff4 stmhal: Make TIM3 available for use by the user. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Damien George 0851751615 stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 9 years ago
Dave Hylands ea8bf81058 stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 9 years ago
Damien George 2e5704d101 stmhal: Make a HW config option for LED4 being controlled by PWM. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 7a6dbaa89b stmhal: Make LED object print LED(x) for consistency with constructor. 10 years ago
Dave Hylands d7f199465f stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 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 bcb3ab451b stmhal: Toggle LED using ODR ^= pin_mask. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George cab23051d9 stmhal: Make LED.intensity return the same value it was set to. 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 d689430e79 stmhal: Add SPI class. 11 years ago
Damien George 44ee42de50 stmhal: Rename pyb.Led to pyb.LED to conform to naming rules. 11 years ago
Damien George d553be5982 build: Simplify build directory layout by putting all headers in genhdr. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George a12be917a4 stmhal: Add timer module; move servo PWM from TIM2 to TIM5. 11 years ago
Dave Hylands 18d21d1abd Fix pyb.Led(n) code to work properly. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 09d207785c stmhal: Unify naming of HW config; make SD detect configurable. 11 years ago
Damien George 038df43183 stmhal: Implement selector for USB device mode; improve boot up. 11 years ago
Damien George eed6f26bed stmhal: Use rt_check_nargs to check number of arguments. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George 0e9d96f18f stmhal: Make Led, Servo and Accel their class, not a function. 11 years ago
Damien George 965e2bafea stmhal: Improve LED intensity get/set method. 11 years ago
Damien George 908a670dfc stmhal: Add intensity method for blue LED. 11 years ago
Damien George f78d9b1a72 stmhal: Add accelerometer driver; fix bug with LFN. 11 years ago
Dave Hylands 0a64c92a9c stmhal - add led support. Add netduino_plus_2 support 11 years ago
Dave Hylands f14b92b9e1 REPl working on UART6 with STMHAL 11 years ago
Dave Hylands 34f66023d4 Update LED configuration 11 years ago
Damien George 790eed6f93 stm: Make pendsv_nlr_jump work when debugging is enabled. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George 01156d510c stm: Add support for ctrl-C to interrupt running Python. 11 years ago