675 Commits

Author SHA1 Message Date
Amir Gonnen
2131137e32 Update lv_bindings 2023-01-24 23:01:33 +02:00
Amir Gonnen
ed440963a4 Update lv_bindings 2023-01-21 23:58:18 +02:00
Amir Gonnen
5e65bc2e03 Use pkg-config to configure SDL
Define MICROPY_SDL if sdl2 is installed.
Remove internal SDL driver, use LVGL SDL driver instead.
2023-01-19 23:39:15 +02:00
Damien George
64193c7de9 lib/re1.5: Add support for named classes in class sets.
Total code size change of this and previous commit:

   bare-arm:    +0 +0.000%
minimal x86:    +0 +0.000%
   unix x64:   +32 +0.004% standard
      stm32:   +24 +0.006% PYBV10
     cc3200:   +16 +0.009%
    esp8266:   +20 +0.003% GENERIC
      esp32:   +44 +0.003% GENERIC[incl +8(data)]
     mimxrt:   +32 +0.009% TEENSY40
 renesas-ra:   +24 +0.004% RA6M2_EK
        nrf:    +0 +0.000% pca10040
        rp2:   +24 +0.005% PICO
       samd:   +32 +0.012% ADAFRUIT_ITSYBITSY_M4_EXPRESS

Addresses issue #7920.

Signed-off-by: Damien George <damien@micropython.org>
2023-01-18 09:15:32 +11:00
Damien George
bd86ce5f82 lib/re1.5: Reduce code size when checking for named class char.
Signed-off-by: Damien George <damien@micropython.org>
2023-01-18 09:15:32 +11:00
Damien George
b151422cb2 lib/cyw43-driver: Update driver to latest version.
Changes since the previous version:
- remove mDNS
- implement lwIP IGMP MAC filter callback
- implement IPv6 support
- allow building with IGMP disabled
- fix handshake meggase WAIT_G1 event value
- increase EAPOL timeout from 2500ms to 500ms
- add function to get RSSI
- fix handling of open security networks
- remove support for automatically setting auth type

Signed-off-by: Damien George <damien@micropython.org>
2022-12-20 16:06:40 +11:00
Gabor Kiss-Vamosi
c6eb7eea73 update lv_bindings submodule 2022-12-19 21:05:56 +01:00
Damien George
5de8d7eb64 lib/btstack: Update to v1.5.4.
This update includes a few bug fixes for BLE, support for LE audio, updates
to classic BT support, cmake support, and other things.

Signed-off-by: Damien George <damien@micropython.org>
2022-11-11 15:14:14 +11:00
David Lechner
0eead94181 lib/libm: Use __asm__ instead of asm.
`asm` is not part of the C standard and causes a complier error when
`-std=c99` is used. `__asm__` is the recommended alternative.

https://gcc.gnu.org/onlinedocs/gcc/extensions-to-the-c-language-family/alternate-keywords.html

Signed-off-by: David Lechner <david@pybricks.com>
2022-11-10 11:36:41 +11:00
Damien George
1531a7c8ca lib/micropython-lib: Update submodule to latest.
This brings in mip-cmdline, espflash, use of machine.dht_readinto, and
other improvements to existing libraries.

