Compiling custom firmware with Bluetooth support

36 views
Skip to first unread message

Jacob Albert

unread,
Aug 3, 2016, 1:01:19 AM8/3/16
to OpenXC
My custom chipkit firmware compiles fine, but I never see the bluetooth support int he final compile options. Also I don't see UART=1 in the documentation compile options, but it's mentioned in the bluetooth docs. Not sure if they are deprecated or not.

Is this not needed any longer? Should a default "fab chipkit build" include bluetooth? What else do I need to compile?

Latest build 
Compiled with options:
-      CHIPKIT             = PLATFORM
-      1                   = BOOTLOADER
-      0                   = DEBUG
-      0                   = DEFAULT_METRICS_STATUS
-      1                   = DEFAULT_ALLOW_RAW_WRITE_USB
-      0                   = DEFAULT_ALLOW_RAW_WRITE_UART
-      0                   = DEFAULT_ALLOW_RAW_WRITE_NETWORK
-      OFF                 = DEFAULT_LOGGING_OUTPUT
-      JSON                = DEFAULT_OUTPUT_FORMAT
-      0                   = DEFAULT_EMULATED_DATA_STATUS
-      SILENT_CAN          = DEFAULT_POWER_MANAGEMENT
-      1                   = DEFAULT_USB_PRODUCT_ID
-      0                   = DEFAULT_CAN_ACK_STATUS
-      1                   = DEFAULT_OBD2_BUS
-      0                   = DEFAULT_RECURRING_OBD2_REQUESTS_STATUS
-------------------------
Compiled successfully for CHIPKIT running under a bootloader.


Eric Marsman

unread,
Aug 30, 2016, 4:51:16 PM8/30/16
to OpenXC
I assume you're talking about UART=1 from here: http://chipkit-vi.openxcplatform.com/bluetooth/hardware.html.

Yes, that is a deprecated option and no longer in the Makefile/fabfile.py. I would recommend following the info here: http://vi-firmware.openxcplatform.com/en/master/platforms/max32.html#uart

Is the bluetooth working for you? Based on your later post, I assume that it is.

Regards,
Eric
Reply all
Reply to author
Forward
0 new messages