aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-25py/sequence: Fix grammar in comment about equality.Yonatan Goldschmidt
2019-07-25stm32/boards/NUCLEO_F722ZE: Add definition files for new board.badlyby
2019-07-25stm32/boards/stm32f722.ld: Provide memory regions for internal FS.badlyby
2019-07-25stm32/flashbdev: Support internal filesystem on STM32F722/23/32/33.badlyby
2019-07-25tools/pyboard.py: Add filesystem commands to ls/cat/cp/rm remote files.Damien George
Use "-f" to select filesystem mode, followed by the command to execute. Optionally put ":" at the start of a filename to indicate that it's on the remote device, if it would otherwise be ambiguous. Examples: $ pyboard.py -f ls $ pyboard.py -f cat main.py $ pyboard.py -f cp :main.py . # get from device $ pyboard.py -f cp main.py : # put to device $ pyboard.py -f rm main.py
2019-07-25esp32: Pin MicroPython tasks to a specific core.Amir Gonnen
On this port the GIL is enabled and everything works under the assumption of the GIL, ie that a given task has exclusive access to the uPy state, and any ISRs interrupt the current task and therefore the ISR inherits exclusive access to the uPy state for the duration of its execution. If the MicroPython tasks are not pinned to a specific core then an ISR may be executed on a different core to the task, making it possible for the main task and an ISR to execute in parallel, breaking the assumption of the GIL. The easiest and safest fix for this is to pin all MicroPython related code to the same CPU core, as done by this patch. Then any ISR that accesses MicroPython state must be registered from a MicroPython task, to ensure it is invoked on the same core. See issue #4895.
2019-07-20esp32/Makefile: Simplify include of IDF source by using wildcards.Damien George
2019-07-20esp32/Makefile: Put OBJ and LIB rule additions in gen_espidf_lib_rule.Damien George
2019-07-20esp32/Makefile: Fix path expansion for ESPIDF_DRIVER_O.Jim Mussared
It was using subst to s/.c/.o/ which changed .c anywhere in the path.
2019-07-19windows/mpconfigport.h: Don't define restrict/inline/alignof for C++.stijn
The C++ standard forbids redefining keywords, like inline and alignof, so guard these definitions to avoid that, allowing to include the MicroPython headers by C++ code.
2019-07-19esp32: Add support for hardware I2C.Damien George
2019-07-19tests/run-perfbench.py: Add --emit option to select emitter for tests.Damien George
2019-07-17stm32/boards/USBDONGLE_WB55: Add definition files for new board.Damien George
2019-07-17stm32/boards/NUCLEO_WB55: Add definition files for new board.Damien George
2019-07-17stm32/boards: Add MCU support files for STM32WB55.Damien George
2019-07-17stm32: Add initial support for STM32WBxx MCUs.Damien George
This new series of MCUs is similar to the L4 series with an additional Cortex-M0 coprocessor. The firmware for the wireless stack must be managed separately and MicroPython does not currently interface to it. Supported features so far include: RTC, UART, USB, internal flash filesystem.
2019-07-17stm32/make-stmconst.py: Allow more variation in parens and int-suffix L.Damien George
2019-07-17stm32/boards/STM32F769DISC: Fix length of FLASH_APP section.Damien George
Fixes issue #4924.
2019-07-17py/objstringio: Guard bytesio_stream_p struct w/ MICROPY_PY_IO_BYTESIO.Paul m. p. P
It's static and can lead to a compilation warning/error when MICROPY_PY_IO_BYTESIO is disabled.
2019-07-17py/scheduler: Rename sched_stack to sched_queue.Jim Mussared
Behaviour was changed from stack to queue in 8977c7eb581f5d06500edb1ea29aea5cbda04f28, and this updates variable names to match. Also updates other references (docs, error messages).
2019-07-17tests/stress/recursive_iternext.py: Increase large depth to 5000.Damien George
So it fails correctly on Linux with clang.
2019-07-17travis: Switch unix stackless build to use clang.Damien George
To test a different compiler, other than gcc.
2019-07-16stm32/boards/B_L072Z_LRWAN1: Enable USB VCP support.Damien George
2019-07-16stm32/Makefile: Allow a board to disable float support.Damien George
By using "MICROPY_FLOAT_IMPL = none" in its mpconfigboard.mk file.
2019-07-16stm32/mphalport: Fix GPIO clock enable for L0 MCUs.Damien George
2019-07-16stm32/powerctrlboot: Increase SYSCLK to 32MHz for L0 MCUs.Damien George
2019-07-16stm32: Add support for USB on L0 MCUs.Damien George
2019-07-16stm32/usbd_cdc_interface: Make CDC TX/RX buffer sizes configurable.Damien George
2019-07-16stm32/usb: Add config options to disable USB MSC and/or HID.Damien George
The new configurations MICROPY_HW_USB_MSC and MICROPY_HW_USB_HID can be used by a board to enabled or disable MSC and/or HID. They are both enabled by default.
2019-07-12py/makeqstrdata.py: Allow using \r\n as a qstr if a port requires it.Paul m. p. P
2019-07-12py/asmarm: Use __builtin___clear_cache instead of __clear_cache.David Lechner
__clear_cache causes a compile error when using clang. Instead use __builtin___clear_cache which is available under both gcc and clang. Also replace tabs with spaces in this section of code (introduced by a previous commit).
2019-07-12ACKNOWLEDGEMENTS: Remove entry as requested by backer.Damien George
2019-07-11stm32/gccollect: Always use MP_STATE_THREAD(stack_top) to get stack top.Damien George
In a non-thread build, using &_ram_end as the top-of-stack is no longer correct because the stack is not always at the very top end of RAM. See eg 04c7cdb668cc7ee391ef5fe000f825389197f7e2 and 378659209778a1bde24e9b15793087023b02bbd9. The correct value to use is &_estack, which is the value stored in MP_STATE_THREAD(stack_top), and using the same code for both thread and non-thread builds makes the code cleaner.
2019-07-09py/objgenerator: Add missing #if guard for PY_GENERATOR_PEND_THROW.Laurens Valk
Without it, gen_instance_pend_throw_obj is defined but not used when MICROPY_PY_GENERATOR_PEND_THROW is set to 0.
2019-07-09javascript: Enable support for frozen bytecode via FROZEN_MPY_DIR.Paul m. p. P
2019-07-09unix/unix_mphal: Include time.h for CLOCK_MONOTONIC.Paul m. p. P
2019-07-09stm32/boards/B_L072Z_LRWAN1: Add definition files for new board.Damien George
2019-07-09travis: Build stm32 mboot for PYBD_SF6 as part of CI.Damien George
2019-07-09stm32/mboot: Update dependencies to enable parallel build with -j.Damien George
2019-07-09stm32/mboot: Use STARTUP_FILE from stm32lib.Damien George
2019-07-09stm32/mboot: Remove use of BSRRL/H for H7 MCUs due to stm32lib update.Damien George
2019-07-09stm32/mboot: Make _estack an array to avoid compiler warnings.Damien George
The compiler can warn about out-of-bounds array access if _estack is just a single uint8_t.
2019-07-09stm32/boards/NUCLEO_F413ZH: Remove STARTUP_FILE, it's defined globally.Damien George
The Makefile now defines this variable to the correct value (but it can still be overridden by a board if necessary).
2019-07-08stm32/boards/NUCLEO_L452RE: Add definition files for new board.Chris Mason
2019-07-08stm32: Add support for STM32L452 MCUs.Chris Mason
2019-07-08stm32/boards/NUCLEO_F446RE: Enable DAC.Damien George
2019-07-08stm32: Remove SystemInit funcs, use stm32lib versions instead.Damien George
stm32lib now provides system_stm32XXxx.c source files for all MCU variants, which includes SystemInit and prescaler tables. Since these are quite standard and don't need to be changed, switch to use them instead of custom variants, making the start-up code cleaner. The SystemInit code in stm32lib was checked and is equivalent to what is removed from the stm32 port in this commit.
2019-07-08stm32/powerctrl: Move F0's SystemClock_Config to powerctrlboot.c.Damien George
2019-07-08stm32/powerctrl: Move L0's SystemClock_Config to powerctrlboot.c file.Damien George
2019-07-05stm32/boards/NUCLEO_L073RZ: Add definition files for new board.Damien George