SConscript 419 B

12345678910111213
  1. # Regression test for #522:
  2. # Compile Errors when using UENUM on atmega32u4
  3. Import('env')
  4. env2 = env.Clone()
  5. env2.Append(CPPDEFINES = {'UENUM': '_SFR_MEM8', 'BOOL': 'foobar_bool_t',
  6. 'INT32': '1234', 'OPTIONAL': 'xyz_t',
  7. 'REPEATED': '0', 'STATIC': 'static',
  8. 'CALLBACK': '9999'})
  9. env2.NanopbProto("uenum.proto")
  10. env2.Object(["uenum.pb.c"])