• Initialize constant pointer to pointer
    const int an_object = 0; const int * const MC_buf = &an_object; const int * buffer = MC_buf; This code was original using structs, but it is simplified in this example. It doesn't matter where...
  • Size of Pointer to Constant Table
    I would like to know how can we control the size of the pointer that point to RAM area. UByte *RamAdr; For code above, I found that the pointer size is different in 2 different software (1 software...
  • Flash CRC, constant at Flash end
    Hello, I am doing a CRC calculation over the Program Flash of the Cortex M0 STM32F030 CPU. For this I want to place a constant at the end of the flash (containing the expected CRC) using: __attribute__...
  • DS89C430, pointer to constants dont work.
    Hi all, i've a really strange issue with a DALLAS DS89C430 full 8051 compatible chip. I've an app. with external program memory, and external sram (both 70ns acccess time, clock is 25mhz). When...
  • storing constant at end of flash
    I need to store a constant at the end of the flash space and I've tried using const long x1 __attribute__((at(0x1FFF8))) = 0x12345678; /* RO */ or const long flash_key __attribute__((section...