Commit Graph

1843 Commits

Author SHA1 Message Date
coreglitch
469dbf58ac
Fix linter path and lint code (#170)
* chage syntax checker path

* fix syntax
2020-10-11 17:03:05 +06: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
aanper
aa3ac5b242 add forgotten header 2020-10-09 08:10:11 +03:00
DrZlo13
364a8e6f6c
Fix input (#166)
* fixed inline functions for modern C standart

* Fix button-left and button-back setup code

* *nix fix

Co-authored-by: aanper <mail@s3f.ru>
2020-10-08 19:34:43 +03:00
DrZlo13
59513b05ee
Simple sd card driver (#162)
* fixed inline functions for modern C standart

* more stack for application

* added library

* init fatfs library

* fatfs example application

* Merge with current master

* fix typo and delete old files

* cmsis os 2 reentrance fix

* Reworked dependency wait to support multiple dependency

* Build FatFS on local target, syscall.c is target-specific.

* run local target ok

* testcase for fatfs

Co-authored-by: aanper <mail@s3f.ru>
2020-10-08 17:37:19 +03:00
あく
2ab6f82ddf
Makefile: build flags as a target. (#163)
* Makefile: build flags as a target.

* Makefile: proper BUILD_FLAGS generation routine

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2020-10-08 12:47:12 +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
DrZlo13
04bf049612
New application, QRCode generator (#160)
* Applications dependency, initial realization

* New application, qr code generator

* better buffer clearing

Co-authored-by: aanper <mail@s3f.ru>
2020-10-05 13:33:35 +03:00
DrZlo13
ec5e5da138
Applications dependency, initial realization (#159) 2020-10-05 13:17:34 +03:00
DrZlo13
44ab04f8d6
fixed inline functions for modern C standards (#157) 2020-10-05 13:01:20 +03:00
Pavel Zhovner
33812362d3
[Wiki] VPN hosts 2020-10-04 17:51:40 +03:00
Pavel Zhovner
16dc8dd42f
Reboot LED fix (#158)
Co-authored-by: Valeria Aquamine <valerie@flipperdevices.com>
2020-10-03 20:57:52 +03:00
Lesha Lomalkin
8fb183234c
VPN Wiki page fix (#156) 2020-10-03 00:05:40 +03:00
Pavel Zhovner
4820a63c38 Developers VPN manual 2020-10-02 22:39:39 +03:00
Vadim Kaushan
8c36d65e63
Input handling and debouncing (#148)
* Add input driver and definitions for target_f2

* Add input_dump example

* Invert charge input

* Fix back and left button configuration

* remove input debug

* input testing case

* move header

* lint code

Co-authored-by: aanper <mail@s3f.ru>
2020-10-02 09:44:05 +03:00
coreglitch
ed76f702b1
always break rule (#154) 2020-10-02 09:32:11 +03:00
Valeria Aquamine
12e319e6d9
User Interface guidlines (#152)
Co-authored-by: Valeria Aquamine <valerie@flipperdevices.com>
2020-10-02 02:23:10 +03:00
Valeria Aquamine
3b8ee1d5fc
Ui guidlines (#151)
* Updated images
2020-10-02 02:16:39 +03:00
aanper
94fb5dcbe4 fix md 2020-10-01 02:09:52 +03:00
aanper
0b423b3eb7 fix md 2020-10-01 02:07:24 +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
Pavel Zhovner
7ded31c19d
St-Link Wiki page (#143)
* ST-Link Downgrade Manual
2020-09-29 17:56:29 +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
Valeria Aquamine
179d06b7e9
Ui guidlines (#140)
* User Interface Wiki page

Co-authored-by: Valeria Aquamine <valerie@flipperdevices.com>
2020-09-29 13:59:31 +03:00
Pavel Zhovner
846d6ef414 Colon removed from filenames 2020-09-28 19:11:14 +03:00
Pavel Zhovner
6dbd71ae40 Ignore wiki updates in CI 2020-09-28 02:36:32 +03:00
Pavel Zhovner
fff69aabaa Wiki Updates 2020-09-28 02:30:40 +03:00
coreglitch
88f25fe1ad
Core api (#138)
* add input debounce code from old fw

* exampl of input api

* change input API to get/release

* revert input API to read

* pointer instead of instance

* add input API description

* add display API

* rewrite display names

* migrate to valuemanager

* add links

* little changes

* add LED API

* add closing brakets

* add sound api

* change format

* Delete input.c

* Delete input.h

* change format

* full links
2020-09-26 02:04:38 +03:00
coreglitch
870fa8c7cd
[WIP] Core api (#134)
* add input debounce code from old fw

* exampl of input api

* change input API to get/release

* revert input API to read

* pointer instead of instance

* add input API description

* add display API

* rewrite display names

* migrate to valuemanager

* add links

* little changes

* add LED API

* add closing brakets

* add sound api

* change format

* Delete input.c

* Delete input.h

* change format
2020-09-26 01:51:54 +03:00
Vadim Kaushan
06ee165ab6
Lock furi record for the whole notification process (#119)
Co-authored-by: aanper <mail@s3f.ru>
2020-09-17 12:58:45 +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
Vadim Kaushan
93cee4c37c
Merge pull request #114 from Flipper-Zero/printf
Implement transparent printf support
2020-09-17 11:33:43 +03:00
Vadim Kaushan
2d66f55626
Merge pull request #125 from Flipper-Zero/docker-cache
Add docker cache
2020-09-17 11:15:43 +03:00
LionZXY
b333617a9b
Add docker cache 2020-09-17 11:06:25 +03:00
aanper
19aaf9a547 Merge remote-tracking branch 'origin/master' into printf 2020-09-17 10:44:50 +03:00
aanper
63545cc85c Merge branch 'printf' of github.com:Flipper-Zero/flipperzero-firmware-community into printf 2020-09-17 10:44:31 +03:00
coreglitch
1f958f1fa9
move badge on next line 2020-09-17 10:43:04 +03:00
LionZXY
3f7fa33ea1
Add Discord badge (#124) 2020-09-17 10:42:21 +03:00
Vadim Kaushan
b96336fefa Add TLS method definitions to cmsis_os.h 2020-09-17 00:12:00 +03:00
aanper
ba835b941b Merge branch 'master' into printf 2020-09-16 20:38:04 +03:00
Pavel Zhovner
b7e85169a8
Hardware Wiki page (#121) 2020-09-16 16:46:55 +03:00
Pavel Zhovner
3ee9cf4f94
Fix broken path in publish_wiki action 2020-09-16 16:06:15 +03:00
Pavel Zhovner
cc4850f738
NFC Wiki (#118)
* Wiki: USB NFC Reader
2020-09-16 15:54:00 +03:00
Pavel Zhovner
dd091e43ab
Merge pull request #120 from Flipper-Zero/Deploy-wiki-script-improvements
Rewrite images path to absolute in wiki repo
2020-09-16 15:47:48 +03:00
Pavel Zhovner
748aa6c9bb Rewrite images path to obsolute in wiki repo 2020-09-15 12:26:24 +03:00
Vadim Kaushan
cea7b2bde0 Replace fuprintf with printf in the uart_write example 2020-09-14 21:26:45 +03:00
Vadim Kaushan
d376982b4c Fix fopencookie open flags 2020-09-10 23:35:50 +03:00
Vadim Kaushan
aa859586a9 Implement TLS for target_lo 2020-09-10 22:52:58 +03:00
Vadim Kaushan
449e905f46 Handle furi_open() error 2020-09-10 22:06:39 +03:00