<?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>NO MPU Defined error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17512/no-mpu-defined-error</link><description>Hello, 
 I am trying to use nrf-mpu-examples in eclipse from this link github.com/.../nrf5-mpu-examples . I have provided all required libraries and header files but I am not getting how I can remove this error &amp;quot;No MPU defined. Please define MPU in Target</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2019 18:13:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17512/no-mpu-defined-error" /><item><title>RE: NO MPU Defined error</title><link>https://devzone.nordicsemi.com/thread/179056?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 18:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db476a8-20f8-4125-82ad-5b70a26a69e1</guid><dc:creator>neva</dc:creator><description>&lt;p&gt;Hi Sunil! I don&amp;#39;t know if you already solved the problem, but I also use Segger for nrf chip with MPU6050. Go to Project-&amp;gt; Options, then change Debug to Common on the upper left corner, then go to -&amp;gt; Preprocessor-&amp;gt; Preprocessor Definitions and add there MPU60x0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NO MPU Defined error</title><link>https://devzone.nordicsemi.com/thread/153046?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2018 11:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec1eb2a4-9528-40e8-a6ad-d8d4cfb0f8ab</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;HI, &lt;/p&gt;
&lt;p&gt;I am using same github library. instead of keil i want to work in segger. but there is no SES file for the MPU library is there any SES file available..?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and also i am trying to alternate&amp;nbsp; &amp;quot;&amp;nbsp;ble_app_uart_pca10040_s132 &amp;quot;&amp;nbsp;&amp;nbsp; segger solution to work in this MPU library which is SDK 15.2.&lt;/p&gt;
&lt;p&gt;for that i also got the error&lt;strong&gt;&amp;nbsp; #error &amp;quot;No MPU defined. Please define MPU in Target Options C/C++ Defines&amp;quot; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and more error like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Rebuilding ‘ble_app_uart_pca10040_s132 - MPU’ from solution ‘ble_app_uart_pca10040_s132 - MPU’ in configuration ‘Release’
  Assembling ‘thumb_crt0.s’
  Compiling ‘nrf_log_backend_rtt.c’
  Compiling ‘nrf_log_backend_serial.c’
  Compiling ‘nrf_log_default_backends.c’
  Compiling ‘nrf_log_frontend.c’
  Compiling ‘nrf_log_str_formatter.c’
  Compiling ‘app_button.c’
  Compiling ‘app_error.c’
  Compiling ‘app_error_handler_gcc.c’
  Compiling ‘app_error_weak.c’
  Compiling ‘app_fifo.c’
  Compiling ‘app_scheduler.c’
  Compiling ‘app_timer.c’
  Compiling ‘app_uart_fifo.c’
  Compiling ‘app_util_platform.c’
  Compiling ‘hardfault_implementation.c’
  Compiling ‘nrf_assert.c’
  Compiling ‘nrf_atfifo.c’
  Compiling ‘nrf_atflags.c’
  Compiling ‘nrf_atomic.c’
  Compiling ‘nrf_balloc.c’
  Compiling ‘nrf_fprintf.c’
  Compiling ‘nrf_fprintf_format.c’
  Compiling ‘nrf_memobj.c’
  Compiling ‘nrf_pwr_mgmt.c’
  Compiling ‘nrf_ringbuf.c’
  Compiling ‘nrf_section_iter.c’
  Compiling ‘nrf_strerror.c’
  Compiling ‘retarget.c’
  Assembling ‘ses_startup_nrf52.s’
  Assembling ‘ses_startup_nrf_common.s’
  Compiling ‘system_nrf52.c’
  Compiling ‘boards.c’
  Compiling ‘nrf_drv_clock.c’
  Compiling ‘nrf_drv_uart.c’
  Compiling ‘nrfx_clock.c’
  Compiling ‘nrfx_gpiote.c’
  Compiling ‘nrfx_power_clock.c’
  Compiling ‘nrfx_prs.c’
  Compiling ‘nrfx_uart.c’
  Compiling ‘nrfx_uarte.c’
  Compiling ‘bsp.c’
  Compiling ‘bsp_btn_ble.c’
  Compiling ‘nrf_drv_mpu_spi.c’
  Compiling ‘nrf_drv_mpu_twi.c’
  Compiling ‘main.c’
    app_mpu.h: No such file or directory
  Compiling ‘app_mpu.c’
    app_mpu.c
    #error &amp;quot;No MPU defined. Please define MPU in Target Options C/C++ Defines&amp;quot;
    app_mpu.c
    #error &amp;quot;No/unknown MPU defined&amp;quot;
    app_mpu.c
    #elif with no expression
    &amp;#39;MPU_REG_SMPLRT_DIV&amp;#39; undeclared (first use in this function)
    each undeclared identifier is reported only once for each function it appears in
    &amp;#39;MPU_REG_INT_PIN_CFG&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_INT_ENABLE&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_SIGNAL_PATH_RESET&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_PWR_MGMT_1&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_ACCEL_XOUT_H&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_GYRO_XOUT_H&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_TEMP_OUT_H&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_INT_STATUS&amp;#39; undeclared (first use in this function)
  Compiling ‘ble_mpu.c’
    ble_mpu.h
    ble_mpu.c
    #error &amp;quot;No MPU defined. Please define MPU in Target Options C/C++ Defines&amp;quot;
    ble_mpu.h
    ble_mpu.c
    #error &amp;quot;No/unknown MPU defined&amp;quot;
  Compiling ‘SEGGER_RTT.c’
Build failed&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the respective screen shot&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/segger4.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NO MPU Defined error</title><link>https://devzone.nordicsemi.com/thread/67323?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 10:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35bd9c4c-0b0f-444b-a78e-e9e2b7134e95</guid><dc:creator>Swapnil</dc:creator><description>&lt;p&gt;Yes its done, Thank you..!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NO MPU Defined error</title><link>https://devzone.nordicsemi.com/thread/67322?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 10:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4de296be-8cb9-43a1-a2d1-64e6f63f2ac7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try adding it to your makefile as an C and assembler flag.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CFLAGS += -DMPU9255
ASMFLAGS += -DMPU9255
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>