Commit Graph
100 Commits
Author SHA1 Message Date
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
coreglitchandGitHub f999b9ef28 communications info (#44) 2020-08-24 20:08:32 +03:00
coreglitchandGitHub 1759787334 Furi (#24)
* furiac start and thread create implementation"

* create and kill task

* rename debug, add header

* remove write.c

* kill itself

* furi exit/switch

* success switch and exit

* WIP furi records

* add furi record interface

* rename furi app control file

* record implementation in progress

* wip furi implementation

* add automatic tests for FURI AC

* differ build tests

* small changes

* FURI record tests description

* change furi statuses

* FURI record test blank

* exit after all application ends

* delay: print then wait

* fix FURI implementatnion building

* pipe record test

* concurrent access

* uncomplete mute-test

* update FURI documentation
2020-08-24 18:31:22 +03:00
coreglitchandGitHub 04035ce52d Merge pull request #37 from Flipper-Zero/documentation_backlog_sa
add backlog info
2020-08-21 21:02:43 +06:00
aanper 05092bb02c add backlog info 2020-08-21 18:01:33 +03:00
aanper 65df864cc1 fix handmade edit wiki 2020-08-21 17:50:03 +03:00
coreglitchandGitHub e80935a3c3 Merge pull request #36 from Flipper-Zero/documentation_welcome_sa
add about welcome message
2020-08-21 20:47:37 +06:00
aanper 829cbe8208 add about welcome message 2020-08-21 17:46:52 +03:00
coreglitchandGitHub 86f6aa12f6 Update issue templates 2020-08-21 07:14:04 +03:00
core glitchandGitHub 0b907e9e18 Update issue templates 2020-08-20 21:48:08 +03:00
core glitchandGitHub 8918b4774f Update issue templates 2020-08-20 21:47:11 +03:00
aanper 1163f177b4 remove basic features from sidebar 2020-08-19 09:15:10 +03:00
aanper 4acac5f5d4 move basic features to ui (closes #10) 2020-08-19 09:14:50 +03:00
aanper c13003f870 sidebar small changes 2020-08-19 09:08:43 +03:00
aanper 932d9cb33d compelte sidebar 2020-08-19 09:07:01 +03:00
aanper c463f9a20f delete roamdap (will be directly in readme) 2020-08-19 08:46:11 +03:00
aanper 6c2ee458d1 project structure (closes #23) 2020-08-19 08:44:04 +03:00
aanper b6ab015435 ansi files tree 2020-08-19 08:31:01 +03:00
aanper 459a00e1e0 remove project structure 2020-08-19 08:26:44 +03:00
core glitchandGitHub 6006a54e26 Merge pull request #28 from Flipper-Zero/core_restruct_sa
Core restruct sa
2020-08-19 11:25:16 +06:00
aanper 5fbb0a8957 fix makefile 2020-08-19 08:24:47 +03:00
aanper 202bf64cba fat update for readme 2020-08-18 20:18:09 +03:00
aanper 9d1559920c update and move project structure 2020-08-18 17:43:39 +03:00
aanper 0514eef178 how to become a maintainer (closes #19) 2020-08-17 21:09:22 +03:00
aanper 6bac2e6297 furi playground 2020-08-17 21:06:56 +03:00
aanper ac6581f73d info about local build and run 2020-08-17 19:08:29 +03:00
core glitchandGitHub 7a4254326c Merge pull request #20 from Flipper-Zero/target_lo
Target lo
2020-08-17 21:28:12 +06:00
aanper 0980775f01 WIP target lo
custom debug stream

run docker with project dir, specify dir to makefile

remove unused includes

fix broken F1
2020-08-17 18:23:28 +03:00
core glitchandGitHub 419a7644a4 Merge pull request #21 from Flipper-Zero/zhovner
Renamed folder features to applications
2020-08-17 17:11:18 +06:00
core glitchandGitHub 70f47f65a7 Fix broken links 2020-08-17 12:02:31 +03:00
aanper 637183dc18 rename issue filter 2020-08-16 21:22:56 +03:00
aanper 9f625ae32a editing notice 2020-08-15 10:24:50 +03:00
aanper c4af2a1eb7 info about wiki editing 2020-08-15 10:16:00 +03:00
aanper 6995c561cf add dummy wiki deploy script 2020-08-15 10:08:29 +03:00
aanper 3ff07bebb4 move wiki/Home to readme 2020-08-15 09:59:22 +03:00
aanper f19a4e787c rename ioc 2020-08-15 09:58:38 +03:00
aanper 4015c46b21 rename target 2020-08-15 09:58:10 +03:00
aanper cbfc5fad53 add wiki pages 2020-08-15 09:57:12 +03:00
core glitchandGitHub 7951fcc1ae Update README.md 2020-08-14 23:03:05 +03:00
core glitchandGitHub b3005f99e2 Update README.md 2020-08-14 23:01:13 +03:00
core glitchandGitHub 2091fa301b In progress template 2020-08-14 20:53:20 +03:00