Loading ...
Sorry, an error occurred while loading the content.

Re: [nuttx] Wrong macro value returned.

Expand Messages
  • Michael Smith
    ... You have managed to pass zero as the b argument to this macro on a 32-bit system. Check how you are calling it. = Mike
    Message 1 of 3 , Sep 6, 2013
    • 0 Attachment

      On 06/09/2013, at 4:44 AM, chiacheng.tsao@... wrote:

       
      #  define NSECTORS(b)        (((b)+CONFIG_NSH_ROMFSSECTSIZE-1)/CONFIG_NSH_ROMFSSECTSIZE)

      nsh_romfsetc: nsh: romdisk_register, nsectors = 33554432 <<<<< wrong

      You have managed to pass zero as the 'b' argument to this macro on a 32-bit system. Check how you are calling it.

       = Mike

    Your message has been successfully submitted and would be delivered to recipients shortly.