15 Commits (64556ca0499384622fc53452364c12ed612fbd56)

Author SHA1 Message Date
Jim Mussared 94beeabd2e py/obj: Convert make_new into a mp_obj_type_t slot. 2 years ago
Jim Mussared 9dce82776d all: Remove unnecessary locals_dict cast. 2 years ago
Jim Mussared 662b9761b3 all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE. 3 years ago
Matt van de Werken a4c0f52714 stm32/led: Support an extra 2 LEDs in board configuration. 4 years ago
Tweako 8af9796b16 stm32/led: Support PWM output without TIM3. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George cb3456ddfe stm32: Don't use %lu or %lx for formatting, use just %u or %x. 7 years ago
Damien George 2dca693c24 stm32: Change pin_X and pyb_pin_X identifiers to be pointers to objects. 7 years ago
Damien George 6b51eb22c8 stm32: Consolidate include of genhdr/pins.h to single location in pin.h. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 2bf5a947b2 stmhal: Make error messages more consistent across peripherals. 8 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
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