Commit Graph
25 Commits
Author SHA1 Message Date
Henry Gabryjelski 4565d0cd7d Use uppercase PRINTF.
This is a step in preparation for the ability to
change the default handler for printf(), such as
when advanced debug output capabilities make it
more performant to output via an alternative route.
2020-03-11 15:25:39 -07:00
hathach df6a459a10 remove requestPHY() from 1MB to 2MB, old Mac may not support 2MB. Leave it to central to switch
also add hci str debug
2020-03-02 22:11:30 +07:00
Henry Gabryjelski e96b3ed14f Fix multiple warnings when building.
Fix #1:

warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'int32_t {aka long int}' [-Wformat=]

The C++ specification requires "%X" to receive an unsigned value. Any other type (including signed values) is "undefined behavior".

Fix #2:

warning: narrowing conversion of '(((int)itfnum) + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

The affected macros are returning a list of uint8_t values, typically to define statically-allocated byte arrays.
The fix is to explicitly cast to `uint8_t` when doing arithmetic on any parameter.  Also added explicit comment
on the implied constraint.
2019-08-14 13:56:12 -07:00
hathach 64e176b7cd more warnings clean up 2019-06-07 15:27:57 +07:00
hathach a95ead5add clean up warnings 2019-06-07 12:48:41 +07:00
hathach 6bcffbd252 clean up warnings 2019-06-06 11:41:02 +07:00
hathach dce9c93928 use USBCON macro to detect usb 2019-04-29 23:43:20 +07:00
hathach e05bdc9030 implement BLECharacteristic long write #91,#220 2019-02-13 14:57:36 +07:00
hathach a91215fca4 add qspi device printf for testing 2018-11-27 14:54:11 +07:00
hathach 123c3080c3 clean up, replace cprintf by std printf (with _write hook) 2018-11-02 20:17:33 +07:00
hathach 9a4d94f485 clean up 2018-11-02 19:57:34 +07:00
hathach d89de257f7 clean up things 2018-11-01 14:09:42 +07:00
hathach 8045b1ec74 rtos clean up, remove yield at the end of loop() 2018-10-31 17:01:53 +07:00
hathach 5c9fa09a93 able to open, write and read back with lfs 2018-10-17 13:19:12 +07:00
hathach 211e048537 clean up ble event string 2018-09-01 13:39:42 +07:00
hathach 67106d5284 rename getFirmwareVersion() to getBootloaderVersion() 2018-08-07 16:50:30 +07:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach 694e48f8ca fix build error, add error of SD v6 2018-05-21 17:43:56 +07:00
hathach 7487320265 add dbgDumpMemoryCFormat() 2018-02-02 22:13:36 +07:00
hathach 11a360223b fix debug dump memory 2018-02-01 22:18:13 +07:00
hathach 933706dc7b clean up 2018-01-31 21:18:58 +07:00
hathach 1c68b851fc enhance dbgDumpMemory() to print anscii 2018-01-31 17:15:39 +07:00
hathach 62b80b084b clean up 2018-01-25 14:58:04 +07:00
hathach 73648578b0 fix debug issue 2018-01-16 14:59:12 +07:00
hathach acccc9f0da move debug.cpp to utility folder 2018-01-15 13:15:01 +07:00