Skip to content

Commit ae721f4

Browse files
authored
Merge pull request #33 from harp-tech/fw-update_core_to_1.15
Updated core to version 1.15
2 parents 8459325 + e281ed4 commit ae721f4

4 files changed

Lines changed: 23 additions & 1 deletion

File tree

Firmware/Behavior/Behavior.cproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
<avrgcc.linker.libraries.Libraries>
139139
<ListValues>
140140
<Value>libm</Value>
141-
<Value>libATxmega128A1U-1.13.a</Value>
141+
<Value>libATxmega128A1U-1.15.a</Value>
142142
</ListValues>
143143
</avrgcc.linker.libraries.Libraries>
144144
<avrgcc.linker.libraries.LibrarySearchPaths>

Firmware/Behavior/hwbp_core.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,24 @@ bool core_clock_to_unlock(void);
114114

115115

116116
// It is mandatory that this function is the first of the application code.
117+
void core_func_start_core_V2 (
118+
const uint16_t who_am_i,
119+
const uint8_t hwH,
120+
const uint8_t hwL,
121+
const uint8_t hwP,
122+
const uint8_t fwH,
123+
const uint8_t fwL,
124+
const uint8_t fwP,
125+
uint8_t *pointer_to_app_regs,
126+
const uint16_t app_mem_size_to_save,
127+
const uint8_t num_of_app_registers,
128+
const uint8_t *device_name,
129+
const bool device_is_able_to_repeat_clock,
130+
const bool device_is_able_to_generate_clock,
131+
const uint8_t default_timestamp_offset
132+
);
133+
134+
// Old initialization function. Use "core_func_start_core_V2()" instead.
117135
void core_func_start_core (
118136
const uint16_t who_am_i,
119137
const uint8_t hwH,
@@ -165,6 +183,10 @@ uint16_t core_func_read_R_TIMESTAMP_MICRO(void);
165183
bool core_bool_is_visual_enabled(void);
166184
// Return "true" if the device is in Speed Mode.
167185
bool core_bool_speed_mode_is_in_use(void);
186+
// Return "true" if the device is in Active Mode.
187+
bool core_bool_device_is_active(void);
188+
// Return "true" if the device is synchronized.
189+
bool core_bool_device_is_synchronized(void);
168190

169191

170192

-178 KB
Binary file not shown.
193 KB
Binary file not shown.

0 commit comments

Comments
 (0)