aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/main.c
Commit message (Collapse)AuthorAgeFilesLines
* armcm_link: Rename CONFIG_FLASH_START to CONFIG_FLASH_APPLICATION_ADDRESSKevin O'Connor2022-12-141-1/+1
| | | | | | Rename the build symbol name for better clarity on what it represents. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Move bootloader_request() from usbserial.c to main.cKevin O'Connor2022-10-131-0/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_boot: Use armcm_main() instead of main() to start board codeKevin O'Connor2019-10-241-4/+6
| | | | | | | | | | The main() function has a special meaning to gcc and using it can result in different code generation. Use armcm_main() to avoid that. Also, invoke SystemInit() from the board specific armcm_main() code. This gives the board code more control over board initialization. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_boot: Export MCU definition from armcm_bootKevin O'Connor2019-09-181-4/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_reset: Add a new helper file defining command_reset()Kevin O'Connor2019-09-181-7/+0
| | | | | | Add a generic ARM Cortex-M implementation of the "reset" command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Update code to use armcm_boot mechanismKevin O'Connor2019-08-221-18/+1
| | | | | | | Replace the custom linker scripts with the src/generic/armcm_boot.c mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* command: Always pass a string to the DECL_CONSTANT() macroKevin O'Connor2019-03-171-1/+1
| | | | | | | | Make it clear that the name of the constant being defined is a string. When the value being defined is also a string, use a new DECL_CONSTANT_STR() macro. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Implement custom memory allocation functionsKevin O'Connor2019-03-011-0/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Move watchdog code to its own filesKevin O'Connor2019-02-151-31/+1
| | | | | | | Move the watchdog code from main.c to watchdog.c and samd51_watchdog.c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Initial support for SAMD51Kevin O'Connor2019-01-281-4/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* src: Rename source folders for atsam and atsamd architecturesFlorian Heilmann2019-01-121-0/+52
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>