• Earle F. Philhower, III's avatar
    Update FLASH_SIZE_BYTES to avoid assert on > 2MB · c1ab2b73
    Earle F. Philhower, III authored
    The SDK would assert if a flash write/erase happened past the end of the
    flash space it was built with.  So, 8MB chips would crash when accessing
    offset 3MB, for example.
    
    Avoid this by specifying the maximum flash available so the SDK won't
    trip.
    
    Fixes #76
    c1ab2b73
CMakeLists.txt 1.49 KB