mirror of
https://github.com/google/pebble.git
synced 2025-03-20 11:01:20 +00:00
14 lines
419 B
Text
14 lines
419 B
Text
|
# Regression test for #522:
|
||
|
# Compile Errors when using UENUM on atmega32u4
|
||
|
|
||
|
Import('env')
|
||
|
|
||
|
env2 = env.Clone()
|
||
|
env2.Append(CPPDEFINES = {'UENUM': '_SFR_MEM8', 'BOOL': 'foobar_bool_t',
|
||
|
'INT32': '1234', 'OPTIONAL': 'xyz_t',
|
||
|
'REPEATED': '0', 'STATIC': 'static',
|
||
|
'CALLBACK': '9999'})
|
||
|
env2.NanopbProto("uenum.proto")
|
||
|
env2.Object(["uenum.pb.c"])
|
||
|
|