Commit 888fd0c4 authored by 张明扬's avatar 张明扬 🇨🇳

feat:修改Option Byte存储地址

parent 97dde740
......@@ -25,6 +25,7 @@
#include <stdint.h>
#include "BAT32G139.h"
#include "userdefine.h"
/*----------------------------------------------------------------------------
......@@ -64,7 +65,11 @@ typedef enum {
following is an example for different system frequencies */
//-------- <<< Use Configuration Wizard in Context Menu >>> ------------------
#if HAS_BOOTLOADER
const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".ARM.__AT_0x000080C0"))) =
#else
const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".ARM.__AT_0x000000C0"))) =
#endif
{
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment