Add "board" field and remove a few useless ones

This commit is contained in:
Raphael Coeffic
2021-12-31 10:53:09 +01:00
parent 703f14d153
commit d98a697aca
31 changed files with 72 additions and 33 deletions
@@ -28,6 +28,8 @@
// Use definitions from v220 conversions as long as nothing changes
namespace yaml_conv_220 {
bool w_board(void* user, uint8_t* data, uint32_t bitoffs, yaml_writer_func wf, void* opaque);
bool in_write_weight(const YamlNode* node, uint32_t val, yaml_writer_func wf, void* opaque);
bool output_source_1_param(const char* src_prefix, size_t src_len, uint32_t n,
@@ -135,6 +137,12 @@ static inline void check_yaml_funcs()
#endif
}
static bool w_board(void* user, uint8_t* data, uint32_t bitoffs,
yaml_writer_func wf, void* opaque)
{
return yaml_conv_220::w_board(user, data, bitoffs, wf, opaque);
}
#define GVAR_SMALL 128
static uint32_t in_read_weight(const YamlNode* node, const char* val, uint8_t val_len)