Skip to content

Commit

Permalink
update initialization sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Feb 19, 2022
1 parent c840292 commit 97ca26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project/mdk/startup_RP2040.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ __attribute__((aligned(256)))
Reset Handler called on controller reset
*----------------------------------------------------------------------------*/

__attribute__((constructor(255), used))
__attribute__((constructor(101), used))
void __pico_entry(void)
{
extern void runtime_init(void);
Expand Down
6 changes: 3 additions & 3 deletions project/mdk/template.uvoptx
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@

<Group>
<GroupName>Pico-SDK</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
Expand Down Expand Up @@ -1256,7 +1256,7 @@

<Group>
<GroupName>platform</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
Expand Down Expand Up @@ -1360,7 +1360,7 @@

<Group>
<GroupName>::Utilities</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>1</RteFlg>
Expand Down

0 comments on commit 97ca26d

Please sign in to comment.