Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Calc ESP32 TIMER_SCALE scale by GPTIMER_CLK_SRC_DEFAULT#17316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
BSoD123456 wants to merge764 commits intomicropython:master
base:master
Choose a base branch
Loading
fromBSoD123456:mydev-esp32c6-lcd
Draft
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
764 commits
Select commitHold shift + click to select a range
e5c3c9f
Update workflows
embeddedtJul 7, 2021
368d601
Update lv_bindings
amirgonJul 9, 2021
57df8b6
Update lv_bindings
amirgonJul 9, 2021
03d7f36
Update lv_bindings
amirgonJul 9, 2021
2276d86
Update lv_bindings
amirgonJul 9, 2021
e9e96af
Add PYCPARSER define when preprocessing for MicroPython bindings
embeddedtJul 11, 2021
ab341c0
Makefile: add lv_bindings to GIT_SUBMODULES
amirgonJul 11, 2021
c4d00fb
unix_port.yml: Faster submodule update
amirgonJul 11, 2021
57aa9ef
unix_port.yml: Faster submodule update
amirgonJul 11, 2021
371c546
Merge branch 'master' of https://github.com/littlevgl/lv_mpy
amirgonJul 11, 2021
797be75
zephyr: fixed invalid merge (#31)
svetelnaJul 12, 2021
863bd00
Update LVGL
amirgonJul 13, 2021
8bdce98
Update lv_bindings
amirgonJul 15, 2021
c4bf00a
Update lv_bindings
amirgonJul 15, 2021
818b4ba
.github/workflows/ports_esp32.yml added back
amirgonJul 16, 2021
ebc3758
Merge pull request #32 from amirgon/enable_esp32_ci
amirgonJul 17, 2021
74ff38a
Update README.md
amirgonJul 17, 2021
4d6d9a3
Fix the example in README.md
XuNeoJul 19, 2021
846a2f3
Update README.md
amirgonJul 19, 2021
10ed6da
Update LVGL
amirgonJul 19, 2021
dae3f0a
Update lib/lv_bindings
amirgonJul 20, 2021
c9c41cb
Update lib/lv_bindings
amirgonJul 20, 2021
5733343
Update lib/lv_bindings
amirgonJul 20, 2021
ddda825
Update lib/lv_bindings
amirgonJul 21, 2021
c7b749f
ports/esp32/main/CMakeLists.txt fix
amirgonJul 22, 2021
64d9f11
Fix ESP32 M5CORE2 crash in inisetup.py (#34)
PGNetHunJul 23, 2021
66ef754
Update lib/lv_bindings
amirgonJul 24, 2021
18d37b6
Update lib/lv_bindings
amirgonJul 25, 2021
54d3a0e
Update lib/lv_bindings
amirgonJul 31, 2021
87c878e
Feat/gitpod (#35)
amirgonAug 11, 2021
18ddfb5
Feat/gitpod - fixes (#36)
amirgonAug 11, 2021
a37dbab
Feat/gitpod - prebuilds (#37)
amirgonAug 12, 2021
cd9c598
Update .gitpod
amirgonAug 12, 2021
e2b80e0
esp32/CMakeLists.txt: flag LV_MICROPYTHON
amirgonAug 12, 2021
1fcd6e9
Update LVGL
amirgonAug 13, 2021
e71a972
Add dependency on GNU parallel. (#39)
cmumfordAug 29, 2021
3df3a82
Merge tag 'v1.17' into merge-v1.17
amirgonSep 5, 2021
153e6a4
bugfix: Handle lib QSTR
amirgonSep 5, 2021
7eb31fc
RPi Pico port (#42)
eudoxosSep 6, 2021
ff5502d
Update README.md
amirgonSep 6, 2021
38d7788
Update LVGL and bindings
amirgonSep 7, 2021
b765a2b
Merge pull request #43 from amirgon/merge-v1.17
amirgonSep 7, 2021
a59bd67
Add CI build for rp2 port (#44)
eudoxosSep 9, 2021
9807382
README.md: Add RP2 badge
amirgonSep 9, 2021
d22f6e6
Update .gitpod.Dockerfile
embeddedtSep 9, 2021
33fa8e2
Update lib/lv_bindings
amirgonSep 12, 2021
ac46733
fix rp2 port build failure
amirgonSep 13, 2021
9cbb3d9
Update lib/lv_bindings
amirgonSep 13, 2021
320e278
rp2: Fix build scripts
amirgonSep 14, 2021
f936e4a
.github/workflows small fixes
amirgonSep 14, 2021
c2aee25
Increment uftpd to April, 2021 version
jdtsmithSep 16, 2021
654a3e9
Update lib/lv_bindings
amirgonSep 21, 2021
343bb68
Update lib/lv_bindings
amirgonOct 2, 2021
1765a09
lib/lv_bindings: fix espidf CI error
amirgonOct 2, 2021
554440f
ports/esp32/boards/sdkconfig.base: bugfix
amirgonOct 2, 2021
2a81dea
lib/lv_bindings: fix to stm32 build failure
amirgonOct 3, 2021
ec6a9fc
ports/esp32/Makefile: Remove lib/lv_bindings from GIT_SUBMODULES
amirgonOct 6, 2021
3212545
Remove lib/lv_bindings from GIT_SUBMODULES
amirgonOct 17, 2021
c96e610
Update LVGL and bindings
amirgonOct 20, 2021
e6d6c2b
Update LVGL
amirgonOct 21, 2021
4a93612
Add optional rlottie
amirgonNov 2, 2021
bd0d81a
Update LVGL
amirgonNov 3, 2021
18dbcf6
Support FreeType if available
amirgonNov 3, 2021
a8f154c
Fix freetype include paths
amirgonNov 3, 2021
d6f741f
Update LVGL
amirgonNov 5, 2021
a4aa0a3
Unix Makefile: use pkg-config to determine ext lib flags
amirgonNov 5, 2021
8f34b4a
Makefile: fix
amirgonNov 5, 2021
efb8b0a
Bugfix: enable rlottie/freetype from makefile
amirgonNov 5, 2021
9973174
Update correct lv_bindings
amirgonNov 5, 2021
3697192
Makefile bugfix
amirgonNov 6, 2021
0a0381c
Update LVGL
amirgonNov 12, 2021
5f3f5e6
Merge workflow changes from lvgl_javascript_v8 branch
embeddedtNov 14, 2021
0091909
Update LVGL
amirgonNov 26, 2021
dd01755
Update CI to use new GCC action
embeddedtDec 2, 2021
db8c473
Update LVGL
amirgonDec 10, 2021
d8a6891
Update LVGL
amirgonDec 28, 2021
6e3512e
Use more efficient set of steps when cloning
embeddedtJan 14, 2022
6f74085
Merge tag 'v1.18'
amirgonJan 18, 2022
9a8e9bf
Update LVGL, bugfixes
amirgonJan 20, 2022
1542e15
Merge remote-tracking branch 'upstream/master' into update_micropytho…
amirgonJan 28, 2022
f61da15
Merge pull request #49 from amirgon/update_micropython_v1.18
amirgonJan 28, 2022
8801577
gitpod: Add missing libusb-1.0-0 to dockerfile
amirgonJan 28, 2022
958a8a6
Update LVGL. Bugfixes
amirgonJan 29, 2022
4504fea
Update README to point to JavaScript v8 branch
embeddedtJan 29, 2022
bf62dfc
Update README link
embeddedtJan 29, 2022
81d99af
Update LVGL
amirgonFeb 28, 2022
01f31ac
Update LVGL
amirgonMar 15, 2022
5a8ae04
README.md: update build instructions
amirgonMay 8, 2022
a0d5004
Update LVGL
amirgonMay 10, 2022
5de52d8
Reduce size of mpy flash filesystem to make room for lvgl (#52)
campbellsanMay 15, 2022
276b9eb
Update LVGL
amirgonMay 28, 2022
7049416
Update LVGL
amirgonJun 14, 2022
5947f8d
unix/window: Support new SDL driver
amirgonJun 14, 2022
53e528d
Update bindings (SDL fixes)
amirgonJun 14, 2022
38c5106
Merge tag 'v1.19.1' into update_micropython_v1.19
amirgonJun 25, 2022
c9f4dfe
fix: typo (#54)
wyapxJun 28, 2022
5118122
esp32 CMakeLists: Remove redundant include
amirgonJun 28, 2022
b4ef72e
uftpd bugfix: bind API requires string, not int
amirgonJun 28, 2022
3619e5a
lv_bindings: v1.19 fixes
amirgonJun 28, 2022
18eefe7
py: Faster qstr search.
amirgonFeb 13, 2021
497e519
py/makeqstrdata.py: Refactor qstr class.
amirgonFeb 19, 2022
b7e692c
py/qstr: Sort qstrs by hash.
amirgonFeb 23, 2022
477c1c3
py/qstr: Optimize hash sort.
amirgonFeb 25, 2022
b912b45
Merge branch 'qstr_bsearch' into update_micropython_v1.19
amirgonJul 2, 2022
8f4705e
Remove workflows
amirgonJul 2, 2022
fde80ec
stm32: Fix MP_REGISTER_MODULE
amirgonJul 2, 2022
dbb8b2e
Align to LVGL v8.3
amirgonJul 9, 2022
e10854b
Update lv_bindings to origin/master
amirgonJul 12, 2022
0303091
Merge branch 'update_micropython_v1.19'
amirgonJul 12, 2022
2e880fb
Merge branch 'update_micropython_v1.19'
amirgonJul 12, 2022
60f57d2
Fix ESP32-M5Core2 board build error (#56)
PGNetHunJul 14, 2022
7dd2e72
Update ESP32-M5Core2 board documentation (#58)
PGNetHunJul 14, 2022
6ebf96a
Update lv_bindings
amirgonJul 15, 2022
04bb42e
Update LVGL and bindings to v9
amirgonJul 26, 2022
58948c2
Switch JS port GitHub actions to track v9
embeddedtJul 27, 2022
5ce3c08
Update LVGL and bindings
amirgonJul 29, 2022
6c7c351
Update LVGL
amirgonJul 30, 2022
0c889ab
README fixes
amirgonJul 30, 2022
0e2023e
Update lv_bindings
amirgonAug 3, 2022
e9d398c
fix unix port standard variant
amirgonAug 4, 2022
4111f1b
py/qstr: Fix hash collision corner case.
amirgonAug 5, 2022
d6a96bc
Update lv_bindings
amirgonAug 6, 2022
31d12a2
py/qstr: Remove MP_QSTR_SEARCH_THRESHOLD.
amirgonAug 6, 2022
e8fb658
Update LVGL. Enable FFMPEG if available
amirgonAug 26, 2022
bc05be5
Update bindings
amirgonAug 26, 2022
500126a
Update LVGL. Enable IMGFONT and PINYIN
amirgonAug 27, 2022
8a2fecc
lv_ffmpeg: Add libavutil to Makefile
amirgonAug 28, 2022
620e6bc
stm32: disable ethernet/LwIP to save some more flash
embeddedtAug 28, 2022
0e7cb5a
feat(png) use lv_png (#59)
amirgonAug 29, 2022
264eba3
Update LVGL
amirgonAug 29, 2022
0e453b4
Update LVGL
amirgonSep 7, 2022
8d857fb
Update README.me add MAC OS instructions (#60)
davielSep 12, 2022
48cf618
Update binding script
amirgonSep 13, 2022
e31507e
Update LVGL and bindind script bugfix
amirgonSep 15, 2022
18d84aa
Update lv_bindings
amirgonSep 19, 2022
bd33005
Update LVGL
amirgonSep 23, 2022
b57d524
Update LVGL
amirgonSep 28, 2022
7dc70db
stm32: Disable LV_USE_TINY_TTF on stm32 (#61)
amirgonSep 29, 2022
b8dde90
Update lv_bindings
amirgonNov 4, 2022
c09b7b3
Fix typo in README
embeddedtNov 5, 2022
230365b
Workaround for benc-uk/workflow-dispatch#50
embeddedtNov 5, 2022
5e59a47
Update LVGL and lv_conf.h
amirgonNov 8, 2022
b7ba322
Remove esp32 build from GitPod
amirgonNov 15, 2022
c6eb7ee
update lv_bindings submodule
kisvegaborDec 19, 2022
89c3b39
set ubuntu version
amirgonDec 19, 2022
db97925
set ubuntu version
amirgonJan 19, 2023
5e65bc2
Use pkg-config to configure SDL
amirgonJan 19, 2023
ed44096
Update lv_bindings
amirgonJan 21, 2023
2131137
Update lv_bindings
amirgonJan 24, 2023
0057c6d
Update LVGL
amirgonJan 31, 2023
3bb7c75
Allow disabling TINY_TTF
amirgonJan 31, 2023
69afb9e
Update LVGL
amirgonJan 31, 2023
98035e1
Use LVGL internal FB driver on the unix port
amirgonFeb 3, 2023
f7dc04f
Update lv_bindings
amirgonFeb 25, 2023
fd21cf3
Update bindings
amirgonMar 2, 2023
67c953a
Updates for new driver API
amirgonMar 10, 2023
23b04c3
update lv_bindings
amirgonMar 10, 2023
cd1a217
Merge branch 'arch/drivers'
amirgonMar 10, 2023
5bc85a4
Update lv_bindings
amirgonMar 10, 2023
43ac037
Update lv_bindings
amirgonMar 13, 2023
70c5d61
Update LVGL
amirgonMar 16, 2023
4af8feb
fixes https://github.com/lvgl/lv_binding_micropython/issues/263
amirgonMar 18, 2023
7918311
Update LVGL
amirgonMar 18, 2023
a71d593
update bindings
amirgonMar 19, 2023
c3c4bd1
Update bindings
kisvegaborMar 23, 2023
b81680a
Update bindings
kisvegaborApr 27, 2023
718cf4d
Update bindings
amirgonApr 28, 2023
13ff24c
Update bindings
kisvegaborMay 1, 2023
616db2e
Merge branch 'master' of https://github.com/lvgl/lv_micropython
kisvegaborMay 1, 2023
56c824b
Update LVGL
amirgonMay 2, 2023
5af201d
Merge tag 'v1.20.0' into update_micropython_v1.20
amirgonJun 2, 2023
6ce2871
Align to Micropyton v1.20.0
amirgonJun 3, 2023
d3f379d
Remove VARIANT=dev on unix port
amirgonJun 5, 2023
808d72d
Update LVGL
amirgonJun 10, 2023
b9fae5f
update bindings
amirgonJun 10, 2023
c8299de
Move unix specific build rules
amirgonJun 16, 2023
6c20437
Fix symlink path
amirgonJun 16, 2023
753e1ff
ESP32 fixes in lv_bindings submodule
amirgonJun 16, 2023
7e9fa61
stm32: fix include path
amirgonJun 17, 2023
52615da
stm32: fix manifest
amirgonJun 17, 2023
bcaf844
stm32 update root pointer
amirgonJun 17, 2023
4766e94
Update CFLAGS variable name for stm32
embeddedtJun 18, 2023
fb095f2
Rebase lv_bindings and update LVGL
amirgonJun 18, 2023
3f25a76
Merge branch 'update_micropython_v1.20'
amirgonJun 18, 2023
437121c
Update bindinds
amirgonJun 30, 2023
841ece1
Update LVGL
amirgonJul 3, 2023
7ff7d1c
Update LVGL to v9 (#69)
PGNetHunJan 24, 2024
72d5c66
update lv_bindings (#73)
PGNetHunJan 27, 2024
cc50c7a
update lv_bindings (#74)
PGNetHunJan 30, 2024
bbd6088
update lv_bindings (#75)
PGNetHunFeb 4, 2024
899ef5e
update lv_bindings (#76)
PGNetHunFeb 4, 2024
8706f22
update lv_bindings (#77)
PGNetHunFeb 4, 2024
87a6c00
update lv_bindings (#78)
PGNetHunFeb 11, 2024
939cca2
update lv_bindings (#79)
PGNetHunFeb 15, 2024
eb9a48a
update lv_bindings
kisvegaborMar 5, 2024
78abbb1
Update LVGL to 9.1.0 (#80)
PGNetHunMar 20, 2024
52c11cf
update lv_bindigs
kisvegaborMay 20, 2024
16444e2
py/stackctrl: Add gcc pragmas to ignore dangling-pointer warning.
lhdjplyMay 27, 2024
81d3c12
Merge pull request #81 from lhdjply/patch-1
kisvegaborMay 30, 2024
c57cd16
add idf v5.2.2 setup function to ci.sh
liamHowattJul 16, 2024
96162df
Merge pull request #83 from liamHowatt/lv-idf-522
kisvegaborJul 18, 2024
e8ea692
generate LVGL API JSON and pass to gen_mpy.py
liamHowattJul 19, 2024
a190ce4
update lv_binding_micropython submodule to version with JSON handling
liamHowattJul 19, 2024
24dd8a1
Merge pull request #84 from liamHowatt/fix/lvgl-api-refactor
kisvegaborJul 19, 2024
445aa48
use lv_bindings support for JSON in CMake builds, and small fix
liamHowattJul 22, 2024
82a5926
Merge pull request #85 from liamHowatt/feat/bump-lv-bindings-version
kisvegaborJul 22, 2024
ac025d5
check structs for alternative name in JSON
liamHowattSep 2, 2024
3033eff
Merge pull request #87 from liamHowatt/fix/leading-underscore-structs
kisvegaborSep 2, 2024
5c7ac55
tools/mpremote: Fix UnboundLocalError in Transport.fs_writefile().
glenn20Oct 26, 2024
785c92d
esp32/machine_pwm: Use IDF functions to calculate resolution correctly.
pi-anlOct 27, 2024
c0afff8
pic16bit: Make it build with recent XC16 versions.
agattiSep 12, 2024
a7d3bc2
py/objdeque: Fix buffer overflow in deque_subscr.
jansturm92Oct 29, 2024
6f32768
extmod/modlwip: Fix IGMP address type when IPv6 is enabled.
dpgeorgeOct 31, 2024
164c549
esp32/machine_pwm: Restore PWM support for ESP-IDF v5.0.x and v5.1.x.
projectgusNov 1, 2024
72799f9
esp32: Workaround native code execution crash on ESP32-S2.
projectgusNov 6, 2024
c1a85bb
tools/mpremote: Make sure stdout and stderr output appear in order.
dpgeorgeNov 6, 2024
159b54b
tools/mpremote: Add test for forced copy.
dpgeorgeNov 6, 2024
4e78c61
tools/mpremote: Support trailing slash on dest for non-recursive copy.
dpgeorgeNov 6, 2024
0c580f7
esp32/modsocket: Fix getaddrinfo hints to set AI_CANONNAME.
dpgeorgeNov 11, 2024
20a6d82
extmod/vfs_blockdev: Support bool return from Python read/write blocks.
dpgeorgeNov 13, 2024
67f8938
extmod/network_cyw43: Fix isconnected() result on AP interface.
projectgusNov 13, 2024
4f4d683
extmod/network_cyw43: Fix uninitialised variable in status('stations').
dpgeorgeNov 19, 2024
49b83ed
extmod/network_cyw43: Allow configuring active AP interface.
projectgusNov 13, 2024
03bc561
esp32: Fix setting WLAN channel in AP mode.
projectgusNov 12, 2024
eb0027b
esp32: Use hardware version for touchpad macro defines.
projectgusNov 6, 2024
33f50d4
esp32: Fix machine.TouchPad startup on ESP32-S2 and S3.
projectgusNov 6, 2024
948863c
extmod/modframebuf: Fix 0 radius bug in FrameBuffer.ellipse.
corranwebsterNov 14, 2024
7118942
nrf/drivers/ticker: Reset slow ticker callback count on soft reboot.
robert-hhNov 27, 2024
564ef28
py/objfloat: Workaround non-constant NAN definition on Windows MSVC.
projectgusNov 20, 2024
ecfdd5d
all: Bump version to 1.24.1.
dpgeorgeNov 29, 2024
fdb6a59
Updated README.md - update Unix (Mac OS) port instructions
addijhaqDec 27, 2024
bf11074
Merge pull request #88 from addijhaq/patch-1
kisvegaborJan 3, 2025
06ebf74
Merge tag 'v1.24.1' of https://github.com/micropython/micropython int…
PGNetHunMar 1, 2025
c767aba
Update MicroPython bindings
PGNetHunMar 3, 2025
22d4c25
Update LVGL binding: use it as USER_C_MODULE; add unix-lvgl variant a…
PGNetHunMar 3, 2025
323e0b2
Clean up some LVGL related files and content to align to MicroPython …
PGNetHunMar 4, 2025
649b30c
Fix github workflows and build issues
PGNetHunMar 4, 2025
25bbc17
Build all ESP32 boards with LVGL module. Add build script for generic…
PGNetHunMar 4, 2025
dac523c
Update build and deploy scripts
PGNetHunMar 15, 2025
c3d3a55
Update LVGL binding (main branch)
PGNetHunMar 15, 2025
048868c
Merge pull request #89 from lvgl/update/micropython_v1.24.1-usermod
PGNetHunMar 15, 2025
e3d9310
Update LVGL binding
PGNetHunMar 15, 2025
4fae3e1
Update readme files (#90)
PGNetHunMar 15, 2025
750c3ad
Fix ESP32 board variant build parameter, and fix M5Core2 make (#91)
PGNetHunMar 15, 2025
97a35a1
Fix ESP32 board variant deploy parameter (#92)
PGNetHunMar 15, 2025
b75129d
Add ESP32 boards: LILYGO T-Display and LILYGO T-Watch 2020 V1/V2/V3 (…
PGNetHunMar 15, 2025
0672cd8
Update LVGL binding (#94)
PGNetHunMar 17, 2025
9fe8429
Update LVGL binding (#95)
PGNetHunMar 18, 2025
4d94c7f
add ESP_32_LCD_C6
BSoD123456May 17, 2025
ade606f
calc TIMER_SCALE by GPTIMER_CLK_SRC
BSoD123456May 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions.github/auto-comment.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
# Comment to a new issue.
pullRequestOpened: |
Thank you for raising your pull request.

To ensure that all licensing criteria is met all repositories of the LVGL project apply a process called DCO (Developer's Certificate of Origin).

The text of DCO can be read here: https://developercertificate.org/
For a more detailed description see the [Documentation](https://docs.lvgl.io/latest/en/html/contributing/index.html#developer-certification-of-origin-dco) site.

By contributing to any repositories of the LVGL project you state that your contribution corresponds with the DCO.

No further action is required if your contribution fulfills the DCO. If you are not sure about it feel free to ask us in a comment.
17 changes: 17 additions & 0 deletions.github/stale.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 21
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- architecture
- pinned
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue or pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
68 changes: 68 additions & 0 deletions.github/workflows/js-port-v9.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
name: Build Javascript v9 port
env:
EM_VERSION: 2.0.31
EM_CACHE_FOLDER: 'emsdk-cache'
on:
push:
branches: [ lvgl_javascript_v9 ]
workflow_dispatch:

jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
ref: 'lvgl_javascript_v9'
fetch-depth: 0
- name: Setup cache
id: cache-system-libraries
uses: actions/cache@v2
with:
path: ${{env.EM_CACHE_FOLDER}}
key: ${{env.EM_VERSION}}-${{ runner.os }}
- uses: mymindstorm/setup-emsdk@v10
with:
version: ${{env.EM_VERSION}}
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
- name: Build SDL2
run: embuilder build sdl2
- name: Build FreeType
run: ./build_freetype.sh
working-directory: ports/javascript/scripts
- name: Build Rlottie
run: ./build_rlottie.sh
working-directory: ports/javascript/scripts
- name: Update submodules
run: make -j $(nproc) -C ports/javascript submodules
- name: Build mpy-cross
run: make -j $(nproc) -C mpy-cross
- name: Install node modules
run: npm install
working-directory: ports/javascript
- name: Build workers
run: npm run clean
working-directory: ports/javascript
- name: Build the javascript port
run: make -j $(nproc) -C ports/javascript
- name: Build frontend
run: npm run bundle
working-directory: ports/javascript
- name: Clean up unneeded files
run: rm -rf build .cache node_modules
working-directory: ports/javascript
- name: Retrieve version
run: |
echo "::set-output name=VERSION_NAME::$(user_modules/lv_binding_micropython/lvgl/scripts/find_version.sh)"
id: version
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
token: ${{ secrets.LVGL_BOT_TOKEN }}
commit-message: ${{ env.GITHUB_SHA }}
branch: master
folder: ports/javascript/bundle_out
repository-name: lvgl/sim
target-folder: v${{ steps.version.outputs.VERSION_NAME }}/micropython/ports/javascript
33 changes: 33 additions & 0 deletions.github/workflows/merge-to-js.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
name: Merge master branch to lvgl_javascript
on:
push:
branches:
- 'master'
jobs:
merge-branch:
runs-on: ubuntu-20.04
steps:
- name: Wait for Unix port build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: build
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Skip merge
run: exit 1
if: steps.wait-for-build.outputs.conclusion == 'failure'
- uses: actions/checkout@master
- name: Merge to lvgl_javascript branch
uses: devmasx/merge-branch@v1.1.0
with:
type: now
target_branch: 'lvgl_javascript_v9'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Trigger Javascript port build
uses: benc-uk/workflow-dispatch@a69ac85ea87587e76bb4f262eb868205dfcab8e8
with:
workflow: Build Javascript v9 port
ref: ${{ github.event.ref }}
token: ${{ secrets.LVGL_BOT_TOKEN }}
31 changes: 31 additions & 0 deletions.github/workflows/rp2_port.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
name: rp2 port

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
board: [PICO]
steps:
- uses: actions/checkout@v2
- name: arm-none-eabi-gcc
uses: carlosperate/arm-none-eabi-gcc-action@v1.3.0
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
- name: Initialize lv_bindings submodule
run: git submodule update --init --recursive user_modules/lv_binding_micropython
- name: Initialize Micropython submodules
run: make -C ports/rp2 BOARD=${{ matrix.board }} USER_C_MODULES=../../user_modules/lv_binding_micropython/bindings.cmake submodules
- name: Build mpy-cross
run: make -j $(nproc) -C mpy-cross
- name: Build ${{ matrix.board }}
run: make -j $(nproc) -C ports/rp2 BOARD=${{ matrix.board }} USER_C_MODULES=../../user_modules/lv_binding_micropython/bindings.cmake
- uses: actions/upload-artifact@v2
if: ${{ env.GITHUB_EVENT_NAME }} == 'push'
with:
name: ${{ matrix.board }}.hex
path: ports/rp2/build-${{ matrix.board }}/firmware.elf
2 changes: 2 additions & 0 deletions.github/workflows/ruff.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,6 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Initialize lv_bindings submodule
run: git submodule update --init --recursive user_modules/lv_binding_micropython
# ruff version should be kept in sync with .pre-commit-config.yaml
- run: pip install --user ruff==0.1.3
- run: ruff check --output-format=github .
Expand Down
29 changes: 29 additions & 0 deletions.github/workflows/stm32_port.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
name: stm32 port

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
board: [STM32F7DISC]
steps:
- uses: actions/checkout@v2
- name: arm-none-eabi-gcc
uses: carlosperate/arm-none-eabi-gcc-action@v1.3.0
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
- name: Update submodules
run: git submodule update --init --recursive
- name: Build mpy-cross
run: make -j $(nproc) -C mpy-cross
- name: Build ${{ matrix.board }}
run: make -j $(nproc) -C ports/stm32 BOARD=${{ matrix.board }}
- uses: actions/upload-artifact@v2
if: ${{ env.GITHUB_EVENT_NAME }} == 'push'
with:
name: ${{ matrix.board }}.hex
path: ports/stm32/build-${{ matrix.board }}/firmware.hex
31 changes: 31 additions & 0 deletions.github/workflows/unix_port.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
name: unix port

on:
push:
pull_request:

jobs:
build:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq
sudo apt-get install libsdl2-dev parallel libfreetype-dev librlottie-dev libavformat-dev libavcodec-dev libswscale-dev libavutil-dev
- name: Initialize lv_bindings submodule
run: git submodule update --init --recursive user_modules/lv_binding_micropython
- name: Update submodules
run: make -C ports/unix DEBUG=1 submodules
- name: Build mpy-cross
run: make -j $(nproc) -C mpy-cross
- name: Build the unix port
run: make -j $(nproc) -C ports/unix DEBUG=1
- name: Run tests
run: |
export XDG_RUNTIME_DIR=/tmp
user_modules/lv_binding_micropython/tests/run.sh

46 changes: 46 additions & 0 deletions.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,3 +24,49 @@ user.props

# MacOS desktop metadata files
.DS_Store

# Compiled Sources
###################
*.o
*.a
*.elf
*.bin
*.map
*.hex
*.dis
*.exe

lextab.py
yacctab.py

# Packages
############

# Logs and Databases
######################
*.log

# VIM Swap Files
######################
*.swp
*.swo
*.swn
*.swi
*.swj
*.swk
*.swl
*.swm

# VIM Session Files
######################
Session.vim

# CTags files
######################
tags
TAGS

######################

ports/javascript/node_modules
.vscode/
3 changes: 3 additions & 0 deletions.gitmodules
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -68,3 +68,6 @@
[submodule "lib/arduino-lib"]
path = lib/arduino-lib
url = https://github.com/arduino/arduino-lib-mpy.git
[submodule "user_modules/lv_binding_micropython"]
path = user_modules/lv_binding_micropython
url = https://github.com/lvgl/lv_binding_micropython.git
35 changes: 35 additions & 0 deletions.gitpod
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
image:
file: .gitpod.Dockerfile
ports:
- port: 6080
protocol: "http"
onOpen: open-preview
- port: 5900
onOpen: ignore
tasks:
- init: |
make -C ports/unix DEBUG=1 submodules
make -j $(nproc) -C mpy-cross DEBUG=1
make -j $(nproc) -C ports/unix DEBUG=1
command: |
xrandr --fb 500x500 # Fix resolution for LVGL screens which are smaller
ports/unix/build-lvgl/micropython -i user_modules/lv_binding_micropython/examples/advanced_demo.py
vscode:
extensions:
- ms-vscode.cpptools
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod
9 changes: 9 additions & 0 deletions.gitpod.Dockerfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
FROM gitpod/workspace-full-vnc

# https://community.gitpod.io/t/long-startup-times/3299/9
ENV GITPOD_TRIGGER_REBUILD=1

# Install dependencies
RUN sudo apt-get update && \
sudo apt-get install -y libgtk-3-dev libsdl2-dev x11-xserver-utils parallel libfreetype-dev librlottie-dev libusb-1.0-0

Loading

[8]ページ先頭

©2009-2025 Movatter.jp