483 Commits

Author SHA1 Message Date
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
a6f770a0a8 freertos: init btstack_run_loop_task already during run loop init 2017-10-25 15:38:12 +02:00
Matthias Ringwald
297a0e053d freertos: use portYIELD_FROM_ISR without arguments on esp32 and allow to compile of btstack_uart_block_freertos 2017-10-25 15:38:12 +02:00
Matthias Ringwald
f61cf6aae2 btstack_tlv_posix: fix compile 2017-10-23 16:39:58 +02:00
Matthias Ringwald
d1700513b5 btstack_tlv_posix: basic implementation that keeps all entries in RAM but persists new entries to disk 2017-10-23 14:24:19 +02:00
Matthias Ringwald
f7ceae3115 btstack_uart_block_posix: report read/write errors and read/write of zero bytes 2017-10-12 10:30:06 +02: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
8644aff041 libusb: use timeout for hci transfer cancel 2017-08-18 16:30:06 +02:00
Matthias Ringwald
42a4782619 libusb: only cancel valid transfer 2017-08-18 15:58:35 +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
ecf76c8d4f windows-winusb: prefix isochronous functions and types with BTstack/BTSTACK to avoid name collisions, support device whitelist 2017-08-07 14:39:35 +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
6b7504f2db windows: fix compile 2017-07-26 16:11:57 +02:00
Matthias Ringwald
6ae5f6886d windows: support set_flowcontrol 2017-07-25 21:29:11 +02:00
Matthias Ringwald
79d9f1ed77 posix: only get/set options once for open 2017-07-25 21:22:16 +02:00
Matthias Ringwald
cde6b088be posix: implement set_flowcontrol in btstack_uart_block interface 2017-07-25 19:42:12 +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
0c2f495327 add missing BTSTACK_FILE tags 2017-07-21 22:10:37 +02:00
Matthias Ringwald
c573ae3327 freertos: fix typo in btstack_uart_block_freertos.c 2017-07-18 11:42:58 +02:00
Matthias Ringwald
4a76e901eb esp32/freertos: don't create thread for BTstack. make run_loop_execute block - same as all other ports 2017-07-14 11:28:02 +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
828fd804b0 freertos: HAVE_FREERTOS_TASK_NOTIFICATION uses FreeRTOS Task Notifications from v8.2 to trigger run loop 2017-07-04 19:43:02 +02:00
Matthias Ringwald
ee6b16138c test: fix compile. libusb: fix warning 2017-07-04 17:38:30 +02:00
Matthias Ringwald
b7832c7f15 btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation 2017-07-04 15:27:27 +02:00
Matthias Ringwald
58044c3948 posix/btstack_link_key_db_fs_instance: only btstack_link_key_db_fs_instance is public 2017-06-30 08:17:09 +02:00
Matthias Ringwald
19830e3fd9 daemon: fix warnings 2017-06-15 14:32:52 +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
13e71c7bf4 wiced: add le_device_db_wiced_dct to store LE pairing info in DCT 2017-05-30 13:54:20 +02:00
Matthias Ringwald
85447f545f wiced: add btstack_link_key_db_wiced_dct_get_storage_size for Classic Link Key DB 2017-05-30 13:54:04 +02:00