125 Commits

Author SHA1 Message Date
Matthias Ringwald
e0ff5d41db test: fix c/c++ mixed compile warning, streamline makefile 2021-06-12 12:03:02 +02:00
Matthias Ringwald
b0e4fcd554 add missing includes to fix build 2021-06-05 16:52:58 +02:00
Milanka Ringwald
48cdff9c38 MISRAC2012-Rule-8.3_b: match function declaration and definition 2021-06-03 13:03:13 +02:00
Milanka Ringwald
b45b7749fd MISRAC2012-Rule-8.3_b: match function declaration and definition 2021-06-03 11:35:40 +02:00
Matthias Ringwald
ea7d62f812 add missing c++ guard 2021-05-09 22:13:54 +02:00
Matthias Ringwald
128d6c999a hci_dump: full rewrite, provide platform-specific implementations for posix and embedded platforms 2021-03-11 15:53:45 +01:00
Matthias Ringwald
cf159062a6 btstack_uart: add NULL for SLIP function in existing uart implementations (avoid warnings) 2021-03-10 10:03:58 +01:00
Matthias Ringwald
9f1d8eee3d remove btstack_run_loop_base.h include from run loop implementations and tests 2021-03-08 10:45:31 +01:00
Matthias Ringwald
3eab39f313 btstack_run_loop_embedded: use run loop base (code) 2021-03-05 11:46:58 +01:00
Matthias Ringwald
97d2cfbc6f fix warnings for log_info/printf 2020-11-30 14:26:45 +01:00
Matthias Ringwald
1b7f8fa10e btstack_audio: add set_volume() to sink and set_gain() to source interfaces (nop implementations for portaudio and embedded) 2020-06-26 15:12:53 +02:00
Matthias Ringwald
3f054530e4 btstack_hal_flash_memory: fix write of 0xff bytes to simulated flash, fix #283 2020-05-15 16:06:53 +02:00
Matthias Ringwald
ff3cc4a537 MISRAC2012-Rule-14.4_d: use while(true) instead of while(1) 2019-12-03 12:52:10 +01:00
Matthias Ringwald
d58a1b5f11 linked list/run loop: return true if item/data source/timer was removed 2019-11-27 18:23:11 +01:00
Matthias Ringwald
4f7fcd5439 btstack_run_loop_embedded: remove duplicate instance variable 2019-09-23 11:36:37 +02:00
Matthias Ringwald
030a86615c embedded: streamline timer management using btstack_time_delta 2019-08-04 21:51:19 +02:00
Matthias Ringwald
5ff6a55bc1 btstack_tlv_flash_bank: support alignment 8 with ENABLE_TLV_FLASH_EXPLICIT_DELETE_FIELD 2019-05-14 16:20:12 +02:00
Matthias Ringwald
9f35247bf6 btstack_tlv_flash_bank: reduce debut output 2019-05-14 13:32:04 +02:00
Matthias Ringwald
0d5520a9a5 btstack_tlv_flash_bank: support targets where a value cannot be overwritten with zero 2019-05-14 10:53:38 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
80e33422a9 Use FILENAME_H as include guard (MISRAC2012-Rule-21.1) 2019-05-11 19:08:52 +02:00
Matthias Ringwald
6fd4ca9efb btstack_audio_embedded: implement stop_stream function 2019-02-24 15:31:39 +01:00
Matthias Ringwald
fb90eb3f62 btstack_audio_embedded: implement recording path 2019-02-24 13:08:36 +01:00
Matthias Ringwald
ff0081ee81 embedded/hal_audio: rename hal_audio -> hal_audio_sink 2019-02-24 13:08:36 +01:00
Matthias Ringwald
0402264ca0 btstack_audio_embedded: implement audio sink interface 2019-02-24 13:04:39 +01:00
Matthias Ringwald
612ee88638 remove hal_audio_dma.h 2018-07-20 17:28:45 +02:00
Matthias Ringwald
dfa3274687 btstack_audio: implementation for embedded on top of hal_audio.h 2018-07-20 16:11:27 +02:00
Matthias Ringwald
fa6e80625e Introduce review hal_audio for playback/recording using circular buffer set 2018-07-20 16:10:59 +02:00
Milanka Ringwald
432f6cc7ec hal_flash_bank_memory: remove exit() from write-twice error reporting 2018-07-03 15:10:29 +02:00
Matthias Ringwald
ad2a4692c4 Embedded: support btstack_stdin via SEGGER RTT 2018-04-15 11:38:46 +02:00
Matthias Ringwald
161a556908 em9304: add hci_transport_em9304_spi.c 2017-12-20 23:04:07 +01:00
Matthias Ringwald
5e2dc9e820 em9304: add hal_em9304_spi.h 2017-12-20 23:04:07 +01:00
Matthias Ringwald
a7e4f59be7 hal_flash_bank_memory: don't modify simulated flash data if 0xff is written - needed for alignment >= 8 2017-11-01 10:50:06 +01:00
Matthias Ringwald
372a35564c btstack_tlv_flash_bank: support unaligned value sizes with alignment up to 8 bytes 2017-11-01 10:50:06 +01:00
Matthias Ringwald
e8efffc8d1 btstack_tlv_flash_bank: extract btstack_tlv_flash_bank_read and btstack_tlv_flash_bank_write 2017-11-01 10:50:06 +01:00
Matthias Ringwald
cea17109eb embedded: replace hci_transport_h4_ehcill_embedded.c with hci_transport_h4.c and btstack_uart_block_embedded.c and remove platform-specific H4 implementation 2017-09-19 14:55:00 +02:00
Matthias Ringwald
17ae5bc4f4 FLASH HAL: use 'bank' instead of 'sector' 2017-08-16 15:58:03 +02:00
Matthias Ringwald
c7f4b25f7a btstack_tlv: return 0 on ok for store_tag 2017-08-16 14:59:53 +02:00
Matthias Ringwald
8aecaa9f0f btstack_tlv_flash_sector: trigger migration if Flash is not erased after last found tag 2017-08-16 14:53:22 +02:00
Matthias Ringwald
5067757fa8 hal_flash_sector: remove unused define 2017-08-16 14:23:33 +02:00
Matthias Ringwald
99a525903c btstack_tlv_flash_sector: return first tag found 2017-08-16 14:23:04 +02:00
Matthias Ringwald
e0e6f655f7 btstack_tlv_flash_sector: veriy write offset is within flash bank 2017-08-15 14:29:44 +02:00
Matthias Ringwald
944b9f78ad btstack_tlv_flash_sector: delete old value of newest entry if it exists on start - handles reset after writing entry but before old entry was deleted 2017-08-15 11:40:14 +02:00
Matthias Ringwald
14f9effccb btstack_tlv_flash_sector: assert hal_flash_sector->get_alignment is satisfied 2017-08-15 11:29:50 +02:00
Matthias Ringwald
cc480b8fa8 hal_flash_sector.h: add get_alignment() to get Flash read/write alignment requirements 2017-08-15 11:15:12 +02:00
Matthias Ringwald
f5f08c7570 btstack_tlv_flash_sector: simplify migrate by assuming entries are mostly unique 2017-08-14 17:50:59 +02:00
Matthias Ringwald
4f924c8f35 btstack_tlv_flash_sector: erase existing tag after writing new value 2017-08-14 17:38:39 +02:00
Matthias Ringwald
4a0a7b450d btstack_tlv_flash_sector: implement delete by overwriting tag with zero tag 2017-08-14 17:34:48 +02:00
Matthias Ringwald
884aa5c407 hal_flash_sector_memory.c: allow to overwrite flash with 0x00 2017-08-14 17:27:32 +02:00
Matthias Ringwald
d961a09078 btstack_tlv_flash_sector: only erase bank if not empty 2017-08-14 17:06:20 +02:00