kind of works for writing flash. IMPORTANT ISSUE - the memory usage output given by the linker for program size used DOES NOT equal the actual flash space used when programming. INVESTIGATE: did I set a memory space that doesn't lie on a page boundary? or do I just need to increase the flash space allocated to the bootloader
This commit is contained in:
@@ -22,16 +22,17 @@
|
||||
* @date 6 Aug 2019
|
||||
* @brief USB interface to 6-sensor DDR pads.
|
||||
*/
|
||||
const unsigned int VersionWord __at(0x1C16) = 0x0100;
|
||||
#pragma warning disable 1510
|
||||
|
||||
#include "usb.h"
|
||||
#include "padhal.h"
|
||||
#include "dancepad.h"
|
||||
|
||||
#ifdef LINK_FOR_BOOTLOADER
|
||||
//#ifdef LINK_FOR_BOOTLOADER
|
||||
// only define this if building fw to be used with the bootloader
|
||||
const unsigned int VersionWord __at(0x1416) = 0x0100;
|
||||
#endif
|
||||
|
||||
//#endif
|
||||
|
||||
void main(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user