Commit Graph

100 Commits

Author SHA1 Message Date
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
Matthias Ringwald
bdecf965b4 hal_flash_sector_memory: initialize simulated flash with 0xff 2017-08-14 17:00:03 +02:00
Matthias Ringwald
b0b1b5f7cd btstack_tlv_flash_sector: only erase first bank on start if no active bank found 2017-08-14 16:46:36 +02:00
Matthias Ringwald
346b607c48 hal_uart_dma: fix argument of hal_uart_dma_set_flowcontrol (int instead of uint32) 2017-07-26 22:39:20 +02:00
Matthias Ringwald
f71711bb0a hal_uart_dma: add hal_uart_dma_set_flowcontrol with HAVE_UART_DMA_SET_FLOWCONTROL guard 2017-07-25 19:37:09 +02:00
Matthias Ringwald
4b929998c3 btstack_uart_block: add set_flowcontrol 2017-07-25 17:53:01 +02:00
Matthias Ringwald
3ce3a4ebf3 btstack_uart_block: allow to 'unset' a callback by setting it to NULL. Update code for freertos and embedded to implement this 2017-07-24 11:53:29 +02:00
Matthias Ringwald
38f05a1521 btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation 2017-07-05 11:27:44 +02:00
Matthias Ringwald
609709dad2 /btstack_tlv_flash_sector: fix valid tlv storage detection for bank 0 2017-06-06 12:05:03 +02:00
Matthias Ringwald
d9f53676a5 test/flash_tlv: sort link key db using btstack_tlv on top of hal_flash_sector into main folders 2017-06-05 11:52:35 +02:00
Matthias Ringwald
70ba364580 introduce hal_audio_dma for dma-driven audio playback 2017-06-02 11:07:00 +02:00
Matthias Ringwald
b570940d6e btstack_stdin: implement btstack_stdin_embedded.c that relies on new hal_stdin.h to receive console characters 2017-05-27 22:07:37 +02:00
Matthias Ringwald
13c10a34b0 fix wanring 'unreachable statement' 2017-05-18 18:24:18 +02:00
Matthias Ringwald
0489d9babb btstack_uart_block/embedded: document sleep modes 2017-05-04 11:28:36 +02:00
Matthias Ringwald
224203d84a btstack_uart_block/embedded: support sleep 2017-05-02 00:22:41 +02:00
Matthias Ringwald
c3dafd4604 btstack_uart_block: add set_wakeup_handler to allow wake up notifications 2017-05-01 18:13:51 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
851e09fd8a add missing field initializers in hci transport h4 (ehcill) embedded 2017-03-01 10:16:58 +01:00
Matthias Ringwald
e86b2fec6e embedded: handle timers when system_time overruns 2017-01-13 18:00:38 +01:00
Matthias Ringwald
308bc5e02a btstack_uart_block_embedded: remove data source on close 2016-10-12 13:30:00 +02:00
Matthias Ringwald
9788aa5da8 hci_transport: remove data source on close 2016-10-12 13:29:39 +02:00
Matthias Ringwald
8ebb0850cb Merge branch 'develop' 2016-05-02 23:04:58 +02:00
Matthias Ringwald
0f78faa83f Merge branch 'master' into develop 2016-05-02 17:36:41 +02:00
Matthias Ringwald
8aa44d5a9a btstack_uart_embedded: fix typo, working 2016-04-27 22:19:44 +02:00
Matthias Ringwald
f6a20ec99f eHCILL: use ENABLE_EHCILL instead of HAVE_EHCILL plus runtime enable call, updated docs 2016-04-27 15:18:55 +02:00
Matthias Ringwald
af2052448e hci_transport_h4_embedded: fix offset for SCO length byte 2016-04-27 10:50:03 +02:00