Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't read the target voltage on startup, because it crashes STM32F100. #424

Merged
merged 1 commit into from Jun 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/gdbserver/gdb-server.c
Expand Up @@ -159,8 +159,6 @@ int parse_options(int argc, char** argv, st_state_t *st) {


int main(int argc, char** argv) {
int32_t voltage;

stlink_t *sl = NULL;

st_state_t state;
Expand Down Expand Up @@ -193,11 +191,6 @@ int main(int argc, char** argv) {

ILOG("Chip ID is %08x, Core ID is %08x.\n", sl->chip_id, sl->core_id);

voltage = stlink_target_voltage(sl);
if (voltage != -1) {
ILOG("Target voltage is %d mV.\n", voltage);
}

sl->verbose=0;

current_memory_map = make_memory_map(sl);
Expand Down