Commit Graph

93 Commits

Author SHA1 Message Date
Pavel Zhovner
ccae79f4b1 Wiki update: main menu, Tamagotchi name removed 2020-10-29 11:21:15 +03:00
coreglitch
de968b13b4
Implement LF RFID emulation (#208)
* migrate code from old repo, not work
* fix emulation
* disable irq handling while RFID emulating
* add testcase
2020-10-28 11:38:04 +03:00
Pavel Zhovner
7205fa7ed7 [Wiki] Firmware update, fixes 2020-10-23 11:42:53 +03:00
coreglitch
942bbfaefe
Core api concept (#144)
* 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 LED API

* add closing brakets

* add sound api

* fix led api

* basic api

* rename API pages

* change pubsub implementation

* move FURI AC -> flapp, add valuemutex example, add valuemanager implementation

* pubsub usage example

* user led example

* update example

* simplify input

* add composed display

* add SPI/GPIO and CC1101 bus

* change cc1101 api

* spi api and devices

* spi api and devices

* move SPI to page, add GPIO

* not block pin open

* backlight API and more

* add minunit tests

* fix logging

* ignore unexisting time service on embedded targets

* fix warning, issue with printf

* Deprecate furi_open and furi_close (#167)

Rename existing furi_open and furi_close to deprecated version

* add exitcode

* migrate to printf

* indicate test by leds

* add testing description

* rename furi.h

* wip basic api

* add valuemutex, pubsub, split files

* add value expanders

* value mutex realization and tests

* valuemutex test added to makefile

* do not build unimplemented files

* fix build furmware target f2

* redesigned minunit tests to allow testing in separate files

* test file for valuemutex minunit testing

* minunit partial test valuemutex

* local cmsis_os2 mutex bindings

* implement furi open/create, tests

* migrate concurrent_access to ValueMutex

* add spi header

* Lib: add mlib submodule.

Co-authored-by: rusdacent <rusdacentx0x08@gmail.com>
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2020-10-13 11:22:43 +03:00
Pavel Zhovner
a7ee68c095
USB, SD-card wiki updates (#172) 2020-10-13 03:01:25 +03:00
aanper
b463db4f57 general building testing wiki fixes 2020-10-12 09:14:59 +03:00
aanper
3076dd0406 testing wiki fixes 2020-10-12 09:10:15 +03:00
Pavel Zhovner
14b8cba999
Fix wrong font 2020-10-12 02:05:41 +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
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
あく
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
Pavel Zhovner
33812362d3
[Wiki] VPN hosts 2020-10-04 17:51:40 +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
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
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
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
Pavel Zhovner
b7e85169a8
Hardware Wiki page (#121) 2020-09-16 16:46:55 +03:00
Pavel Zhovner
cc4850f738
NFC Wiki (#118)
* Wiki: USB NFC Reader
2020-09-16 15:54:00 +03:00
Pavel Zhovner
0307b12fd5
One blog page for all posts (#102)
* One blog page for all posts

* Clickable titles
2020-09-06 12:05:24 +03:00
aanper
5a1e0aac32 fix link 2020-09-06 11:35:48 +03:00
Pavel Zhovner
a06ef95f0d
Fixed image path 2020-09-06 11:32:21 +03:00
coreglitch
0fe8dba354
Blog post 2 (#101)
* add second blog page

* wip

* complete current task and what is done

* plans in progress, add UI emulator need-help

* our plans

* English fixes

* Place image localy

Co-authored-by: Pavel Zhovner <pavel@zhovner.com>
2020-09-06 11:29:20 +03:00
coreglitch
c90b553b8c
Split fw doc and add environment page (#94)
* wip

* small fixes

* remove link to empty applications list

* remove unused flipper libraries page

* mark some sections, add link to examples

* add environment page
2020-09-04 23:25:16 +03:00
coreglitch
9627e9b5b0
Devblog (#83)
* add first devblog post

* add release link

* add devblog to sidebar
2020-09-03 07:55:28 +03:00
Yiiii
6e4824dfca
Update USB.md (#85)
* Update USB.md

added badusb behavior

* Not only sdcard may use to store payloads

For example, you can load it by USB or BT in somewhere in device

Co-authored-by: coreglitch <mail@s3f.ru>
2020-09-02 20:58:09 +03:00
Pavel Zhovner
20f339665a
How to edit Wiki section (#84)
* Warning do not edit Wiki

* Update Contributing.md

* Update _Sidebar.md

* How to edit wiki

* How to edit Wiki
2020-09-02 11:16:47 +03:00
coreglitch
5b6ab7faf3
Example ipc (#60)
* add blank example

* add ipc example code, need to change FURI API

* add ipc example code, need to change FURI API

* change core API, add context

* check handler at take

* fix important bugs in furi

* drawing example

* add posix mq

* fix unsigned demo counter

* create at open

* working local demo

* russian version of IPC example

* english version

* add gif
2020-09-01 13:34:23 +03:00
coreglitch
0a063be2da
add uart write example to sidebar (#64) 2020-08-28 19:31:00 +03:00
Henry
134a6e5b5f
Updated wiki pages to use lfs objects (#58)
- Added stm32f4 hal and ll drivers pdf
- Removed all the lfs objects to the old wiki
- Removed lfs gitattribute garbage

Signed-off-by: Henry Pauli <henry@mixict.nl>

Co-authored-by: Henry Paulissen <henry@mixict.nl>
2020-08-28 18:57:26 +03:00
coreglitch
4dc82b68d1
UART write example (#53)
* Rename test functions

* rewrite furi API, segfault

* make fixes in FURI, log through FURI

* add uart write example blank

* implement fuprintf instead of fopencookie

* add gif, blank page

* UART write example description

Co-authored-by: Vadim Kaushan <admin@disasm.info>
2020-08-26 21:32:22 +03:00
Alex Kulagin
046a20fa0e
fix blink app example copyright (#51) 2020-08-26 12:46:58 +03:00
aanper
11c6326738 small wiki changes 2020-08-26 11:49:39 +03:00
aanper
e28cfe5fec change mode to OD 2020-08-26 11:45:36 +03:00
coreglitch
ab07bfb104
Blink f1 (#50)
* Fix target_f1 build

* restore build for F1 target

* change default LED pin state

* add real hw gif

Co-authored-by: Vadim Kaushan <admin@disasm.info>
2020-08-26 11:43:18 +03:00
aanper
e7aa6caf0e move examples to folder, separate page 2020-08-26 08:59:27 +03:00
coreglitch
bee159f435
led blink example
* led blink example

* restore tests

* Update FURI_and_examples.md
2020-08-26 04:56:33 +03:00
aanper
2e023ffcda wiki warn 2020-08-24 21:54:54 +03:00
coreglitch
e84a2339d3
add hardware version 1 files (#46) 2020-08-24 21:01:47 +03:00
coreglitch
f999b9ef28
communications info (#44) 2020-08-24 20:08:32 +03:00