Signed-off-by: Damien George <damien@micropython.org>
2022-11-09 14:58:49 +11:00
Amir Gonnen
5e59a47f12 Update LVGL and lv_conf.h 2022-11-08 23:41:33 +02:00
Amir Gonnen
b8dde900fb Update lv_bindings
Enable barcode widget
2022-11-04 23:12:13 +02:00
Damien George
4f946ba963 lib/btstack: Update to v1.5.3.
Signed-off-by: Damien George <damien@micropython.org>
2022-10-22 13:21:28 +11:00
Amir Gonnen
7dc70db3a1
stm32: Disable LV_USE_TINY_TTF on stm32 (#61)
Currently build fails due to missing math functions
2022-09-29 23:53:58 +03:00
Jim Mussared
ba3652f15d lib/micropython-lib: Update submodule to latest.
This brings in the `mip` tool for installing packages.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-30 00:46:26 +10:00
Amir Gonnen
b57d52411a Update LVGL
Enable LV_USE_TINY_TTF
2022-09-28 20:30:56 +03:00
yn386
ae0b0e7018 lib/stm32lib: Update library to get L1 v1.10.3, and some other fixes.
Changes in this new library version are:
- Add L1 HAL at v1.10.3.
- H7_HAL/rcc_ex: Add SPI45 to HAL_RCCEx_GetPeriphCLKFreq.
- L4_HAL/gpio_ex: Add #define for GPIO_AF14_TIM2 on L4P5/L4Q5.
- F4_HAL/i2c: Fix I2C frequency calculation macros.
- L1_HAL/utils: Fix compile error when USE_HAL_DRIVER is defined.
2022-09-25 23:56:20 +10:00
Amir Gonnen
bd33005a51 Update LVGL
Add LVGL demos to automatic testing
2022-09-24 01:48:33 +03:00
Amir Gonnen
18d84aac21 Update lv_bindings 2022-09-20 00:47:06 +03:00
Amir Gonnen
e31507e001 Update LVGL and bindind script bugfix 2022-09-15 08:45:27 +03:00
Amir Gonnen
48cf618542 Update binding script 2022-09-13 23:45:22 +03:00
Jim Mussared
aeff6911d7 lib/micropython-lib: Update submodule to latest.
This brings in the drivers and libraries that were previously in this
repo.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-08 11:27:00 +10:00
Amir Gonnen
0e453b4f05 Update LVGL 2022-09-08 00:32:01 +03:00
Damien George
ccd210984e lib/micropython-lib: Update to latest version with manifest changes.
Signed-off-by: Damien George <damien@micropython.org>
2022-09-05 18:24:27 +10:00
Amir Gonnen
264eba3c09 Update LVGL 2022-08-30 00:24:24 +03:00
Amir Gonnen
0e7cb5a516
feat(png) use lv_png (#59) 2022-08-29 23:33:06 +03:00
Damien George
9a826e0f24 lib/lwip: Update lwIP to v2.1.3, tag STABLE-2_1_3_RELEASE.
There don't seem to be many changes going from v2.1.2 to v2.1.3 of lwIP.
Mostly they are:
- IPv6 fixes and improvements
- changes to apps and other code that MicroPython doesn't use
- comments and tests
- minor bug fixes

In particular there doesn't look to be any change to the API of any
function used by MicroPython.

Network multi tests pass on PYBD_SF2 and PYBD_SF6.  PYBD_SF2, PYBD_SF6 and
PICO_W have unchanged iperf3 performance.  Similar results for networking
on the mimxrt port.

Signed-off-by: Damien George <damien@micropython.org>
2022-08-29 14:41:21 +10:00
Amir Gonnen
500126aac9 Update LVGL. Enable IMGFONT and PINYIN 2022-08-27 17:46:21 +03:00
Amir Gonnen
bc05be5c1d Update bindings
Prevent writes to const fields in structs
2022-08-27 00:29:02 +03:00
Amir Gonnen
e8fb6581ba Update LVGL. Enable FFMPEG if available 2022-08-26 22:53:11 +03:00
Amir Gonnen
d6a96bcd3f Update lv_bindings 2022-08-07 00:24:08 +03:00
Amir Gonnen
0e2023e502 Update lv_bindings 2022-08-03 22:13:22 +03:00
Jim Mussared
9a1b7d8448 lib/micropython-lib: Add micropython-lib as a submodule.
Several boards now depend on libraries from micropython-lib.  Rather than
expecting micropython-lib to be available as a sibling of the micropython
repo, instead make it a submodule.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-08-03 00:04:06 +10:00
Amir Gonnen
6c7c3515ce Update LVGL 2022-07-30 22:57:12 +03:00
Amir Gonnen
5ce3c08e5a Update LVGL and bindings
Fixes https://github.com/amirgon/lvgl/pull/new/fix/spurious_enums
2022-07-30 01:54:49 +03:00
Amir Gonnen
04bb42e61f Update LVGL and bindings to v9
Related: https://github.com/lvgl/lv_binding_micropython/pull/225
Also update README.md
2022-07-26 23:42:23 +03:00
Peter Harper
9fd8250d69 lib/cyw43-driver: Update driver to latest version.
This version of the driver adds an event hook to call during firmware
download, and the ability to query the current power mode.
2022-07-26 01:37:47 +10:00
robert-hh
d1ef3815e6 lib/tinyusb: Update to the most recent master. 2022-07-19 11:26:54 +10:00
Amir Gonnen
6ebf96a903 Update lv_bindings 2022-07-16 00:35:07 +03:00
Amir Gonnen
e10854be8b Update lv_bindings to origin/master 2022-07-12 22:45:18 +03:00
Damien George
f4e69ab103 lib/cyw43-driver: Update cyw43-driver to fix ap_auth mode setting.
Signed-off-by: Damien George <damien@micropython.org>
2022-07-05 11:04:20 +10:00
Amir Gonnen
fde80ec041 stm32: Fix MP_REGISTER_MODULE 2022-07-03 00:45:08 +03:00
Damien George
f525e17793 lib/pico-sdk: Update to version 1.4.0.
Signed-off-by: Damien George <damien@micropython.org>
2022-06-30 16:03:21 +10:00
Damien George
18a010b5b1 lib/cyw43-driver: Add new submodule for CYW43xx WiFi driver.
Signed-off-by: Damien George <damien@micropython.org>
2022-06-30 16:03:21 +10:00
Amir Gonnen
3619e5a284 lv_bindings: v1.19 fixes 2022-06-29 00:11:01 +03:00
Amir Gonnen
38c5106a9d Merge tag 'v1.19.1' into update_micropython_v1.19
Bug fix for esp32 SoftI2C

This is a bug fix release.  The changes are:

- extmod/machine_i2c: only use WRITE1 option if transfer supports it

  This fixes the machine.SoftI2C.readfrom_mem() method on esp32, so it
  writes the address to read from.
2022-06-26 00:42:09 +03:00
Amir Gonnen
53e528dfb8 Update bindings (SDL fixes) 2022-06-15 00:26:29 +03:00
Amir Gonnen
5947f8dd43 unix/window: Support new SDL driver
See: https://github.com/lvgl/lv_binding_micropython/pull/215
2022-06-14 23:47:07 +03:00
Amir Gonnen
70494165d2 Update LVGL 2022-06-14 22:26:49 +03:00
Andrew Leech
cb436e357f lib/wiznet5k: Add submodule for Wiznet Ethernet drivers.
Signed-off-by: Andrew Leech <andrew@alelec.net>
2022-06-03 14:29:11 +10:00