BIOI G60/Morgan65: use custom Bluetooth driver (#20897)
This commit is contained in:
		
							parent
							
								
									7b31c18d46
								
							
						
					
					
						commit
						ab8c5013c8
					
				
					 7 changed files with 43 additions and 474 deletions
				
			
		| 
						 | 
				
			
			@ -906,10 +906,11 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
 | 
			
		|||
    OPT_DEFS += -DBLUETOOTH_ENABLE
 | 
			
		||||
    NO_USB_STARTUP_CHECK := yes
 | 
			
		||||
    COMMON_VPATH += $(DRIVER_PATH)/bluetooth
 | 
			
		||||
    SRC += outputselect.c bluetooth.c
 | 
			
		||||
    SRC += outputselect.c
 | 
			
		||||
 | 
			
		||||
    ifeq ($(strip $(BLUETOOTH_DRIVER)), BluefruitLE)
 | 
			
		||||
        OPT_DEFS += -DBLUETOOTH_BLUEFRUIT_LE -DHAL_USE_SPI=TRUE
 | 
			
		||||
        SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
 | 
			
		||||
        SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp
 | 
			
		||||
        QUANTUM_LIB_SRC += analog.c
 | 
			
		||||
        QUANTUM_LIB_SRC += spi_master.c
 | 
			
		||||
| 
						 | 
				
			
			@ -917,6 +918,7 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
 | 
			
		|||
 | 
			
		||||
    ifeq ($(strip $(BLUETOOTH_DRIVER)), RN42)
 | 
			
		||||
        OPT_DEFS += -DBLUETOOTH_RN42 -DHAL_USE_SERIAL=TRUE
 | 
			
		||||
        SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
 | 
			
		||||
        SRC += $(DRIVER_PATH)/bluetooth/rn42.c
 | 
			
		||||
        QUANTUM_LIB_SRC += uart.c
 | 
			
		||||
    endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue