Skip to content

Commit

Permalink
Merge pull request #227 from MikroElektronika/update/same7-floating-p…
Browse files Browse the repository at this point in the history
…oin-init

Added WDT disabling option
  • Loading branch information
StrahinjaJacimovic authored Dec 20, 2024
2 parents 0063fe9 + 6c3c4b5 commit 159754d
Show file tree
Hide file tree
Showing 66 changed files with 198 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70j19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70j19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70j20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70j20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70j21.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70j21b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70n19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70n19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70n20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70n20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70n21.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70n21b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70q19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70q19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70q20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70q20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70q21.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_e70/system_same70q21b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70j19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70j19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70j20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70j20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70j21.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70j21b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70n19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70n19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70n20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70n20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70n21.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70n21b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70q19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70q19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70q20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70q20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70q21.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_s70/system_sams70q21b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_v70/system_samv70j19.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_v70/system_samv70j19b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_v70/system_samv70j20.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ void SystemInit(void)
_pmc_init_program_clock();
_pmc_init_usb_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
3 changes: 3 additions & 0 deletions ARM/gcc_clang/system/src/sam/atsam_v70/system_samv70j20b.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void SystemInit(void)
_pmc_init_usb_clock();
_pmc_init_generic_clock();

// Disable Watchdog Timer
WDT->WDT_MR = WDT_MR_WDDIS;

// Enable Floating Point unit
SCB->CPACR |= ((3UL << 20) | (3UL << 22));

Expand Down
Loading

0 comments on commit 159754d

Please sign in to comment.