Git Product home page Git Product logo

Comments (3)

dgarske avatar dgarske commented on May 23, 2024

@bigbrett is going to review this.

Does this patch resolve the error? I can't tell what the specific wolfBoot error is, but I suspect it's this macro check.

diff --git a/hal/imx_rt.c b/hal/imx_rt.c
index 3c6e7398..7dd07076 100644
--- a/hal/imx_rt.c
+++ b/hal/imx_rt.c
@@ -715,7 +715,7 @@ void uart_init(void)
     lpuart_config_t config;
     uint32_t uartClkSrcFreq = 20000000U; /* 20 MHz */
 
-#if UART_BASEADDR == LPUART1
+#if (uintptr_t)UART_BASEADDR == (uintptr_t)LPUART1
     /* Configure the UART IO pins for LPUART1
      * Tested with RT1040, RT1050, RT1062 and RT1064
      */

Thanks,
David Garske, wolfSSL

from wolfboot.

MulattoKid avatar MulattoKid commented on May 23, 2024

Yes, it's UART_BASEADDR == LPUART1 that caused the issue. I handled it a bit differently in my PR, but your patch should work as well :)

from wolfboot.

dgarske avatar dgarske commented on May 23, 2024

Fixed with PR #439.

from wolfboot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.