Commit graph

181 commits

Author SHA1 Message Date
あく
665f6d7d9c
Assets, Icons, UI toolkit. Part 1. (#202)
* Assets: import from gdrive
* Assets: fully working build pipeline and registry
* NFC: menu icon
* Gui: layers. Irukagotchi: base app to handle input on idle screen. Makefile: reboot after flash in dfu mode.
* ValueMutex: with lambda
* Assets: proper animation frames sorting
* ValueMutex: proper furi_open usage
* Assets,GUI: split icon into icon data and icon state.
* Format source code
* Docker: add python3 and imagemagic
* Irukagotchi: cleanup
* GUI: event lock moved to gui.
* Rfid: proper gui layer
* GUI: elements. Menu: frame and scroll
* GUI, Menu: format code.
* Menu: dual font main menu
* Menu: format sources
* GUI: 0 total scrollbar
* CI: enable lfs
* Menu: pixel perfect main menu

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-10-26 20:00:17 +03:00
rusdacent
c8cc3c7dc8
Refactor pylint (#195)
* fix pylint paths

* add fake py file for test
* rm fake py file
* add fake txt file for test
* rm fake txt file
* fix paths for pull request
* fix for pull request trigger
* add fake py file for test
* rm fake py file
* add fake text file for test
* rm fake text file for test

Co-authored-by: coreglitch <mail@s3f.ru>
2020-10-26 09:59:16 +03:00
aanper
dc39be505b not build cc1101 in local build, app_release default in CI build 2020-10-19 09:56:12 +03:00
rusdacent
7570ac08a9
Fix codestyle check pipeline (#178)
* change continue-on-error to false

* add manual trigger

* revert manual trigger

* test fail checkstyle

* restore prev trigger and settings

* fix syntax

* fix exit code for codestyle

* try to break pipeline

* restore pipeline

Co-authored-by: aanper <mail@s3f.ru>
2020-10-15 19:50:21 +03:00
coreglitch
176e608c6d
Add minunit test framework (#168)
* add minunit tests

* fix logging

* ignore unexisting time service on embedded targets

* fix warning, issue with printf

* add exitcode

* migrate to printf

* indicate test by leds

* add testing description

* redesigned minunit tests to allow testing in separate files

* add test step for local target

* add failure test

* add restore test_check

* testing description

Co-authored-by: rusdacent <rusdacentx0x08@gmail.com>
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2020-10-10 13:32:06 +03:00
あく
3c2711102c
Target refactoring and cube update (#161)
* Lib: move cube to libs. Firmware: prepare for code base refactoring, detach from cube, port to cmsis_os2.

* Firmware, target f2: regenerate project with latest cube package, tim17 for os ticks.

* Firmware: unified codebase.

* Core: do not include semaphore on old targets. Firmware: dfu uplaod target.

* CI: submodules, add firmware build.

* CI: proper submodule config.

* refactor build system

* CI: update chain to use new targets. Documentation: update to match current structure.

* CI: clean before rebuild.

* Add local test

docker-compose exec dev make -C firmware TARGET=local TEST=1 run

* Makefile: target specific build directory. CI: updated artifacts path.

* Makefile: init git submodules if they don't exists.

* Makefile: debug rule now doesn't reset MCU, prevent SIGINT propagation to st-util.

* Makefile: proper rebuild sequence in zz and zzz

* Makefile: timestamp tracking for flash and upload commands.

* Apps: modular build. Input: fix flipper hal inline.

* Wiki: proper bootloader link.

* Applications: fix broken build for local targets.

* add st-flash to docker

* fix build

* force rebuild app

* move app force to firmware part

* fix build deps

* qrcode build ok

* fix example display

* add testing routine

* update build instruction

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-10-07 12:37:43 +03:00
あく
805bb886c0
Implement bootloader #137 (#142)
* Boot: switch to DFU routines. Implements #132 part 1 of 2.

* Boot: boot to DFU shortcut, hard reset USB on each boot. Implements #132 part 2 of 2.

* Deploy scripts: fix path for deploy dfu.

* Bootloader: initial version. Target_f2: rebase, update deployment scripts.

* Bootloader: cleanup, refactor switch2 proc. Readme,wiki: document bootloader.

* Wiki: deploy symlinks as files, bootloader info.

* Target_f2: valid flash size in linker script.

* Github CI: bootloader build and artifacts.

* Bootloader: rename platforms to targets.

* Bootloader: change dfu/os colors.

* disable set -e

* lint code

* add bootloader testing page

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-10-01 02:05:04 +03:00
Nikita Beletskii
110a9efc3c
[WIP] Add syntax check for rust and C\C++ code (#108)
* proof of concept

* fix syntax for rust and add auto fix syntax

* fix syntax for C

* fix bug with files owner

* add information to wiki

* try to add ci

* format code from master

* even more format fixes

* change docker to docker-compose

* Exclude ./target_*/build directories from format check

* Run rustfmt only on project files

* add ulimit setup for long clang list

* merge

* fix rustfmt, exclude target Inc directory

* sync with master

* abspath

Co-authored-by: aanper <mail@s3f.ru>
Co-authored-by: Vadim Kaushan <admin@disasm.info>
2020-09-30 02:18:30 +03:00
Vadim Kaushan
33be546b94
Publish target_f1 artifacts in CI, build target_f2 in CI (#141)
* Publish target_f1 artifacts in CI

* Add target_f2 to CI
2020-09-29 15:40:47 +03:00
Pavel Zhovner
6dbd71ae40 Ignore wiki updates in CI 2020-09-28 02:36:32 +03:00
LionZXY
892a3b16da
Docker cache try 2 (#126)
* Docker cache try 2

* Update README.md

* Fix restore-key

* Update README.md
2020-09-17 12:11:06 +03:00
LionZXY
b333617a9b
Add docker cache 2020-09-17 11:06:25 +03:00
Pavel Zhovner
3ee9cf4f94
Fix broken path in publish_wiki action 2020-09-16 16:06:15 +03:00
Pavel Zhovner
748aa6c9bb Rewrite images path to obsolute in wiki repo 2020-09-15 12:26:24 +03:00
Daniel Solmann
0727e1560a
Created a Github Action for Python's Black formatter. (#112)
* Setup Python Linter

* Setup Rust linting

* Fix Rust lint

* Fixing rust lint again.

* Disabling rust linting, due to bug in current rustfmt release.

* Delete rustlint, cause @nikita-b has a working version.
2020-09-10 16:41:37 +03:00
Henry
c17afe47c4
Ignore .git directory (will be deleted otherwise) (#88)
Co-authored-by: Henry Pauli <henry@mixict.nl>
2020-09-03 13:26:06 +03:00
Henry
a61055939e
Changed wiki deploy script to include subdirectories (#87)
Co-authored-by: Henry Pauli <henry@mixict.nl>
2020-09-03 11:55:10 +03:00
Vadim Kaushan
f7882dbff4
Remove docker cache to speedup builds (#79) 2020-08-31 23:32:17 +03:00
Vadim Kaushan
a008c38078
Add GitHub Actions CI rules (#70)
* Prepare Dockerfile for GitHub Actions

* Add Action

* Add CI rules

* Move docker files into the docker directory to prevent fetching build artifacts

* Cache Docker layers

Co-authored-by: aanper <mail@s3f.ru>
2020-08-31 23:12:18 +03:00
Henry
32cbe87b10
Added README.md to wiki/Home.md (#65)
Co-authored-by: Henry Pauli <henry@mixict.nl>
2020-08-28 21:33:33 +03:00
Henry
c3fb016713
Add github action to publish the wiki (#63)
Signed-off-by: Henry Pauli <henry@mixict.nl>

Co-authored-by: Henry Pauli <henry@mixict.nl>
2020-08-28 19:21:08 +03:00
coreglitch
86f6aa12f6 Update issue templates 2020-08-21 07:14:04 +03:00
Pavel Zhovner
abe9373b1e
Welcome template 2020-08-20 23:04:55 +03:00
core glitch
0b907e9e18 Update issue templates 2020-08-20 21:48:08 +03:00
core glitch
8918b4774f Update issue templates 2020-08-20 21:47:11 +03:00
Pavel Zhovner
56f469ce3c
Update need-help.md 2020-08-18 01:14:14 +03:00
core glitch
2091fa301b In progress template 2020-08-14 20:53:20 +03:00
core glitch
43546163e6 Add bug report template 2020-08-14 20:47:18 +03:00
core glitch
b997cc627c Feature request 2020-08-14 20:41:53 +03:00
core glitch
3045a604cd Discuss template 2020-08-14 20:22:17 +03:00
core glitch
295bed2028 Update issue templates 2020-08-14 18:10:40 +03:00