Commit Graph
36 Commits
Author SHA1 Message Date
DrZlo13andGitHub 8b6e7fd4ae FL-443 Move sd card to second spi (#271)
* sd card spi 2 fix, add spi mgr
2020-12-19 13:52:17 +06:00
DrZlo13andGitHub 3ba1738acd FL-262 Interrupt manager (#270)
* interrupt manager
* init interrupt manager
* add usage to lf-rfid app
* check ready flag
* move interrupts code to target hal
* fix path
2020-12-19 01:26:03 +06:00
DrZlo13andGitHub 36937f3595 [FL-367] iButton app fixes by hw tests (#254)
* do not exit after command parse
* fix reset length time
2020-11-27 11:48:59 +03:00
DrZlo13andGitHub 1f761d7fbb [FL-84] iButton app, dallas emulate + cyfral read, cyfral emulate (#253)
* maxim crc function
* one wire template device and ds1990 classes
* 3 fields for addr
* cyfral emulator lib
* add cyfral read mode, refract rendering and events
* add ADC1_IN14, add adc interrupt
* cyfral read mode
* rename and move api-hal includes folder
* build onewire libs only if we build app
* start in mode 0
2020-11-25 10:25:13 +03:00
DrZlo13andGitHub a96f23af9b fix multithread logic in template app, update gpio HAL (#250)
* fix multithread logic
* more buffer for dallas id string
* update apps to use new logic
* delay_us small speedup
* add consant qualifier to gpio records and some core api
* fix some apps to use simpler method of getting gpio record
* fix ibutton app, stupid stack problem
2020-11-19 15:25:32 +03:00
DrZlo13andGitHub 27ae2a8fa9 #FL-303 fix for some spi bugs, test app for sd-nfc interconnection (#247)
* sd-nfc test app

* do not hold spi in disable mode

* disable pullups in nfc chip
2020-11-18 16:01:25 +03:00
DrZlo13andGitHub 9bbc8fafe5 fix too early mode render (#249)
iButton app, bugfix
2020-11-18 15:51:23 +03:00
DrZlo13andGitHub 64961f5ae1 Merge pull request #243 from Flipper-Zero/ibutton-app
iButton app, read mode
2020-11-17 15:54:07 +03:00
DrZlo13 1abc98086e split resources, fix format 2020-11-17 07:39:48 +10:00
DrZlo13 c17f4c9d38 format fix 2020-11-17 07:20:58 +10:00
DrZlo13 799eefd754 ibutton app, only read mode 2020-11-17 07:10:58 +10:00
DrZlo13 a8fdbc6376 Merge branch 'master' into ibutton-app 2020-11-17 06:21:45 +10:00
DrZlo13andGitHub 2ba3722de2 add mutex in furi_create_deprecated (#242) 2020-11-16 20:22:28 +03:00
DrZlo13andGitHub 3d6af91dd1 simple music player app (#240)
* split power-cli dependence
* music_player application
* add player to release mode
* fix stupid error
2020-11-16 20:12:05 +03:00
DrZlo13 4eeac6579f ibutton init 2020-11-16 21:21:58 +10:00
714d732745 FL-78 Microsd test application (#230)
* variable cluster size, label info functions for targets
* app record
* init, mount, get label, get sn, get space
* enable exfat
* more stack for the stack god
* remove c app and add cpp app
* remove MULTI_PARTITION
* fix 4gb bug
* update app to new template lib, add animated waiting
* tiny buffer configuration
* write speed benchmark
* fnv1a hash library
* make DEFAULT_STACK_SIZE and MAX_TASK_COUNT defined per target
* fully functional sd card app
* build sd test app to release firmware
* cpp, not c
* light up red led if error
* flags for c++
* linking with g++
* suppres snprintf warning
* move format work area to heap

Co-authored-by: coreglitch <mail@s3f.ru>
2020-11-14 19:24:38 +03:00
DrZlo13andGitHub 38d895956a cpp template application library (#232) 2020-11-12 14:13:29 +03:00
DrZlo13andGitHub 9d8c36810e IR RX simple app (#218)
* split falling and rising ir rx events
* fix irda
* simple irda rx function for app
* add extern timer
* fix timer num for f2
2020-11-11 10:36:27 +03:00
DrZlo13andGitHub 49fdb28871 sd detect pin feature (#222)
* test sd detect pin
* sd detect support for f2 board
2020-11-11 09:17:53 +03:00
DrZlo13andGitHub f4d4604a03 rgb blink (#223) 2020-11-07 11:42:00 +03:00
979af6c165 Core code cleanup (#206)
* add delay function
* todo about delay_isr
* remove arduino defines and fix all apps to use core-api/hal-api
* delay for local target
* remove warnings of task_equal
* fix BSP_SD_Init
* fix USBD_static
* grio read constant pointer to gpio
* add TODO about ISR context
* const void* arg for pubsub api
* mark unused functions
* app pointers now pointed to constant apps
* fix printf format
* fix "unused" warnings in local target
* fix const pin read in local target
* fix int to pointer warnings in local target
* power read mutex error fix
* delete old makefile
* add -werror

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-10-29 10:58:19 +03:00
8aeafd8179 furi_check - a new way to asserting (#204)
* hal-related task_is_isr_context function
* furi_check implementation
* change application to use furi_check
* add second level of assertion
* add TODO about ISR context
* Applications: refactor furi_check and furi_assert.
* Apploader: propwer widget usage. Menu: check on furi resource request.
* refactor furi_check

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: coreglitch <mail@s3f.ru>
2020-10-29 09:27:17 +03:00
DrZlo13andGitHub c9b921f6ce added openocd support (#211)
openocd needs a visible uxTopUsedPriority symbol for freertos, but freertos is discarding it in v7, so I add the helper file manually
2020-10-29 08:41:44 +03:00
69d97afea8 IRDA samsung protocol (#200)
* samsung irda protocol implementation
* app for samsung irda protocol
* smaller strings and hal pwm

Co-authored-by: aanper <mail@s3f.ru>
2020-10-26 10:27:27 +03:00
37fc47a24f IR transmit example (#180)
* DWT-based microsecond delay

* simple ir app (work only with NEC protocol and predefined address - command)

* remove space from file name, add delay_us_init_DWT header

* float-based delay us

* init tim2 by CubeMX

* fix simple pwm functions

* simple pwm timer based ir nec protocol

* ir gui test app

Co-authored-by: aanper <mail@s3f.ru>
2020-10-23 12:39:11 +03:00
DrZlo13 0d25b09ad8 Merge branch 'master' into fix-asserts 2020-10-20 19:24:58 +10:00
DrZlo13 430815d561 now asserts dont break anything in release mode 2020-10-20 19:23:53 +10:00
05ef19b07a Pubsub core api feature (#174)
* fixed inline functions for modern C standart

* pubsub api, base version

* basic test for pubsub

* update applications.mk, add test file

* more test for pubsub

* remove unimplemented files, cleanup header file

* remove legacy tests, check unsubscribe not call cb

* implement deleting mutex, fail test

* release mutex before deleting

Co-authored-by: aanper <mail@s3f.ru>
2020-10-15 21:23:18 +03:00
59740349fa furi memory managment (#177)
* memory managment calls now forwarded to freertos heap

* memory managment tests

* local target test compability

* rename heap.c file to heap_4.c for local target and explicity init heap in single thread context

* rebase BlockLink_t struct

* check mutex in local heap

Co-authored-by: aanper <mail@s3f.ru>
2020-10-15 20:36:15 +03:00
d33e16dae1 Update .gitignore (#176)
Co-authored-by: coreglitch <mail@s3f.ru>
2020-10-14 14:11:08 +03:00
DrZlo13andGitHub 1b85fa69af Build firmware for target without bootloader (#173)
* fixed inline functions for modern C standart

* Build firmware for mcu without bootloader
2020-10-13 14:55:04 +03:00
364a8e6f6c Fix input (#166)
* fixed inline functions for modern C standart

* Fix button-left and button-back setup code

* *nix fix

Co-authored-by: aanper <mail@s3f.ru>
2020-10-08 19:34:43 +03:00
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
04bf049612 New application, QRCode generator (#160)
* Applications dependency, initial realization

* New application, qr code generator

* better buffer clearing

Co-authored-by: aanper <mail@s3f.ru>
2020-10-05 13:33:35 +03:00
DrZlo13andGitHub ec5e5da138 Applications dependency, initial realization (#159) 2020-10-05 13:17:34 +03:00
DrZlo13andGitHub 44ab04f8d6 fixed inline functions for modern C standards (#157) 2020-10-05 13:01:20 +03:00