<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bootloader + Buttonless DFU on Custom Board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22712/bootloader-buttonless-dfu-on-custom-board</link><description>Hi, Nordic Forum! 
 We&amp;#39;ve been trying to implement an adapted version of the Secure Bootloader with Buttonless DFU in our custom board. We have successfully accomplished a version of this by hardcoding certain pins and buttons values in the source code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jun 2017 11:35:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22712/bootloader-buttonless-dfu-on-custom-board" /><item><title>RE: Bootloader + Buttonless DFU on Custom Board</title><link>https://devzone.nordicsemi.com/thread/89298?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 11:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10c98c39-e187-40cc-834b-43891d3a1d00</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, the led indication is done by using the GPIO abstraction(nrf_gpio.h), i.e. nrf_gpio_pin_clear and nrf_gpio_pin_set,  which does not have any weak implementations that you can override. Are you using I/O expanders that communicate over I2C? You should be able to replace the nrf_gpio_pin_set/clear function calls with a function that communicates with the IO expander without affecting the functionality of the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader + Buttonless DFU on Custom Board</title><link>https://devzone.nordicsemi.com/thread/89297?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 09:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68452cd3-a0b6-4304-8d83-9cce5a86a188</guid><dc:creator>Rodrigo Lorenzo Leal</dc:creator><description>&lt;p&gt;Bjørn, thanks for your reply.&lt;/p&gt;
&lt;p&gt;We added the define to our custom board header file and it worked. The problem is that since we don&amp;#39;t have any LED connected directly to the pins of the MCU, we have to assign them to an unused pin and we loose the indication on bootloader mode. Is there a way of overriding the indication on the nrf_ble_dfu library without actually modifying the source code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader + Buttonless DFU on Custom Board</title><link>https://devzone.nordicsemi.com/thread/89296?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 13:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35aac88d-6dc7-4440-9480-e5fed7283348</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Rodrigo,  you should create a &lt;code&gt;custom_board.h&lt;/code&gt; file that maps the pins of your custom board to BSP_LED_n and BSP_BUTTON_n  and add the BOARD_CUSTOM define to your Makefile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>