aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib: No need to make lpc176x SystemInit() externally visibleKevin O'Connor2019-09-063-13/+3
| | | | | | | Now that the lpc176x code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: It is no longer necessary to modify the stm32f1 codeKevin O'Connor2019-09-063-16/+2
| | | | | | | Now that the stm32f1 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: It is no longer necessary to modify the stm32f4 codeKevin O'Connor2019-09-063-16/+2
| | | | | | | Now that the stm32f4 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove now unused ARM Cortex-M linker scripts and boot assemblyKevin O'Connor2019-09-06152-29899/+6
| | | | | | | Remove the unused files for those boards converted to use the armcm_boot mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove unused stm32f1 "hal" codeKevin O'Connor2019-08-05131-140936/+1
| | | | | | | Now that the stm32f1 code has been merged into the stm32 code, there is no longer a need to use the upstream stm32f1 "hal" code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f4 code to support gcc -fwhole-programKevin O'Connor2019-07-253-2/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add stm32f4 cmsis filesKevin O'Connor2019-07-2550-0/+335323
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f1 code to version 1.8.0Kevin O'Connor2019-07-21194-83670/+90750
| | | | | | | | | Update the stm32f1 code to the latest from ST. Merge the lib/cmsis-stm32f1/ and lib/hal-stm32f1/ into a single lib/stm32f1/ directory. Document all the differences from the pristine upstream code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add stm32f0 hal and cmsis filesKevin O'Connor2019-03-24161-0/+258859
| | | | | Signed-off-by: Eugene Krashtan <Eugene.Krashtan@opensynergy.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add cmsis-core/core_cm0.h headerKevin O'Connor2019-03-241-0/+888
| | | | | | Add cmsis-core cm0 header support in preparation for stm32f0. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove samd21/samd51 customizations that are no longer necessaryKevin O'Connor2019-03-018-77/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update samd51 to work with gcc and bootloadersKevin O'Connor2019-01-287-6/+76
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAMD51 cmsis filesKevin O'Connor2019-01-28136-0/+64996
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Fix sam4e.patch name in READMEKevin O'Connor2019-01-071-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update sam4s code so that it works with gcc's -flto featureKevin O'Connor2019-01-073-2/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add sam4s cmsis headersKevin O'Connor2019-01-07131-0/+26511
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Rename lib/cmsis-sam4e/ to lib/sam4e/Kevin O'Connor2019-01-0794-13/+14
| | | | | | This is in preparation for merging the sam3 and sam4 code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove sam4e sam.h and component-version.h filesKevin O'Connor2019-01-072-132/+0
| | | | | | | | These two files from atmel have different licenses than the other files. Neither files provide any real value, so just remove them to avoid any confusion. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f1: Use the main lib/cmsis-core directory for cmsis includesKevin O'Connor2018-10-114-3310/+0
| | | | | | Use the main cmsis header files with stm32f1. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove pjrc_usb_serialKevin O'Connor2018-09-304-1187/+1
| | | | | | The pjrc_usb_serial is no longer used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add bossac 1.9 code to lib directoryKevin O'Connor2018-08-2736-0/+6287
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sam4e8e: Add the SAM4e8e portFlorian Heilmann2018-08-084-4/+73
| | | | | | | | This can be flashed to e.g. the duet wifi using bossac. It requires a later version as is currently included in the klipper repo (1.8 vs. 1.2). Comms are currently via UART0 only, USB serial is still TBD Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* lib: Add SAM4E CMSIS HALFlorian Heilmann2018-08-0894-0/+18476
| | | | | | Obtained from Atmel.SAM4E_DFP.1.1.57.atpack Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* lib: Update samd21 code with local changesKevin O'Connor2018-08-074-3/+31
| | | | | | | A minor change is necessary to work with GCC's -flto and to work with common bootloaders. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAMD21 cmsis headersKevin O'Connor2018-08-06121-0/+44580
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Use common cmsis-core filesKevin O'Connor2018-08-066-4447/+4
| | | | | | | No need to include separate cmsis files from the mbed project - the standard CMSIS_5 files work fine. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove the (now unused) cmsis-sam3x8e directoryKevin O'Connor2018-08-06120-24835/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Modify SAM3X CMSIS files to work with GCC's lto featureKevin O'Connor2018-08-063-2/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAM3X CMSIS filesKevin O'Connor2018-08-0699-0/+20245
| | | | | | Add most recent SAM3X CMSIS files from Atmel. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add CMSIS_5 filesKevin O'Connor2018-08-068-0/+7669
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Add initial support for LPC176x processorsKevin O'Connor2018-05-2512-0/+6573
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Add STM32F103 portGrigori Goronzy2018-04-09164-0/+266623
| | | | | | | | | | | | Add a fully functional STM32F1 port, currently mostly targeting STM32F103 microcontrollers. This requires an 8 MHz XTAL. The maximum possible step rate is around 282K steps per second. This uses stm32flash to burn the firmware. The bootloader needs to be started by setting BOOT0 to 1 and resetting the MCU. There is no automatic bootloader, unlike on Arduino. Signed-off-by: Grigori Goronzy <greg@kinoho.net>
* sched: Introduce sched_wake_tasks() function to wake up tasksKevin O'Connor2017-08-083-6/+49
| | | | | | | | Add function to indicate when tasks need to be run. This will allow the scheduler code to know if there are any tasks that need to be processed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Add initial pru_rpmsg library code for Beaglebone PRUKevin O'Connor2017-05-1520-3/+4163
| | | | | | Add external code for using RPMsg on the Beaglebone PRU. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hub-ctrl: Add support for micro-controller reset via RPi usb power togglingKevin O'Connor2017-04-132-0/+416
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAM3x8e ARM CMSIS filesKevin O'Connor2016-06-14120-2/+24838
| | | | | | | Add the ARM CMSIS definitions (obtained from an Arduino copy of libsam) in preparation for Arduino Due support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Initial support for Atmel AT90USB1286 mcuKevin O'Connor2016-06-054-0/+1144
Add GPIO definitions for the AT90USB1286. Add code for communicating over USB port on AT90USB1286. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>