Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.2k
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:masterChoose a base branch fromBSoD123456:mydev-esp32c6-lcd
base:master
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Draft
Changes fromall commits
Commits
Show all changes
764 commits Select commitHold shift + click to select a range
e5c3c9f
Update workflows
embeddedt368d601
Update lv_bindings
amirgon57df8b6
Update lv_bindings
amirgon03d7f36
Update lv_bindings
amirgon2276d86
Update lv_bindings
amirgone9e96af
Add PYCPARSER define when preprocessing for MicroPython bindings
embeddedtab341c0
Makefile: add lv_bindings to GIT_SUBMODULES
amirgonc4d00fb
unix_port.yml: Faster submodule update
amirgon57aa9ef
unix_port.yml: Faster submodule update
amirgon371c546
Merge branch 'master' of https://github.com/littlevgl/lv_mpy
amirgon797be75
zephyr: fixed invalid merge (#31)
svetelna863bd00
Update LVGL
amirgon8bdce98
Update lv_bindings
amirgonc4bf00a
Update lv_bindings
amirgon818b4ba
.github/workflows/ports_esp32.yml added back
amirgonebc3758
Merge pull request #32 from amirgon/enable_esp32_ci
amirgon74ff38a
Update README.md
amirgon4d6d9a3
Fix the example in README.md
XuNeo846a2f3
Update README.md
amirgon10ed6da
Update LVGL
amirgondae3f0a
Update lib/lv_bindings
amirgonc9c41cb
Update lib/lv_bindings
amirgon5733343
Update lib/lv_bindings
amirgonddda825
Update lib/lv_bindings
amirgonc7b749f
ports/esp32/main/CMakeLists.txt fix
amirgon64d9f11
Fix ESP32 M5CORE2 crash in inisetup.py (#34)
PGNetHun66ef754
Update lib/lv_bindings
amirgon18d37b6
Update lib/lv_bindings
amirgon54d3a0e
Update lib/lv_bindings
amirgon87c878e
Feat/gitpod (#35)
amirgon18ddfb5
Feat/gitpod - fixes (#36)
amirgona37dbab
Feat/gitpod - prebuilds (#37)
amirgoncd9c598
Update .gitpod
amirgone2b80e0
esp32/CMakeLists.txt: flag LV_MICROPYTHON
amirgon1fcd6e9
Update LVGL
amirgone71a972
Add dependency on GNU parallel. (#39)
cmumford3df3a82
Merge tag 'v1.17' into merge-v1.17
amirgon153e6a4
bugfix: Handle lib QSTR
amirgon7eb31fc
RPi Pico port (#42)
eudoxosff5502d
Update README.md
amirgon38d7788
Update LVGL and bindings
amirgonb765a2b
Merge pull request #43 from amirgon/merge-v1.17
amirgona59bd67
Add CI build for rp2 port (#44)
eudoxos9807382
README.md: Add RP2 badge
amirgond22f6e6
Update .gitpod.Dockerfile
embeddedt33fa8e2
Update lib/lv_bindings
amirgonac46733
fix rp2 port build failure
amirgon9cbb3d9
Update lib/lv_bindings
amirgon320e278
rp2: Fix build scripts
amirgonf936e4a
.github/workflows small fixes
amirgonc2aee25
Increment uftpd to April, 2021 version
jdtsmith654a3e9
Update lib/lv_bindings
amirgon343bb68
Update lib/lv_bindings
amirgon1765a09
lib/lv_bindings: fix espidf CI error
amirgon554440f
ports/esp32/boards/sdkconfig.base: bugfix
amirgon2a81dea
lib/lv_bindings: fix to stm32 build failure
amirgonec6a9fc
ports/esp32/Makefile: Remove lib/lv_bindings from GIT_SUBMODULES
amirgon3212545
Remove lib/lv_bindings from GIT_SUBMODULES
amirgonc96e610
Update LVGL and bindings
amirgone6d6c2b
Update LVGL
amirgon4a93612
Add optional rlottie
amirgonbd0d81a
Update LVGL
amirgon18dbcf6
Support FreeType if available
amirgona8f154c
Fix freetype include paths
amirgond6f741f
Update LVGL
amirgona4aa0a3
Unix Makefile: use pkg-config to determine ext lib flags
amirgon8f34b4a
Makefile: fix
amirgonefb8b0a
Bugfix: enable rlottie/freetype from makefile
amirgon9973174
Update correct lv_bindings
amirgon3697192
Makefile bugfix
amirgon0a0381c
Update LVGL
amirgon5f3f5e6
Merge workflow changes from lvgl_javascript_v8 branch
embeddedt0091909
Update LVGL
amirgondd01755
Update CI to use new GCC action
embeddedtdb8c473
Update LVGL
amirgond8a6891
Update LVGL
amirgon6e3512e
Use more efficient set of steps when cloning
embeddedt6f74085
Merge tag 'v1.18'
amirgon9a8e9bf
Update LVGL, bugfixes
amirgon1542e15
Merge remote-tracking branch 'upstream/master' into update_micropytho…
amirgonf61da15
Merge pull request #49 from amirgon/update_micropython_v1.18
amirgon8801577
gitpod: Add missing libusb-1.0-0 to dockerfile
amirgon958a8a6
Update LVGL. Bugfixes
amirgon4504fea
Update README to point to JavaScript v8 branch
embeddedtbf62dfc
Update README link
embeddedt81d99af
Update LVGL
amirgon01f31ac
Update LVGL
amirgon5a8ae04
README.md: update build instructions
amirgona0d5004
Update LVGL
amirgon5de52d8
Reduce size of mpy flash filesystem to make room for lvgl (#52)
campbellsan276b9eb
Update LVGL
amirgon7049416
Update LVGL
amirgon5947f8d
unix/window: Support new SDL driver
amirgon53e528d
Update bindings (SDL fixes)
amirgon38c5106
Merge tag 'v1.19.1' into update_micropython_v1.19
amirgonc9f4dfe
fix: typo (#54)
wyapx5118122
esp32 CMakeLists: Remove redundant include
amirgonb4ef72e
uftpd bugfix: bind API requires string, not int
amirgon3619e5a
lv_bindings: v1.19 fixes
amirgon18eefe7
py: Faster qstr search.
amirgon497e519
py/makeqstrdata.py: Refactor qstr class.
amirgonb7e692c
py/qstr: Sort qstrs by hash.
amirgon477c1c3
py/qstr: Optimize hash sort.
amirgonb912b45
Merge branch 'qstr_bsearch' into update_micropython_v1.19
amirgon8f4705e
Remove workflows
amirgonfde80ec
stm32: Fix MP_REGISTER_MODULE
amirgondbb8b2e
Align to LVGL v8.3
amirgone10854b
Update lv_bindings to origin/master
amirgon0303091
Merge branch 'update_micropython_v1.19'
amirgon2e880fb
Merge branch 'update_micropython_v1.19'
amirgon60f57d2
Fix ESP32-M5Core2 board build error (#56)
PGNetHun7dd2e72
Update ESP32-M5Core2 board documentation (#58)
PGNetHun6ebf96a
Update lv_bindings
amirgon04bb42e
Update LVGL and bindings to v9
amirgon58948c2
Switch JS port GitHub actions to track v9
embeddedt5ce3c08
Update LVGL and bindings
amirgon6c7c351
Update LVGL
amirgon0c889ab
README fixes
amirgon0e2023e
Update lv_bindings
amirgone9d398c
fix unix port standard variant
amirgon4111f1b
py/qstr: Fix hash collision corner case.
amirgond6a96bc
Update lv_bindings
amirgon31d12a2
py/qstr: Remove MP_QSTR_SEARCH_THRESHOLD.
amirgone8fb658
Update LVGL. Enable FFMPEG if available
amirgonbc05be5
Update bindings
amirgon500126a
Update LVGL. Enable IMGFONT and PINYIN
amirgon8a2fecc
lv_ffmpeg: Add libavutil to Makefile
amirgon620e6bc
stm32: disable ethernet/LwIP to save some more flash
embeddedt0e7cb5a
feat(png) use lv_png (#59)
amirgon264eba3
Update LVGL
amirgon0e453b4
Update LVGL
amirgon8d857fb
Update README.me add MAC OS instructions (#60)
daviel48cf618
Update binding script
amirgone31507e
Update LVGL and bindind script bugfix
amirgon18d84aa
Update lv_bindings
amirgonbd33005
Update LVGL
amirgonb57d524
Update LVGL
amirgon7dc70db
stm32: Disable LV_USE_TINY_TTF on stm32 (#61)
amirgonb8dde90
Update lv_bindings
amirgonc09b7b3
Fix typo in README
embeddedt230365b
Workaround for benc-uk/workflow-dispatch#50
embeddedt5e59a47
Update LVGL and lv_conf.h
amirgonb7ba322
Remove esp32 build from GitPod
amirgonc6eb7ee
update lv_bindings submodule
kisvegabor89c3b39
set ubuntu version
amirgondb97925
set ubuntu version
amirgon5e65bc2
Use pkg-config to configure SDL
amirgoned44096
Update lv_bindings
amirgon2131137
Update lv_bindings
amirgon0057c6d
Update LVGL
amirgon3bb7c75
Allow disabling TINY_TTF
amirgon69afb9e
Update LVGL
amirgon98035e1
Use LVGL internal FB driver on the unix port
amirgonf7dc04f
Update lv_bindings
amirgonfd21cf3
Update bindings
amirgon67c953a
Updates for new driver API
amirgon23b04c3
update lv_bindings
amirgoncd1a217
Merge branch 'arch/drivers'
amirgon5bc85a4
Update lv_bindings
amirgon43ac037
Update lv_bindings
amirgon70c5d61
Update LVGL
amirgon4af8feb
fixes https://github.com/lvgl/lv_binding_micropython/issues/263
amirgon7918311
Update LVGL
amirgona71d593
update bindings
amirgonc3c4bd1
Update bindings
kisvegaborb81680a
Update bindings
kisvegabor718cf4d
Update bindings
amirgon13ff24c
Update bindings
kisvegabor616db2e
Merge branch 'master' of https://github.com/lvgl/lv_micropython
kisvegabor56c824b
Update LVGL
amirgon5af201d
Merge tag 'v1.20.0' into update_micropython_v1.20
amirgon6ce2871
Align to Micropyton v1.20.0
amirgond3f379d
Remove VARIANT=dev on unix port
amirgon808d72d
Update LVGL
amirgonb9fae5f
update bindings
amirgonc8299de
Move unix specific build rules
amirgon6c20437
Fix symlink path
amirgon753e1ff
ESP32 fixes in lv_bindings submodule
amirgon7e9fa61
stm32: fix include path
amirgon52615da
stm32: fix manifest
amirgonbcaf844
stm32 update root pointer
amirgon4766e94
Update CFLAGS variable name for stm32
embeddedtfb095f2
Rebase lv_bindings and update LVGL
amirgon3f25a76
Merge branch 'update_micropython_v1.20'
amirgon437121c
Update bindinds
amirgon841ece1
Update LVGL
amirgon7ff7d1c
Update LVGL to v9 (#69)
PGNetHun72d5c66
update lv_bindings (#73)
PGNetHuncc50c7a
update lv_bindings (#74)
PGNetHunbbd6088
update lv_bindings (#75)
PGNetHun899ef5e
update lv_bindings (#76)
PGNetHun8706f22
update lv_bindings (#77)
PGNetHun87a6c00
update lv_bindings (#78)
PGNetHun939cca2
update lv_bindings (#79)
PGNetHuneb9a48a
update lv_bindings
kisvegabor78abbb1
Update LVGL to 9.1.0 (#80)
PGNetHun52c11cf
update lv_bindigs
kisvegabor16444e2
py/stackctrl: Add gcc pragmas to ignore dangling-pointer warning.
lhdjply81d3c12
Merge pull request #81 from lhdjply/patch-1
kisvegaborc57cd16
add idf v5.2.2 setup function to ci.sh
liamHowatt96162df
Merge pull request #83 from liamHowatt/lv-idf-522
kisvegabore8ea692
generate LVGL API JSON and pass to gen_mpy.py
liamHowatta190ce4
update lv_binding_micropython submodule to version with JSON handling
liamHowatt24dd8a1
Merge pull request #84 from liamHowatt/fix/lvgl-api-refactor
kisvegabor445aa48
use lv_bindings support for JSON in CMake builds, and small fix
liamHowatt82a5926
Merge pull request #85 from liamHowatt/feat/bump-lv-bindings-version
kisvegaborac025d5
check structs for alternative name in JSON
liamHowatt3033eff
Merge pull request #87 from liamHowatt/fix/leading-underscore-structs
kisvegabor5c7ac55
tools/mpremote: Fix UnboundLocalError in Transport.fs_writefile().
glenn20785c92d
esp32/machine_pwm: Use IDF functions to calculate resolution correctly.
pi-anlc0afff8
pic16bit: Make it build with recent XC16 versions.
agattia7d3bc2
py/objdeque: Fix buffer overflow in deque_subscr.
jansturm926f32768
extmod/modlwip: Fix IGMP address type when IPv6 is enabled.
dpgeorge164c549
esp32/machine_pwm: Restore PWM support for ESP-IDF v5.0.x and v5.1.x.
projectgus72799f9
esp32: Workaround native code execution crash on ESP32-S2.
projectgusc1a85bb
tools/mpremote: Make sure stdout and stderr output appear in order.
dpgeorge159b54b
tools/mpremote: Add test for forced copy.
dpgeorge4e78c61
tools/mpremote: Support trailing slash on dest for non-recursive copy.
dpgeorge0c580f7
esp32/modsocket: Fix getaddrinfo hints to set AI_CANONNAME.
dpgeorge20a6d82
extmod/vfs_blockdev: Support bool return from Python read/write blocks.
dpgeorge67f8938
extmod/network_cyw43: Fix isconnected() result on AP interface.
projectgus4f4d683
extmod/network_cyw43: Fix uninitialised variable in status('stations').
dpgeorge49b83ed
extmod/network_cyw43: Allow configuring active AP interface.
projectgus03bc561
esp32: Fix setting WLAN channel in AP mode.
projectguseb0027b
esp32: Use hardware version for touchpad macro defines.
projectgus33f50d4
esp32: Fix machine.TouchPad startup on ESP32-S2 and S3.
projectgus948863c
extmod/modframebuf: Fix 0 radius bug in FrameBuffer.ellipse.
corranwebster7118942
nrf/drivers/ticker: Reset slow ticker callback count on soft reboot.
robert-hh564ef28
py/objfloat: Workaround non-constant NAN definition on Windows MSVC.
projectgusecfdd5d
all: Bump version to 1.24.1.
dpgeorgefdb6a59
Updated README.md - update Unix (Mac OS) port instructions
addijhaqbf11074
Merge pull request #88 from addijhaq/patch-1
kisvegabor06ebf74
Merge tag 'v1.24.1' of https://github.com/micropython/micropython int…
PGNetHunc767aba
Update MicroPython bindings
PGNetHun22d4c25
Update LVGL binding: use it as USER_C_MODULE; add unix-lvgl variant a…
PGNetHun323e0b2
Clean up some LVGL related files and content to align to MicroPython …
PGNetHun649b30c
Fix github workflows and build issues
PGNetHun25bbc17
Build all ESP32 boards with LVGL module. Add build script for generic…
PGNetHundac523c
Update build and deploy scripts
PGNetHunc3d3a55
Update LVGL binding (main branch)
PGNetHun048868c
Merge pull request #89 from lvgl/update/micropython_v1.24.1-usermod
PGNetHune3d9310
Update LVGL binding
PGNetHun4fae3e1
Update readme files (#90)
PGNetHun750c3ad
Fix ESP32 board variant build parameter, and fix M5Core2 make (#91)
PGNetHun97a35a1
Fix ESP32 board variant deploy parameter (#92)
PGNetHunb75129d
Add ESP32 boards: LILYGO T-Display and LILYGO T-Watch 2020 V1/V2/V3 (…
PGNetHun0672cd8
Update LVGL binding (#94)
PGNetHun9fe8429
Update LVGL binding (#95)
PGNetHun4d94c7f
add ESP_32_LCD_C6
BSoD123456ade606f
calc TIMER_SCALE by GPTIMER_CLK_SRC
BSoD123456File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
12 changes: 12 additions & 0 deletions.github/auto-comment.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions.github/workflows/stm32_port.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions.gitmodules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions.gitpod
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff 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 | ||
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.