step1: modify main.cpp in arduino-1.5.3-Intel.1.0.4\hardware\arduino\edison\cores\arduino by adding trace_enable(0);
TODO: derive trace level and optional IP from command line
trace_init(VARIANT_TRACE_LEVEL, 0);
trace_target_enable(TRACE_TARGET_UART);
trace_enable(0);
step2, use the arduino IDE to upload adc examples such as example->basic->AnalogReadSerial
the ADC value is always 0.
=====================================================
or
step 1:modify main.cpp by changing the trace leval
trace_init(TRACE_LEVEL_ERROR, 0);
trace_target_enable(TRACE_TARGET_UART);
step 2: use the arduino IDE to upload AnalogReadSerial
the ADC value is always 0