Commit Graph
100 Commits
Author SHA1 Message Date
coreglitchandGitHub b3dddc645d change user boot pin to left (#228) 2020-11-09 13:39:43 +03:00
coreglitchandGitHub 1fbfc5a61a Blink strobe (#213)
* blink all led and control freq by button
* rename to strobe
2020-11-07 12:24:40 +03:00
coreglitchandGitHub bce6f867f1 show target version, date, commit hash and branch (#221) 2020-11-06 12:31:06 +03:00
eb2679b982 Refactor F2/local before F3 merge (#220)
* add files from f3
* rollback lfs
* Move assets from LFS
* remove lfs from build

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2020-11-06 11:31:59 +03:00
aanper f9b6440f7f hotfix: increase max task to 10 2020-10-29 10:13:56 +03:00
coreglitchandGitHub 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
e699c4a31e Lf rfid (#196)
* add lf rfid workaround
* add pwmn
* carrier generator
* proper exit for lf rfid

Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2020-10-26 12:56:46 +03:00
f5b342abbe Api hw gpio pwm (#199)
* initial gpio layer

* move temlplate.c to template.c.example in preparing to applications.mk rework

* separate arduino layer

* separate flipper_hal.x

* prepare to switch applications on v2 core gpio api

* swithch applications to v2 gpio api

* gpio api for local target

* better gpio_disable handling

* remove pwm functions from local target

* inline gpio funcs

* common function to init all api's

* fix local example blink

* move delay us to hal api folder

* move pwm_set/pwm_stop to hal api folder

* update applications to use hal pwm api

* remove gpio mode case warning

* add speaker demo to build

Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2020-10-26 10:16:54 +03:00
coreglitchandGitHub b624b2dc9d Merge pull request #192 from Flipper-Zero/aku_wiki_fix
Wiki: proper crossplatform symlink dereference while copying
2020-10-22 16:43:20 +06:00
aanper 83dad63813 fix brace 2020-10-22 10:06:40 +03:00
aanper 736225c90e fix syntax 2020-10-22 09:59:33 +03:00
aanper fe89c81bfa add example template code 2020-10-22 09:58:51 +03:00
coreglitchandGitHub e5f9159f66 Merge pull request #184 from Flipper-Zero/aku_nfc_clean
NFC: application + rfal + driver.
2020-10-21 18:26:49 +06:00
aanper b607e6e5f5 add todo about dispatcher lock implementation 2020-10-21 15:19:43 +03:00
aanper 4e4965fad3 syntax check 2020-10-21 13:59:52 +03:00
aanper a1780154df not start worker if err 2020-10-21 13:52:51 +03:00
aanper fa2f071ed1 start nfc test anyway (showing error) 2020-10-21 12:59:06 +03:00
aanper d818fe1d27 Merge branch 'master' into aku_nfc_clean 2020-10-21 12:21:53 +03:00
coreglitchandGitHub bd670c3a6b Merge pull request #185 from Flipper-Zero/clang-format-update
update version clang-format
2020-10-21 15:14:59 +06:00
aanper e95db0eedd update AllowShortBlocksOnASingleLine param (not work) 2020-10-21 12:08:23 +03:00
aanper 767f9aa4fa Merge remote-tracking branch 'origin/master' into clang-format-update 2020-10-20 13:55:01 +03:00
coreglitchandGitHub 763606c1d2 Merge pull request #188 from Flipper-Zero/fix-asserts
better assert handling
2020-10-20 16:50:11 +06:00
aanper 09d3a42c14 Merge remote-tracking branch 'origin/master' into clang-format-update 2020-10-20 09:50:03 +03:00
aanper 13608cee9e ignore pyc 2020-10-20 09:49:28 +03:00
coreglitchandGitHub c4e3f28a8d Merge pull request #186 from Flipper-Zero/fix-build-flag
fix build flag
2020-10-20 11:59:42 +06:00
aanper 3da3022dff fix build flag 2020-10-20 08:45:38 +03:00
coreglitchandGitHub a30968bc6f Merge pull request #182 from Flipper-Zero/aku_freertos_debug
Debug: freertos gdb plugin.
2020-10-19 22:57:26 +06:00
aanper 85dd8629c8 Merge remote-tracking branch 'origin/master' into aku_freertos_debug 2020-10-19 19:41:18 +03:00
aanper dde56a7b97 add gdb to docker image 2020-10-19 19:41:11 +03:00
aanper 44bb9ee403 use arm-none-eabi-gdb from ubuntu-docker 2020-10-19 19:31:24 +03:00
coreglitchandGitHub a9a46d37d2 Merge pull request #175 from Flipper-Zero/cc1101
Cc1101 example
2020-10-19 15:24:09 +06:00
aanper 0ec423800d suggest install gdb in docker 2020-10-19 12:20:31 +03:00
aanper 99a9f4a989 Merge remote-tracking branch 'origin/master' into cc1101 2020-10-19 10:32:33 +03:00
coreglitchandGitHub eba541f007 Merge pull request #181 from Flipper-Zero/app-loader
App loader
2020-10-19 13:31:49 +06:00
aanper dc39be505b not build cc1101 in local build, app_release default in CI build 2020-10-19 09:56:12 +03:00
aanper 5bd5136972 syntax check 2020-10-19 09:23:49 +03:00
aanper 6a647f0fa3 fix tx mode (disable manual calibration) 2020-10-19 09:22:56 +03:00
aanper 3b993578f4 release/cc1101 debug build 2020-10-19 09:22:38 +03:00
aanper e217029fcc tx not work properly 2020-10-18 10:47:38 +03:00
aanper 6b5797bbf4 rx example 2020-10-18 07:47:49 +03:00
aanper 737ee2b0bf gui, navigate over freqs 2020-10-18 07:10:15 +03:00
aanper 568143537d build ok, issue with display 2020-10-18 05:52:11 +03:00
aanper 7c03ce179c add cc1101 to build/menu 2020-10-18 05:43:09 +03:00
aanper 05d704fd54 merge 2020-10-17 16:48:13 +03:00
aanper 66f6df08cc syntax fix 2020-10-17 13:41:50 +03:00
aanper 0f4799d70b run/kill app, issue with multiple load 2020-10-17 13:10:53 +03:00
aanper b9fbf78616 sandbox gui 2020-10-17 12:58:14 +03:00
aanper 566ba378ff add apploader example 2020-10-17 11:48:52 +03:00
aanper 3c453a2a20 refactor menu mutexes 2020-10-17 11:48:29 +03:00
72e78dcc1b Gui refactor (#179)
* fix syntax

* [wip] change gui/widget api

* refactor canvas

* gui draw refactor

* compile/run ok, issue with backlight

* lint

* backlight control

* add forgotten u8g2 periphery

* GUI: osWaitForeverfor in queue put, simplify osMessageQueueGet.

* Menu: item callback function context, event osWaitForever timeouts.

* Menu: code format

* GUI: hide canvas inside

* GUI: reformat sources

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2020-10-17 00:25:07 +06:00
aanper d80e22a6c6 Merge branch 'master' into gui-refactor 2020-10-16 09:46:14 +03:00
aanper 571f97e2b3 hotfix usb stack 2020-10-16 09:45:38 +03:00
aanper a9a39fcda9 merge from master, menu not work 2020-10-16 07:42:08 +03:00
aanper 2806a3ce3d add forgotten u8g2 periphery 2020-10-15 19:16:11 +03:00
aanper 1e40f873a5 backlight control 2020-10-15 19:15:53 +03:00
aanper f9bda68ef8 lint 2020-10-15 18:57:21 +03:00
aanper f0f3615c55 compile/run ok, issue with backlight 2020-10-15 18:56:47 +03:00
aanper 78e016412e gui draw refactor 2020-10-15 18:13:18 +03:00
aanper e684869970 refactor canvas 2020-10-15 18:05:28 +03:00
aanper 19ef348c80 [wip] change gui/widget api 2020-10-15 11:32:48 +03:00
aanper f2a38cf174 fix syntax 2020-10-15 11:02:40 +03:00
b2a12d091a Display and UI implementation (#169)
* Menu app. Lib: add mlib submodule.

* Menu: new startup lib dependency definition

* Menu: hierarchy in menu. Cube: fix heap1/4 inconsistency, stack protection.

* GUI: rendering pipeline initial version.

* GUI: layered widget composing, FURI record. Menu: FURI record, api.

* GUI: input dispatching. Menu: switch to input from GUI.

* GUI, MENU: code style cleanup, fix type conversion warnings.

* GUI, Menu: syntax check.

* Makefile: check and reinit submodules, format.

* Menu: lock on event processing. Makefile: proper submodule initialization.

* Menu: fix stack corruption by queue.

* GUI: refactor.

* Makefile: format rule fix, st-util pid.

* GUI, Menu, FURI: format with clang-format.

* GUI, MENU: locks in critical sections, fix stack corruption, ready signaling.

* Makefile: clang format rule cleanup.

* GUI,MENU: migrate to new API.

* Applications: PRODUCTION_HW variable, skip drivers build on local target.

* refactor production build

* add git to dockerfile

* GUI: uncomment lock block

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2020-10-14 13:21:55 +03:00
aanper 3020a2a6b9 wip cc1101 work 2020-10-14 10:26:23 +03:00
aanper b007b9cb60 lint code 2020-10-13 20:59:39 +03:00
aanper f696673700 add workaround app 2020-10-13 13:39:59 +03:00
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
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
coreglitchandGitHub 469dbf58ac Fix linter path and lint code (#170)
* chage syntax checker path

* fix syntax
2020-10-11 17:03:05 +06:00
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
coreglitchandGitHub ed76f702b1 always break rule (#154) 2020-10-02 09:32:11 +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
coreglitchandGitHub 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
coreglitchandGitHub 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
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
coreglitchandGitHub 1f958f1fa9 move badge on next line 2020-09-17 10:43:04 +03:00
aanper ba835b941b Merge branch 'master' into printf 2020-09-16 20:38:04 +03:00
coreglitchandGitHub 118611eabd Rave king (#111)
* add u8g2 and ui libs

* add display driver and usage example

* not init display in test mode

* change todo text

* fix removed code

* add ioc for flipperzero f2

* add generated f1 files to f2

* regenerate cubemx

* invert initial state of led

* blink backligh

* shutdown backlight on idle

* more rave!

* add todo
2020-09-09 19:54:21 +03:00
coreglitchandGitHub 5c81bb8abc add u8g2 and ui libs (#91)
* add u8g2 and ui libs

* add display driver and usage example

* not init display in test mode

* change todo text

* fix removed code

* Target f2 (#107)

* add ioc for flipperzero f2

* add generated f1 files to f2

* regenerate cubemx

* invert initial state of led

* blink backligh

* shutdown backlight on idle
2020-09-09 19:12:09 +03:00
aanper 5a1e0aac32 fix link 2020-09-06 11:35:48 +03:00
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
coreglitchandGitHub 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
aanper 86b9e37d8e update gitignore 2020-09-03 18:02:07 +03:00
coreglitchandGitHub 9627e9b5b0 Devblog (#83)
* add first devblog post

* add release link

* add devblog to sidebar
2020-09-03 07:55:28 +03:00
coreglitchandGitHub adfebf502f add script to restore manual-edited files after cubeMX code generating (#82) 2020-09-01 14:00:49 +03:00
coreglitchandGitHub 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
coreglitchandGitHub bdc794cf65 typo fix (#67) 2020-08-28 21:42:05 +03:00
coreglitchandGitHub 0a063be2da add uart write example to sidebar (#64) 2020-08-28 19:31:00 +03:00
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
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
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
coreglitchandGitHub 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
coreglitchandGitHub e84a2339d3 add hardware version 1 files (#46) 2020-08-24 21:01:47 +03:00
aanper d201a5aa16 add wiki static as lfs files 2020-08-24 20:17:08 +03:00