Skip to content

Commit

Permalink
Merge pull request #260 from Severson-Group/develop
Browse files Browse the repository at this point in the history
Merge v1.0.3 bug fixes to release branch v1.0.x
  • Loading branch information
npetersen2 committed Mar 17, 2022
2 parents 675f644 + 14ffce4 commit 34e5cc6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

This document summarizes the changes introduced to the code base for each release.

## v1.0.3

- Fix bug in Vivado project vs. C code config checking
- Reduce max number of samples to dump per time slice over Ethernet

## v1.0.2

- Fix task stats printing
Expand Down
4 changes: 2 additions & 2 deletions sdk/app_cpu1/common/main.c
Expand Up @@ -45,8 +45,8 @@
#error "ERROR: Vivado hardware target is REV D, but usr/user_config.h target is REV E!"
#endif

// REV D has 2 GPIO ports, each with their own eddy current sensor driver IP block:
#if (USER_CONFIG_HARDWARE_TARGET == AMDC_REV_D) && (XPAR_AMDC_EDDY_CURRENT_SENSOR_NUM_INSTANCES != 2)
// REV D has 2 GPIO ports, but only a single eddy current sensor driver IP block:
#if (USER_CONFIG_HARDWARE_TARGET == AMDC_REV_D) && (XPAR_AMDC_EDDY_CURRENT_SENSOR_NUM_INSTANCES != 1)
#error "ERROR: Vivado hardware target is REV E, but usr/user_config.h target is REV D!"
#endif

Expand Down
4 changes: 2 additions & 2 deletions sdk/app_cpu1/common/sys/log.c
Expand Up @@ -524,12 +524,12 @@ void state_machine_dump_binary_callback(void *arg)
int max_num_samples = 1;
if (ctx->dump_method == 2) {
// Means Ethernet
max_num_samples = 100;
max_num_samples = 20;

// To compute network load:
// Mbps = (max_num_samples*4*8*10e3) / (1024*1024)
//
// 100 ==> 30.5 Mbps
// 20 ==> 6.1 Mbps
//
// This is the upper limit; might stop early
// due to buffer getting full!
Expand Down

0 comments on commit 34e5cc6

Please sign in to comment.