14
0
forked from pool/micropython

30 Commits

Author SHA256 Message Date
8f53efdcfb - Version 1.26.0
* Added machine.I2CTarget for creating I2C target devices on multiple ports.
  * New MCU support: STM32N6xx (800 MHz, ML accel) & ESP32-C2 (WiFi + BLE).
  * Major float accuracy boost (~28% → ~98%), constant folding in compiler.
  * Optimized native/Viper emitters; reduced heap use for slices.
  * Time functions standardized (1970–2099); new boards across ESP32, SAMD, STM32, Zephyr.
  * ESP32: ESP-IDF 5.4.2, flash auto-detect, PCNT class, LAN8670 PHY.
  * RP2: compressed errors, better lightsleep, hard IRQ timers.
  * Zephyr v4.0.0: PWM, SoftI2C/SPI, BLE runtime services, boot.py/main.py support.
  * mpremote adds fs tree, improved df, portable config paths.
  * Updated lwIP, LittleFS, libhydrogen, stm32lib; expanded hardware/CI tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=53
2025-08-15 08:25:38 +00:00
479ad3f4b3 Accepting request 1291781 from home:badshah400:GCC15
Add micropython-gcc15-string-initialization.patch: Refactor string literal as array initializer (gh#micropython/micropython#17269).

OBS-URL: https://build.opensuse.org/request/show/1291781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=51
2025-07-11 11:04:06 +00:00
6993c0f7f6 Mention prepare.sh in spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=43
2025-05-26 12:22:43 +00:00
af622f8333 - Add script to delete some 3rd party libraries from the src tar
that are not needed to build the unix port in order to
  make the legal review easier

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=42
2025-05-26 11:55:32 +00:00
64d6dbbb6a - Update to 1.25.0
* Add ROMFS support (see also "mpremote romfs" cmd with "query", "build", and "deploy" sub-commands)
    ROMFS defines a read-only, memory-mappable, extensible filesystem that can contain arbitrary resources,
	including precompiled mpy files, and allows executing bytecode directly from the filesystem.
	This makes importing significantly faster and use a lot less memory.
  * Inline assembler now supports 32-bit RISC-V assembly code via the newly implemented @micropython.asm_rv32 decorator.
  * Datagram TLS (DTLS) is now supported by the tls module and enabled on the alif, mimxrt, renesas-ra, rp2, stm32 and unix ports.
  * mpremote command-line tool now supports recursive remove via the new "rm -r"
  * mpremote now supports relative URLs in the package.json for installing from the local filesystem
  * "mpremote mount" has optimised readline support
  * full support for tuples and start/end arguments in str.startswith() and str.endswith() methods
  * vfs.mount() with no arguments now returns a list of mounted filesystems
  * marshal module has been added with dumps() and loads() functions
  * MicroPython native linker mpy_ld.py now includes support for linking in static libraries automatically
  * native modules now support 32-bit RISC-V code
  * force _FILE_OFFSET_BITS=64 to fix 32-bit file ABI
  * enable VfsRom on standard and coverage variants
  * use the bare metal mbedTLS config in the coverage buiid
  * add recursive mutex support
  * main: add coverage test for mounting ROMFS filesystem at startup
- Drop fix_re_sub_test_on_python3.13.patch as not needed anymore

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=40
2025-04-16 12:11:06 +00:00
7f27bebe07 - Add fix_re_sub_test_on_python3.13.patch to fix re_sub test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=38
2025-03-17 12:53:37 +00:00
d735501d4a - Add subpackage mpy-tools which contains mpy-cross and mpy-tool
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=36
2025-02-18 11:49:19 +00:00
9955417dbe Fix 15.6 fixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=34
2025-02-10 17:38:34 +00:00
b3240a1079 Accepting request 1244139 from home:dheidler:branches:devel:languages:python
- Fix build for 15.6

Depends on https://build.opensuse.org/requests/1244131

OBS-URL: https://build.opensuse.org/request/show/1244139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=33
2025-02-07 19:04:09 +00:00
fe4b3a5d6d Accepting request 1243518 from home:dheidler
- Build mpremote tool

OBS-URL: https://build.opensuse.org/request/show/1243518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=31
2025-02-06 07:58:50 +00:00
368e053cd0 Accepting request 1227541 from home:jaimeMF:branches:devel:languages:python
- Update to 1.24.1:
  * https://github.com/micropython/micropython/releases/tag/v1.24.1
- Update to 1.24.0:
  * https://github.com/micropython/micropython/releases/tag/v1.24.0

OBS-URL: https://build.opensuse.org/request/show/1227541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=29
2024-12-02 08:46:28 +00:00
01a6cb8fe1 Accepting request 1201778 from home:yacar:branches:devel:languages:python
- Update to 1.23.0:
  * https://github.com/micropython/micropython/releases/tag/v1.23.0

OBS-URL: https://build.opensuse.org/request/show/1201778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=27
2024-09-18 12:08:46 +00:00
17d07bad9c - Update to 1.22.2:
This is a patch release containing the following commits:
  - py/compile: fix potential Py-stack overflow in try-finally
    with return
  - extmod/asyncio: support gather of tasks that finish early
  - extmod/modssl_mbedtls: fix cipher iteration in
    SSLContext.get_ciphers
  - extmod/btstack: reset pending_value_handle before calling
    write-done cb
  - extmod/btstack: reset pending_value_handle before calling
    read-done cb
  - esp32/mpnimbleport: release the GIL while doing NimBLE port
    deinit
  - esp32: increase NimBLE task stack size and overflow detection
    headroom
  - mimxrt/modmachine: fix deepsleep wakeup pin ifdef
  - renesas-ra/ra: fix SysTick clock source
  - renesas-ra/boards/ARDUINO_PORTENTA_C33: fix the RTC clock
    source
  - renesas-ra/ra/ra_i2c: fix 1 byte and 2 bytes read issue
  - rp2/rp2_dma: fix fetching 'write' buffers for writing not
    reading
  - rp2/machine_uart: fix event wait in uart.flush() and
    uart.read()
  - rp2: change machine.I2S and rp2.DMA to use shared DMA IRQ
    handlers
- Update to 1.22.1:
  - This is a patch release to fix a race condition and potential
    deadlock in the rp2 port's mp_thread_begin_atomic_section()
    function, when the second core is in use.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=25
2024-05-21 09:18:44 +00:00
609b7c67e3 Accepting request 1138975 from home:Andreas_Schwab:Factory
- Build with %optflags

OBS-URL: https://build.opensuse.org/request/show/1138975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=23
2024-01-15 14:58:26 +00:00
c062ceb1da - Update to 1.22.0:
* https://github.com/micropython/micropython/releases/tag/v1.22.0
  * objslice: validate that the argument to indices() is an integer
    (CVE-2023-7158, bsc#1218446)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=21
2024-01-08 02:11:09 +00:00
b9af718955 - Update to 1.20.0:
* https://github.com/micropython/micropython/releases/tag/v1.20.0
- Remove 32572439984e5640c6af46fbe7c27400c30112ce.patch, included.
- Disable warning, since it is treated as an error.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=19
2023-04-28 07:11:48 +00:00
4e6d46e52c - add 32572439984e5640c6af46fbe7c27400c30112ce.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=17
2023-03-28 14:42:30 +00:00
ecab8eb8fb Accepting request 1010119 from home:Andreas_Schwab:Factory
- Suppress stripping of binary
- Run tests everywhere with just the problematic ones suppressed

OBS-URL: https://build.opensuse.org/request/show/1010119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=15
2022-10-12 10:49:10 +00:00
b01e621425 Accepting request 986329 from home:cgiboudeaux:branches:devel:languages:python
Update to 1.19.1

OBS-URL: https://build.opensuse.org/request/show/986329
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=13
2022-07-02 16:28:48 +00:00
d4f129a7f4 Accepting request 950817 from home:jaimeMF:branches:devel:languages:python
- Update to 1.18: full changelog available at
  https://github.com/micropython/micropython/releases/tag/v1.18

OBS-URL: https://build.opensuse.org/request/show/950817
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=12
2022-02-02 21:59:32 +00:00
f186c14121 - avoid spec-cleaner messing it up
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=11
2022-01-16 13:34:19 +00:00
905341351f Actually remove the patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=10
2021-09-25 01:13:55 +00:00
644036aaae - Update to 1.17:
The release notes are REALLY long, so please go to
  https://github.com/micropython/micropython/releases/tag/v1.17
  to read them.
- Remove already upstreamed patch fix-uasyncio_heaplock-test.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=9
2021-09-24 23:50:44 +00:00
c80e996e56 Add patch metadata
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=8
2021-08-02 17:46:05 +00:00
e911e09ac5 Accepting request 909824 from home:dspinella:branches:devel:languages:python
- Add patch to fix uasyncio_heaplock test
  * fix-uasyncio_heaplock-test.patch

OBS-URL: https://build.opensuse.org/request/show/909824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=7
2021-08-02 17:38:20 +00:00
b26f0f0840 - Remove unnecessary dependency on python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=5
2021-07-27 14:51:47 +00:00
3e4e80416e Accepting request 907990 from home:Guillaume_G:branches:devel:languages:python
- Update to v1.16:
  * Full release notes: https://github.com/micropython/micropython/releases/tag/v1.16
  * New command-line tool called "mpremote"
  * Unix port updates:
    - modffi: use a union for passing/returning FFI values
    - main: increase stack limit on ARM architectures
    - modffi: fix conversion between Python integers and ffi types
    - fix build on arm64-darwin due to integer cast

OBS-URL: https://build.opensuse.org/request/show/907990
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=4
2021-07-23 16:41:32 +00:00
c0a6c17603 Accepting request 891290 from home:musfay:branches:devel:languages:python
- Update to version 1.15:
  * Full release notes: https://github.com/micropython/micropython/releases/tag/v1.15
  * Unix port updates:
    - mpbtstackport_common: implement mp_bluetooth_hci_active
    - moduselect: don't allow both posix and non-posix configurations
    - improve command line argument processing
    - main: make static variable that's potentially clobbered by longjm 
- Remove patch fix-aarch64-builds.patch
- Exclude ppc64 and ppc64le as build fails for those architectures

OBS-URL: https://build.opensuse.org/request/show/891290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=3
2021-05-07 12:31:20 +00:00
714d193d7c Accepting request 886258 from home:musfay:branches:devel:languages:python
- Add patch fix-aarch64-builds.patch
- Update to v1.14:
  * Full release notes: https://github.com/micropython/micropython/releases/tag/v1.14
  * Unix port updates:
    - Makefile: always enable -f*-sections regardless of DEBUG setting
    - implement BLE H4 HCI UART for btstack/nimble
    - implement mp_hal_time_ns using gettimeofday
    - variants: enable MICROPY_DEBUG_PARSE_RULE_NAME on coverage build
    - mpconfigport.h: enable MICROPY_PY_DELATTR_SETATTR
    - enable more warnings
    - support building C++ code
    - Makefile: move coverage.c and coveragecpp.cpp to coverage variant
    - handle pending events/scheduler in MICROPY_EVENT_POLL_HOOK
    - make mp_hal_delay_ms run MICROPY_EVENT_POLL_HOOK
    - modtime: fix time() precision on unix ports with non-double floats

OBS-URL: https://build.opensuse.org/request/show/886258
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=2
2021-04-17 13:27:37 +00:00
f8ec2702f5 Accepting request 868539 from home:Guillaume_G:RPiPico
Add micropython package

OBS-URL: https://build.opensuse.org/request/show/868539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=1
2021-02-02 22:43:49 +00:00