Commit Graph

82 Commits

Author SHA1 Message Date
rusdacent
93fbb2e182
Added full.dfu artifact for upload (#478) 2021-05-20 17:31:48 +03:00
あく
2c77318487
Add leads as codeowners to all subsystems and fix name conflict in Furi #468 2021-05-18 16:30:20 +03:00
あく
734820c137
[FL-1196] Targets: add F6 (#427)
* Targets: add F6
* F6: Update linker script for use with internal storage
* F6: synchronize with F5, add all changes arriving in V9 board, update cube project. Github workflow: add multi-target build, add F6 to build targets.
* CI: fix full assembly
* CI: better artifact naming scheme
* CI: fix artifacts wildcard
* F6: Swap C10 - A15, vibro and sdcard detect pins
2021-05-18 12:23:14 +03:00
あく
aa24484b99
[FL-977] Internal Storage (#455)
* Add littlefs submodule
* Furi: add mutex in logging, fix issues with corrupted printf
* ApiHal: disable debug traces in ble glue
* App-loader: more logs
* Passport: fix invalid DolphinState usage
* ApiHal, linker script: flash API is now aware of free space, complete abstraction layer for storage
* Internal Storage: littlefs based storage services with key value API. Migrate dolphin state to new storage API.
2021-05-11 11:29:44 +03:00
rusdacent
29d10e1b0a
Upload ELFs to update server (#457) 2021-05-10 13:14:33 +03:00
あく
2844743370
CodeOwners: add @DrZlo13 to default code owners (#454) 2021-05-08 20:16:07 +03:00
あく
c880f90eb5
Update code owners and remove obsolete code (#446) 2021-05-05 17:53:07 +03:00
SG
469e2dffec
[FL-1057] Low frequency RFID app [HID Encoder] (#445)
* App Lfrfid: hid26 timer stage
* App Lfrfid: hid26 encoder
* fully removed old lf-rfid app
* fix codeowners
2021-05-05 10:50:19 +03:00
あく
b90d72fadf
Recator application build system: cleaner flags naming, set release flag to yes by default, include unit test and debug apps (#443) 2021-04-30 14:07:13 +03:00
あく
c982294d5f
[FL-1208] Fix crash in dolphin scene app caused by condition race in Tmr thread on delete (#438)
* Dolphin scene add moar enterprise sleeps

* Gihub: update PR template and cleanup codeowners

Co-authored-by: its your bedtime <23366927+itsyourbedtime@users.noreply.github.com>
2021-04-30 09:41:15 +03:00
あく
0c3a0a3312
[FL-1104] Fix NFC crash and missing NfcMessageTypeDeviceNotFound event (#400)
* Remove asserts from platformProtectST25RComm, fix issue with concurrent access.
* NFC Worker: fix bug in nfc_worker_poll causing worker to skip sending ofNfcMessageTypeDeviceNotFound event
* Fix python linter: stick to old beta
2021-04-04 13:45:55 +03:00
its your bedtime
372710c31a
[FL-1019] New main screen and graphics (#389)
* new status bar, lock menu and dolphin activities screen

* lock icon indication 

* main screen animation, basic scene switching

* level progression calculations based on icounter value 

Co-authored-by: rusdacent <rusdacentx0x08@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2021-03-25 20:48:58 +03:00
rusdacent
799bc89870
Fix generate pic (#383)
* Add docker for genpic run

* Add docker for genpic run

* Test genpic

* Test genpic

* Restore prod CI settings

Co-authored-by: あく <alleteam@gmail.com>
2021-03-18 14:26:02 +03:00
coreglitch
78e1b79139
change codeowner (#375) 2021-03-10 12:33:22 +03:00
rusdacent
3f10ce47f0
add option -j for make (#372) 2021-03-08 20:29:44 +03:00
あく
e39e1c3dce
Input: properly cast timer arg pointer to InputPinState (#354)
* Input: properly cast timer arg pointer to InputPinState
* update codeowners
2021-02-26 13:40:54 +03:00
rusdacent
14c5307b98
Bump version for target in CI (#350)
* set target f5 for CI
* test env var for target version
* remove env variables from names of steps
2021-02-25 13:40:15 +03:00
あく
a0db2986b5
Adjust I2C pins configuration: disable pullup and set speed to low (#352)
* Adjust I2C pins configuration: disable pullup and set speed to low
* promote i2c owner

Co-authored-by: aanper <mail@s3f.ru>
2021-02-25 12:50:57 +03:00
rusdacent
918202a247
Fix error if dir exists (#343) 2021-02-16 01:50:20 +03:00
Anna Prosvetova
64c7f9ea54
CI: Fix template image transparency (#341) 2021-02-15 15:15:53 +03:00
rusdacent
2ca70cc6a2
Refactoring CI for storage with updates (#339)
* refactor CI
* fix depends for genpic CI
* fix paths for dfu files
* fix list of upload files
* add debug for upload
* bump version for docker-layer-caching
* edit opts for rsync
* Add clear remote dir
* Add bin file for upload
* Add new template for pic
* rm debug commands
* restore prod params for gen pic
* fix link to firmware
2021-02-15 02:53:17 +03:00
rusdacent
7c5de59f53
add force remove artifacts dir for CI (#338) 2021-02-12 20:14:07 +03:00
rusdacent
0899c18d38
Add dfu converter (#336)
* Install hex2dfu in Dockerfile
* Add convert and upload dfu files for bootloader and firmware
2021-02-12 13:04:35 +03:00
DrZlo13
4341da90dc
Implementation of some widgets based on real use cases and designs [FL-392][FL-809] (#315)
* gui test app
* aligned string draw functions
* add canvas_invert_color, canvas_draw_button_left, canvas_draw_button_right
* use new str and button fns in dialog
* real dialog mockup
* add new gui test app recipe
* submenu module init
* delete unused variable
* move buttons to element, add canvas_string_width fn, new center button element
* button icons
* submenu module
* use submenu module, switch views
* keyboard buttons img
* new font for keyboard
* text input (keyboard) module
* add text input to gui test app
* add gui tesst app to release build, fix flags
* handle transition from start and end position, fix input switch
* add long text support to text input
* canvas_string_width and the underlying u8g2_GetStrWidth now return uint16_t
* remove deprecated libs and apps
* canvas_font_max_height fn
* new element, aligned multiline text
* use multiline text instead of plain string
* fix second keyboard row, rename uppercase fn
* qwerty-like keyboard layout
* new icons for iButton app
* better dialog text position and events handling
* remove confusing comment
* new extended dialog module
* extended dialog module usage
* update docs
* new gui module, popup with timeout
* popup usage
* canvas, remove outdated canvas_font_max_height, use canvas_current_font_height
* use furi check
* use new view_enter and view_exit callback for timers
* add DrZlo to gui tester codeowner

Co-authored-by: aanper <mail@s3f.ru>
2021-02-05 02:35:06 +03:00
coreglitch
24ab7384a0
modify codeowner (#309) 2021-01-20 21:18:15 +03:00
DrZlo13
8f9b2513ff
[FL-140] Core api dynamic records (#296)
* SYSTEM: tickless mode with deep sleep.
* Move FreeRTOS ticks to lptim2
* API: move all sumbodules init routines to one place. Timebase: working lptim2 at tick source.
* API Timebase: lp-timer routines, timer access safe zones prediction and synchronization. FreeRTOS: adjust configuration for tickless mode.
* NFC: support for tickless mode.
* API Timebase: improve tick error handling in IRQ. Apploader: use insomnia mode to run applications.
* BLE: prevent sleep while core2 starting
* HAL: nap while in insomnia mode
* init records work
* try to implement record delete
* tests and flapp
* flapp subsystem
* new core functions to get app stat, simplify core code
* fix thread termination
* add strdup to core
* fix tests
* Refactoring: remove all unusued parts, update API usage, aggreagate API sources and headers, new record storage
* Refactoring: update furi record api usage, cleanup code
* Fix broken merge for freertos apps
* Core, Target: fix compilation warnings
* Drop firmware target local
* HAL Timebase, Power, Clock: semaphore guarded access to clock and power modes, better sleep mode.
* SD-Filesystem: wait for all deps to arrive before adding widget. Core, BLE: disable debug dump to serial.
* delete old app example-ipc
* delete old app fatfs list
* fix strobe app, add input header
* delete old display driver
* comment old app qr-code
* fix sd-card test, add forced widget update
* remove unused new core test
* increase heap to 128k
* comment and assert old core tests
* fix syntax

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-01-20 19:09:26 +03:00
DrZlo13
f94633863c
[FL-520] Filesystem Api and App (#280)
* update fatfs integer types
* fix sector size to 512
* fix sector size calculation
* common fs api
* fs api realization (sd card + fat fs)
* better sector size definition
* more api realization fns
* add error description api, add common api
* fix api flag naming, run app
* add fs_info call
* disable fatfs strfuncs, enable fatfs chmod
* rework filesystem app
* sd detect cycle, sd menu, sd eject feature
* fix sd detect cycle
* sd card format routine
* ui improvements, sd info routine
* properly unmount card
* separate mode flags
* add api folder, move app, rename app
* fix api naming
* update st-card-test to use api
* update path to app
* fixed potential problem of using sizeof union
* updated api documentation, new time/date fns
* update codeowners
* changed app requirements
* changed app order
* sd insert/remove log
2021-01-11 20:52:35 +06:00
あく
6928122650
FL-53: new NFC worker, A/B/F/V poll and display. (#283)
* GUI: view. Flooper-blooper fix compilation error.
* GUI: view and viewdispatcher bones
* GUI: view implementation, view models, view dispatcher
* GUI: view navigation, model refinement. Power: use view, view dispatcher.

* HAL Flash: proper page write. Dolphin: views. Power: views

* Dolphin: transition idle scree to Views
* Dolphin: input events on stats view. Format sources.

* HAL: flash erase. Dolphin: permanent state storage.

* Dolphin: first start welcome. HAL: flash operation status, errata 2.2.9 crutch.

* NFC: rewrite worker
* NFC: add support for B,F,V.
* NFC: replace rfal irq hanlder with realtime thread, more details about cards.

* Bootloader: LSE and RTS shenanigans, LED control, morse code for LSE failure error.

* F4: stop in Error_Handler

* BLE: handle working FUS, but empty radio stack.

* HAL: alive FUS is now sufficient for flash controller access

* Dolphin: update model after state load

* NFC: detect navigation

* RFAL: use osPriorityISR for isr thread

* NFC: emulation

* Bootloader: rollback incorrectly merged rename

* Dolphin: rollback incorrectly merged changes

* RFAL: remove volatile from thread attr

* RFAL: do not call platform ErrorHandler, error codes is enough

* NFC: improved error handling

* Format sources

* NFC: reset detect view model on start

* Format sources

* update codeowners

* NFC: hide last info if no card detected
2021-01-11 18:42:25 +06:00
rusdacent
c70ed2f349
Sh runner (#297)
* set self-hosted runner
* set GH runner for pylint
* fix upload to storage
* add workspace cleanup for CI
2021-01-07 22:10:07 +06:00
rusdacent
b7210eaf0e
Sh runner (#295)
* set self-hosted runner
* set GH runner for pylint
* fix upload to storage
2021-01-07 13:32:19 +06:00
rusdacent
b2b295c3f9
Sh runner (#292)
* set self-hosted runner
* set GH runner for pylint
2021-01-07 02:51:01 +06:00
coreglitch
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
coreglitch
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
coreglitch
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
Anna Prosvetova
c4b1d4b6f0
allow custom ssh port for artifacts server (#261) 2020-12-09 02:31:45 +03:00
rusdacent
ee1e4bbabd
Add option for checkout code 2020-11-16 17:51:48 +03:00
rusdacent
466ea087a0
Refactoring firmware uploading to update server (#238)
* Replace f2 to f3
2020-11-15 13:14:52 +03:00
rusdacent
835bbffc85
Remove pull request trigger from ci.yml 2020-11-09 12:28:22 +03:00
rusdacent
8b4df4adc8
Remove branch opt from ci.yml 2020-11-09 12:16:59 +03:00
rusdacent
05efc6f41e
Prepare update (#225)
* Test ssh-action
* Test create full firmware
* Test condition for branch
* Test upload fullfirmware
* Test upload pic
* Test full firmaware and pic
* Fin opts
* Remove name for build job
2020-11-09 10:56:45 +03:00
あく
76e3fd3060
Firmware, Bootloader: add f3 target. (#215)
* Firmware, Bootloader: add f3 target. Refactor code to be portable across targets.
* Firmware: remove bkpt
* Makefile: debug agent. Debug: f3 platform throw openocd.
* freertos-openocd helper
* separate hal resources
* return of input_dump app
* using hew target resources abstration layer for backlight and blink
* dirty hack for input driver, f3 has no charging pin
* worked input interrupts
* working display
* F3: switch to 32mHz resonator
* F3: configure SD_CS pin
* NFC: port to F3.
* fat uart app
* sd card hal api
* separate CC1101 spi config
* faster spi gpio for sd card
* Assets: disable LFS
* Cube: disable css on LSE
* Input: format code
* Make: add bootloader source code to formatting rule
* F3: enable rf by default, adjust clock settings, map all pins where they should be.
* libs for coreglitch_demo_0
* nvic priority
* bus clocks all to 64
* lf-rfid timer and pin
* irda
* ir rx setup
* tim2 irq handler
* Makefile: environment aware mkdir
* Makefile, Irukagotchi: commit seq number.
* split falling and rising ir rx events
* Makefile: proper git branch detect on old git. Firmware: api fix.
* fix irda
* Makefile,Irukagotchi: date timestamp.
* NFC: adjust SPI speed
* Irukagotchi: format code
* Make: add blackmagic debug in host mode
* Makefile: detach blackmagic from terminal signals
* Makefile,Irukagotchi: stamp target
* add F3 bootloader/firmware to CI

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-11-06 13:52:50 +03:00
coreglitch
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
Pavel Zhovner
14d77afc5a
Remove wiki from github (#216) 2020-11-04 01:29:36 +03:00