You can't store 'variables' in any kind of ROM.
If it's a table of data that never changes, it's a constant array so try declaring it as "const unsigned char wave[180] = ...". Which should telll the compiler it can safely be stored in permanent (ROM) memory.