Commit Graph
100 Commits
Author SHA1 Message Date
coreglitchandGitHub 21f4acf5c5 grammar fix of template (#294) 2021-01-07 01:53:39 +06:00
aanper f3fa7617c1 add pull request template 2021-01-05 10:23:51 +06:00
aanper bbcf2860d7 update code owner 2021-01-05 09:59:19 +06:00
coreglitchandGitHub 7a226eb4ed Update CODEOWNERS 2021-01-05 09:55:28 +06:00
aanper 0a864881d3 revert default owner 2021-01-05 04:52:32 +06:00
aanper e1381d6869 extend patterns 2021-01-05 04:51:04 +06:00
aanper be01af482d another reverse order of code owners 2021-01-05 04:44:47 +06:00
aanper 096a47867b reverse order of code owners 2021-01-05 04:37:59 +06:00
aanper fc731d4380 add codeowners 2021-01-05 04:20:58 +06:00
aanper 14d1325b17 rename ioc 2020-12-26 12:09:23 +06:00
aanper aa1a893d81 add era doorbell 2020-12-15 00:04:44 +03:00
coreglitchandGitHub 56c1142af6 Cc1101 tx (#262)
* wip tx
* hold gd0 down
* doorbell example
2020-12-14 22:59:13 +03:00
coreglitchandGitHub c1c069e95f F2 F3 deprecate (#267)
* move f3-1 to f4, remove f3
* remove f2
* remove firmware F3 for pipeline
* remove patch for F4 makefile
* fix fw makefile
* migrate bootloader to f4
2020-12-14 19:36:07 +03:00
coreglitchandGitHub ff7ce6f00f swap PB3/PA5 for SWO exposing (#263) 2020-12-11 18:12:37 +03:00
aanper df27d775bf increase max app count 2020-12-10 17:58:33 +03:00
aanper 162418f7e3 add ld file 2020-12-08 13:18:35 +03:00
coreglitchandGitHub 61cce74291 Fix OK button in F4 (#259)
* fix OK button in F4
* return DFU serial to make
2020-12-08 12:51:59 +03:00
coreglitchandGitHub 884dba647a FL-409 Boot0 OK button (#257)
* update makefiles for f3-1
* add f3-1 files
* fix mk for f3
* remap OK button
* differ gpio invert
* expose full duplex spi2
* remove duplicate bq drivers
* remove bq inc
2020-12-02 16:40:06 +03:00
coreglitchandGitHub f58b322bb5 FL-353 Cc1101 rx (#255)
* enable transparent mode
* rssi ok, transmit ok, fifo ok
* I see the signal
* successful async rx (registers from smartrf)
* refactor rfstudio register config
* rewrite config, found some issues
* handle G0 interrupts
* g0 irq enable after cc1101 init
* update cube
2020-12-01 21:47:46 +03:00
coreglitchandGitHub ccd40497eb FL-176 LF RFID RX (#248)
* pulldown ibutton pin during rfid read
* enable and handle COMP interrupts
* send events from comparator IRQ and handle in app
* manchester encode
* successfully read em4100
* read-emulate
* led
2020-11-19 14:11:03 +03:00
coreglitchandGitHub f0bda07742 Rearrange menu (#246)
* rearrange menu
2020-11-18 12:39:10 +03:00
coreglitchandGitHub 6d7ecf9a44 Floopper bloopper (#245)
* add floopper bloopper build
* enhance canvas api
* update submodule
2020-11-18 11:01:51 +03:00
coreglitchandGitHub 3d5563b169 init nfc later (#239) 2020-11-16 18:26:34 +03:00
coreglitchandGitHub afcfcd4d4a FL-103 Gpio test (#236)
* fail build
* add gpio tester
2020-11-14 13:08:07 +03:00
coreglitchandGitHub a61eef0f99 FL-186 Add vibro demo (#234)
* add vibro demo
* add F2 support
2020-11-12 22:26:49 +03:00
coreglitchandGitHub bf2f6e89ca FL-172 Cc1101 freq (#233)
* specify freq list, remove unused code
* use system resource led
* fix rssi offset
2020-11-12 21:08:40 +03:00
coreglitchandGitHub 748f7e4fc3 add dfu util to container, enable usb in container (#229)
* add dfu util to container, enable usb in container
* add DFU_SERIAL env
2020-11-10 19:42:18 +03:00
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