3 Replies Latest reply on Aug 5, 2015 7:04 AM by markr

    Inventek BCM43340 board with WICED SDK 3.3.1 and BLE Proximity

    mkochhal

      Hi.

       

      I have an inventek board and a broadcom WICED SDK 3.3.1. I have patched the 3.1.2 patch from Inventek (unless there is one for 3.3.1 that I can try). I wish to try the BLE proximity on the Inventek ISM43341_M4G_L44 board.

       

      As of now I get a lot of platform errors:

       

       

       

      \WICED-SDK-3.3.1>make.exe snip.bluetooth.ble_proximity_reporter-ISM43341_M4G_L44

      Compiling Platform_ISM43341

      Compiling WWD_ThreadX_Interface

      platforms/ISM43341_M4G_L44/platform.c:439:1: warning: return type defaults to 'int'

      WWD_RTOS_DEFINE_ISR( usart1_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:439:1: warning: type of 'usart1_irq' defaults to 'int'

      platforms/ISM43341_M4G_L44/platform.c: At top level:

      platforms/ISM43341_M4G_L44/platform.c:444:1: warning: return type defaults to 'int'

      WWD_RTOS_DEFINE_ISR( usart1_tx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c:444:1: error: redefinition of 'WWD_RTOS_DEFINE_ISR'

      platforms/ISM43341_M4G_L44/platform.c:439:1: note: previous definition of 'WWD_RTOS_DEFINE_ISR' was here

      WWD_RTOS_DEFINE_ISR( usart1_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:444:1: warning: type of 'usart1_tx_dma_irq' defaults to 'int'

      WWD_RTOS_DEFINE_ISR( usart1_tx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: At top level:

      platforms/ISM43341_M4G_L44/platform.c:449:1: warning: return type defaults to 'int'

      WWD_RTOS_DEFINE_ISR( usart1_rx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c:449:1: error: redefinition of 'WWD_RTOS_DEFINE_ISR'

      platforms/ISM43341_M4G_L44/platform.c:439:1: note: previous definition of 'WWD_RTOS_DEFINE_ISR' was here

      WWD_RTOS_DEFINE_ISR( usart1_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:449:1: warning: type of 'usart1_rx_dma_irq' defaults to 'int'

      WWD_RTOS_DEFINE_ISR( usart1_rx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: At top level:

      platforms/ISM43341_M4G_L44/platform.c:454:1: warning: return type defaults to 'int'

      WWD_RTOS_DEFINE_ISR( bt_uart_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c:454:1: error: redefinition of 'WWD_RTOS_DEFINE_ISR'

      platforms/ISM43341_M4G_L44/platform.c:439:1: note: previous definition of 'WWD_RTOS_DEFINE_ISR' was here

      WWD_RTOS_DEFINE_ISR( usart1_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:454:1: warning: type of 'bt_uart_irq' defaults to 'int'

      WWD_RTOS_DEFINE_ISR( bt_uart_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: At top level:

      platforms/ISM43341_M4G_L44/platform.c:459:1: warning: return type defaults to 'int'

      WWD_RTOS_DEFINE_ISR( bt_uart_tx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c:459:1: error: redefinition of 'WWD_RTOS_DEFINE_ISR'

      Compiling WICED_ThreadX_Interface

      platforms/ISM43341_M4G_L44/platform.c:439:1: note: previous definition of 'WWD_RTOS_DEFINE_ISR' was here

      WWD_RTOS_DEFINE_ISR( usart1_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:459:1: warning: type of 'bt_uart_tx_dma_irq' defaults to 'int'

      WWD_RTOS_DEFINE_ISR( bt_uart_tx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: At top level:

      platforms/ISM43341_M4G_L44/platform.c:464:1: warning: return type defaults to 'int'

      WWD_RTOS_DEFINE_ISR( bt_uart_rx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c:464:1: error: redefinition of 'WWD_RTOS_DEFINE_ISR'

      platforms/ISM43341_M4G_L44/platform.c:439:1: note: previous definition of 'WWD_RTOS_DEFINE_ISR' was here

      WWD_RTOS_DEFINE_ISR( usart1_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:464:1: warning: type of 'bt_uart_rx_dma_irq' defaults to 'int'

      WWD_RTOS_DEFINE_ISR( bt_uart_rx_dma_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c: At top level:

      platforms/ISM43341_M4G_L44/platform.c:474:1: warning: return type defaults to 'int'

      WWD_RTOS_MAP_ISR( usart1_irq         , USART1_irq       )

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_MAP_ISR':

      platforms/ISM43341_M4G_L44/platform.c:475:1: error: expected declaration specifiers before 'WWD_RTOS_MAP_ISR'

      WWD_RTOS_MAP_ISR( usart1_tx_dma_irq  , DMA2_Stream7_irq )

      ^

      platforms/ISM43341_M4G_L44/platform.c:474:1: warning: type of 'usart1_irq' defaults to 'int'

      WWD_RTOS_MAP_ISR( usart1_irq         , USART1_irq       )

      ^

      platforms/ISM43341_M4G_L44/platform.c:474:1: warning: type of 'USART1_irq' defaults to 'int'

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:447:1: warning: control reaches end of non-void function [-Wreturn-type]

      }

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:452:1: warning: control reaches end of non-void function [-Wreturn-type]

      }

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:457:1: warning: control reaches end of non-void function [-Wreturn-type]

      }

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:462:1: warning: control reaches end of non-void function [-Wreturn-type]

      }

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_DEFINE_ISR':

      platforms/ISM43341_M4G_L44/platform.c:467:1: warning: control reaches end of non-void function [-Wreturn-type]

      }

      ^

      platforms/ISM43341_M4G_L44/platform.c: In function 'WWD_RTOS_MAP_ISR':

      platforms/ISM43341_M4G_L44/platform.c:479:1: warning: control reaches end of non-void function [-Wreturn-type]

      WWD_RTOS_MAP_ISR( bt_uart_rx_dma_irq , DMA1_Stream1_irq )

      ^

      Compiling WWD_NetX_Duo_Interface

      tools/makefiles/wiced_elf.mk:169: recipe for target 'build/snip_bluetooth_ble_proximity_reporter-ISM43341_M4G_L44/Modules/platforms/ISM43341_M4G_L44/platform.o' failed

      make.exe[1]: *** [build/snip_bluetooth_ble_proximity_reporter-ISM43341_M4G_L44/Modules/platforms/ISM43341_M4G_L44/platform.o] Error 1

      make.exe[1]: *** Waiting for unfinished jobs....

      Makefile:190: recipe for target 'main_app' failed

      make: *** [main_app] Error 2

       

       

      Has anyone tried building this example for this scenario ... and run it successfully ...