Skip to content

Instantly share code, notes, and snippets.

@kaspar030
Created February 6, 2019 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaspar030/85695ed116855cc137ba7fedf8bea9c5 to your computer and use it in GitHub Desktop.
Save kaspar030/85695ed116855cc137ba7fedf8bea9c5 to your computer and use it in GitHub Desktop.
-- running on worker haw-icc thread 2, build number 124428.
make: Entering directory '/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/tests/driver_ads101x'
Building application "tests_driver_ads101x" for "cc2650-launchpad" with MCU "cc26x0".
/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers/ads101x/ads101x.c:38:0: error: "I2C" redefined [-Werror]
#define I2C (dev->params.i2c)
In file included from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/cpu/cc26x0/include/cpu_conf.h:32:0,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/core/include/bitarithm.h:26,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/core/include/sched.h:85,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/cpu/cortexm_common/include/cpu.h:36,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/cpu/cc26x0/include/periph_cpu.h:22,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/boards/cc2650-launchpad/include/periph_conf.h:24,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers/include/periph/i2c.h:121,
from /tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers/ads101x/ads101x.c:23:
/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/cpu/cc26x0/include/cc26x0_i2c.h:64:0: note: this is the location of the previous definition
#define I2C ((i2c_regs_t *) (I2C_BASE)) /**< I2C register bank */
cc1: all warnings being treated as errors
/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/Makefile.base:83: recipe for target '/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/build/ads101x/ads101x.o' failed
make[3]: *** [/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/build/ads101x/ads101x.o] Error 1
/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/Makefile.base:20: recipe for target 'ALL--/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers/ads101x' failed
make[2]: *** [ALL--/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers/ads101x] Error 2
make[2]: *** Waiting for unfinished jobs....
/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/Makefile.base:20: recipe for target 'ALL--/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers' failed
make[1]: *** [ALL--/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/drivers] Error 2
/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/tests/driver_ads101x/../../Makefile.include:457: recipe for target '/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/build/application_tests_driver_ads101x.a' failed
make: *** [/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/build/application_tests_driver_ads101x.a] Error 2
make: Leaving directory '/tmp/dwq.0.036342431572522815/0fd724e91a9ba172de6d46bd8c4c58a9/tests/driver_ads101x'
-- build directory size: 836K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment