-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflash.h
More file actions
18 lines (17 loc) · 917 Bytes
/
flash.h
File metadata and controls
18 lines (17 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Step10V - STEP/DIR to analog amplifier CNC regulator
// Copyright (C) 2018-2019 Charles-Henri Mousset - ch.mousset@gmail.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3 of the License
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
extern void flash_erase_page(uint32_t *address);
extern bool flash_write(void * dest, void *source, int size);
extern bool load_settings(cfg_t *cfg);
extern bool save_settings(cfg_t *cfg);