Commit Graph

237 Commits

Author SHA1 Message Date
Gregory Nutt
7e83501ce5 Fix typos from previous commit to fix button interrupts 2014-06-22 08:11:57 -06:00
Gregory Nutt
b013a0fa48 Several other interrupt button implementations had the same problem as did the sam4s-xplained 2014-06-15 12:55:48 -06:00
Gregory Nutt
9d78279173 Several other interrupt button implementations had the same problem as did the sam4s-xplained 2014-06-15 12:55:48 -06:00
Gregory Nutt
f3df5f2bb5 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
2dbaed4779 The alternate console device CONFIG_NSH_CONDEV must not be defined unconditionally. This causes errors when using Telnet sessions. This was solved by adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative console device name 2014-05-05 08:52:02 -06:00
Gregory Nutt
f924601fc1 The alternate console device CONFIG_NSH_CONDEV must not be defined unconditionally. This causes errors when using Telnet sessions. This was solved by adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative console device name 2014-05-05 08:52:02 -06:00
Gregory Nutt
51950d7850 Undefine IRQPRIO in all configurations it should not be set 2014-04-16 08:29:39 -06:00
Gregory Nutt
e21212f2b4 Undefine IRQPRIO in all configurations it should not be set 2014-04-16 08:29:39 -06:00
Gregory Nutt
ab5b37189b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
f8024cf409 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
0cefef9cb5 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
f12e37cae4 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
2ba8224cdc SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ in all board-related files 2014-03-23 15:48:10 -06:00
Gregory Nutt
70c8dcaa34 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ in all board-related files 2014-03-23 15:48:10 -06:00
Gregory Nutt
1c1e821b34 Backport SPI driver enhancements from SAMA5 to SAM3/4 2014-03-13 10:34:35 -06:00
Gregory Nutt
7e16cee6b5 Backport SPI driver enhancements from SAMA5 to SAM3/4 2014-03-13 10:34:35 -06:00
Gregory Nutt
ca25657f7e Refresh several defconfig files to (1) bring them up-to-date, and (2) to confirm that no bugs were introduced in recent massive Kconfig file changes 2014-03-06 16:02:18 -06:00
Gregory Nutt
bd8a0aec21 Refresh several defconfig files to (1) bring them up-to-date, and (2) to confirm that no bugs were introduced in recent massive Kconfig file changes 2014-03-06 16:02:18 -06:00
Gregory Nutt
7050b91155 Removed the CONFIG_NUTTX_NEWCONFIG setting from every defconfig file 2014-03-06 12:23:26 -06:00
Gregory Nutt
596bdc73df Removed the CONFIG_NUTTX_NEWCONFIG setting from every defconfig file 2014-03-06 12:23:26 -06:00
Gregory Nutt
58eed436e9 Removed almost all ostest configurations 2014-02-28 19:19:11 -06:00
Gregory Nutt
cbcabe3314 Removed almost all ostest configurations 2014-02-28 19:19:11 -06:00
Gregory Nutt
de80fe2e04 configs/*/defconfig: If CONFIG_NSH_LIBRARY is set, make sure that CONFIG_NSH_READLINE is also set or the configuration will use the CLE the next time it is reconfigured 2014-02-28 07:45:51 -06:00
Gregory Nutt
47ca6ef4d4 configs/*/defconfig: If CONFIG_NSH_LIBRARY is set, make sure that CONFIG_NSH_READLINE is also set or the configuration will use the CLE the next time it is reconfigured 2014-02-28 07:45:51 -06:00
Gregory Nutt
23ac55e302 Add configuration for the SAMD20 Xplained Pro board. Initial check a low-effor, unverified clone of thoe SAM4L Xplained Pro board configuration 2014-02-12 17:21:28 -06:00
Gregory Nutt
126fcbac7d Add configuration for the SAMD20 Xplained Pro board. Initial check a low-effor, unverified clone of thoe SAM4L Xplained Pro board configuration 2014-02-12 17:21:28 -06:00
Gregory Nutt
e82bec827b Fix typo cloned to many files: SAM32 vs SAM34 2014-02-12 13:00:24 -06:00
Gregory Nutt
6b4796fa5a Fix typo cloned to many files: SAM32 vs SAM34 2014-02-12 13:00:24 -06:00
Gregory Nutt
1d6c14e742 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
42a86a9cba rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
2f837ccd2a rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
f797601f19 Rename up_irqbutton() to board_button_irq() 2014-01-24 14:04:07 -06:00
Gregory Nutt
1d5b2d3d3e Rename up_irqbutton() to board_button_irq() 2014-01-24 14:04:07 -06:00
Gregory Nutt
f4d84ecd7e Rename up_buttons() to board_buttons() 2014-01-24 13:59:24 -06:00
Gregory Nutt
1ac245b9c6 Rename up_buttons() to board_buttons() 2014-01-24 13:59:24 -06:00
Gregory Nutt
e5bfdcf36c Rename up_buttoninit to board_button_intialize 2014-01-24 13:50:23 -06:00
Gregory Nutt
b0c0df84f6 Rename up_buttoninit to board_button_intialize 2014-01-24 13:50:23 -06:00
Gregory Nutt
efbf03ad76 The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
f3f5378acc The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
91052a1029 Finishes separation of debug symbols and optimization selections 2013-12-20 13:23:42 -06:00
Gregory Nutt
cbf86ac01f Finishes separation of debug symbols and optimization selections 2013-12-20 13:23:42 -06:00
Gregory Nutt
4e3c5d61e3 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
417f67c132 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
33e3bbefd5 Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
b3ecd158ac Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
024cb72187 Move apps/examples/usbmsc to apps/system/usbmsc 2013-09-25 16:54:39 -06:00
Gregory Nutt
0b450bc202 Move apps/examples/usbmsc to apps/system/usbmsc 2013-09-25 16:54:39 -06:00
Gregory Nutt
efded598fd Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
70f0ffdfc5 Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
381c8c2509 Basic framework to support the AT91SAMA5D3 family and the SAMA5D3x-EK board(s) in particular 2013-07-19 15:23:03 -06:00
Gregory Nutt
4a81d47c86 Basic framework to support the AT91SAMA5D3 family and the SAMA5D3x-EK board(s) in particular 2013-07-19 15:23:03 -06:00
Gregory Nutt
5f066efd2d Add a general bit-bang SPI lower-half driver and implement the bit-bang driver for the Arduino ITEAD TFT shield 2013-07-01 16:50:16 -06:00
Gregory Nutt
e1dab23711 Add a general bit-bang SPI lower-half driver and implement the bit-bang driver for the Arduino ITEAD TFT shield 2013-07-01 16:50:16 -06:00
Gregory Nutt
17810f3e6f Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
09faaccc02 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
7387a6feef Flesh out the Arduino Due board configuratino and integrate it with the build and configuration system 2013-06-27 14:24:27 -06:00
Gregory Nutt
e0310e2cc8 Flesh out the Arduino Due board configuratino and integrate it with the build and configuration system 2013-06-27 14:24:27 -06:00
Gregory Nutt
288adb2f5a Add peripheral configuration logic for the SAM3X/3A; Change all references to SAM3/4 SPI to SPI0 for compatibity with the SAM3X/3A which has SPI0 and SPI1; Add directory which will eventually holdl an Arduino Due port 2013-06-26 18:46:44 -06:00
Gregory Nutt
bc7ac20616 Add peripheral configuration logic for the SAM3X/3A; Change all references to SAM3/4 SPI to SPI0 for compatibity with the SAM3X/3A which has SPI0 and SPI1; Add directory which will eventually holdl an Arduino Due port 2013-06-26 18:46:44 -06:00
Gregory Nutt
179bae1aee Add support for a separate CCM memory allocator for members of the STM32 family that support CCM memory 2013-06-25 09:13:30 -06:00
Gregory Nutt
3d1f29217e Add support for a separate CCM memory allocator for members of the STM32 family that support CCM memory 2013-06-25 09:13:30 -06:00
Gregory Nutt
841f149a3d Fix UG-2832HSWEG04 landscape. Add reverse landscape support to UG_2864AMBAG01 and UG-9964HSWAG01. Fixe NXHELLO default colors for 1-bit mono modes 2013-06-24 12:37:02 -06:00
Gregory Nutt
3d975e0a08 Fix UG-2832HSWEG04 landscape. Add reverse landscape support to UG_2864AMBAG01 and UG-9964HSWAG01. Fixe NXHELLO default colors for 1-bit mono modes 2013-06-24 12:37:02 -06:00
Gregory Nutt
c807bef4cc Fix UG-2832HSWEG04 configuration values 2013-06-23 15:17:22 -06:00
Gregory Nutt
d971650440 Fix UG-2832HSWEG04 configuration values 2013-06-23 15:17:22 -06:00
Gregory Nutt
581e409c37 Add support for the UG-2843HHSWEG04 OLED and for the SAM4L Xplained Pro OLED module that uses that OLED. 2013-06-23 14:39:56 -06:00
Gregory Nutt
d11050e978 Add support for the UG-2843HHSWEG04 OLED and for the SAM4L Xplained Pro OLED module that uses that OLED. 2013-06-23 14:39:56 -06:00
Gregory Nutt
d235cf8b8a SAM4L Xplained SLCD driver is complete 2013-06-23 09:05:20 -06:00
Gregory Nutt
8959fffedc SAM4L Xplained SLCD driver is complete 2013-06-23 09:05:20 -06:00
Gregory Nutt
ba516dcc32 Beginning debug of SAM4L Xplained SLCD 2013-06-22 17:01:44 -06:00
Gregory Nutt
b41c96e1f8 Beginning debug of SAM4L Xplained SLCD 2013-06-22 17:01:44 -06:00
Gregory Nutt
d2a3bb145b The SAM4L Xplained Pro SLCD driver is code complete but untested 2013-06-22 10:39:25 -06:00
Gregory Nutt
7b716cf8f5 The SAM4L Xplained Pro SLCD driver is code complete but untested 2013-06-22 10:39:25 -06:00
Gregory Nutt
679cb1cda2 Beginning of a driver for the SAM4L LED1 module 2013-06-21 17:42:09 -06:00
Gregory Nutt
5152ce9f79 Beginning of a driver for the SAM4L LED1 module 2013-06-21 17:42:09 -06:00
Gregory Nutt
e474546f27 Straighten out issues about who calls C++ initializers with CXXTEST or HELLOXX are built as NSH applications; Add an ofstream test to CXXTEST suggested by Michael; Update many defconfig fiels to that they set configurations to handle C++ constructors just as before these configuration changes 2013-06-21 09:32:57 -06:00
Gregory Nutt
add0a67995 Straighten out issues about who calls C++ initializers with CXXTEST or HELLOXX are built as NSH applications; Add an ofstream test to CXXTEST suggested by Michael; Update many defconfig fiels to that they set configurations to handle C++ constructors just as before these configuration changes 2013-06-21 09:32:57 -06:00
Gregory Nutt
35840871b4 Fix test of NULL pointer in the SAM3/4 SPI driver 2013-06-18 12:16:52 -06:00
Gregory Nutt
69fc11bb71 Fix test of NULL pointer in the SAM3/4 SPI driver 2013-06-18 12:16:52 -06:00
Gregory Nutt
a2db1035dc SAM3/4 SPI phase control (CPHA) is inverted 2013-06-18 09:29:55 -06:00
Gregory Nutt
39dcedb0f1 SAM3/4 SPI phase control (CPHA) is inverted 2013-06-18 09:29:55 -06:00
Gregory Nutt
7a9d4058f5 MMC/SD driver needs to manage SPI mode and data width as well 2013-06-17 12:31:24 -06:00
Gregory Nutt
b9ad057972 MMC/SD driver needs to manage SPI mode and data width as well 2013-06-17 12:31:24 -06:00
Gregory Nutt
28a7c22757 Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver 2013-06-16 10:09:21 -06:00
Gregory Nutt
c7fd7a4e27 Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver 2013-06-16 10:09:21 -06:00
Gregory Nutt
6f24ea780b SAM MMCSD/SPI related changes 2013-06-15 17:00:52 -06:00
Gregory Nutt
dd2983e26a SAM MMCSD/SPI related changes 2013-06-15 17:00:52 -06:00
Gregory Nutt
948c4bb06d Oops.. files that I forgot to add in the last commit 2013-06-15 10:56:42 -06:00
Gregory Nutt
0b6e12e853 Oops.. files that I forgot to add in the last commit 2013-06-15 10:56:42 -06:00
Gregory Nutt
0112ad14ba Add support for the SAM4L Xplained Pro I/O1 module 2013-06-15 10:56:08 -06:00
Gregory Nutt
44fe999aea Add support for the SAM4L Xplained Pro I/O1 module 2013-06-15 10:56:08 -06:00
Gregory Nutt
30ecf0ca43 Fixes for SAM4S and 4L due to recent changes to SAM3S; Updated README files 2013-06-14 08:54:24 -06:00
Gregory Nutt
b1afe69591 Fixes for SAM4S and 4L due to recent changes to SAM3S; Updated README files 2013-06-14 08:54:24 -06:00
Gregory Nutt
b40def3027 Add support for a generic windows-based EABI toolchain; Add NX configuration to force default NXTK border colors 2013-06-13 11:04:18 -06:00
Gregory Nutt
1f056e3826 Add support for a generic windows-based EABI toolchain; Add NX configuration to force default NXTK border colors 2013-06-13 11:04:18 -06:00
Gregory Nutt
9ab85d01ef Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup 2013-06-12 17:32:00 -06:00
Gregory Nutt
83ecc03d17 Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup 2013-06-12 17:32:00 -06:00
Gregory Nutt
ca16404e3d Calibrate SAM4L Xplained Pro timing loop 2013-06-11 18:32:23 -06:00
Gregory Nutt
1a4c704efd Calibrate SAM4L Xplained Pro timing loop 2013-06-11 18:32:23 -06:00
Gregory Nutt
a40b739260 Add configs/sam4s-xplained 2013-06-11 16:29:59 -06:00
Gregory Nutt
94a2776337 Add configs/sam4s-xplained 2013-06-11 16:29:59 -06:00
Gregory Nutt
5e192c767b SAM4S: GPIO, chip characteristics, peripheral Kconfig 2013-06-11 12:28:31 -06:00
Gregory Nutt
ce8b9c0d3c SAM4S: GPIO, chip characteristics, peripheral Kconfig 2013-06-11 12:28:31 -06:00
Gregory Nutt
8aee2ce8c9 Add a directory to hold configurations for the SAM4S Xplained board 2013-06-10 18:20:30 -06:00
Gregory Nutt
da0526f0bd Add a directory to hold configurations for the SAM4S Xplained board 2013-06-10 18:20:30 -06:00
Gregory Nutt
b75e99a688 SAM4L: Extend interrupt support for the larger number of NVIC interrupts of the SAM4L 2013-06-09 13:00:38 -06:00
Gregory Nutt
3938eeeb96 SAM4L: Extend interrupt support for the larger number of NVIC interrupts of the SAM4L 2013-06-09 13:00:38 -06:00
Gregory Nutt
2896bc7c99 SAM4L: Add an NSH configuration and C++ support 2013-06-09 11:43:20 -06:00
Gregory Nutt
3eefc08c12 SAM4L: Add an NSH configuration and C++ support 2013-06-09 11:43:20 -06:00
Gregory Nutt
d9dffb2c2b SAM4L: Mic fixes to get the SAM4L Xplained running. The ostest now passes. 2013-06-09 10:57:42 -06:00
Gregory Nutt
b24d51c3c7 SAM4L: Mic fixes to get the SAM4L Xplained running. The ostest now passes. 2013-06-09 10:57:42 -06:00
Gregory Nutt
b318c5b6a5 SAM3U/4L changes to hide differences by clocking in those MCUs 2013-06-08 13:50:42 -06:00
Gregory Nutt
cc8906e701 SAM3U/4L changes to hide differences by clocking in those MCUs 2013-06-08 13:50:42 -06:00
Gregory Nutt
f6ad8ffbba SM4L: USB clock configuration and WDT register definition file 2013-06-08 09:21:20 -06:00
Gregory Nutt
fe868bc8b2 SM4L: USB clock configuration and WDT register definition file 2013-06-08 09:21:20 -06:00
Gregory Nutt
63c8b4353e SAM4L: Add logic to enable selected peripherals on power up; Extend configuration so that each peripheral can be selected -- even though the drivers are not yet implemented 2013-06-07 14:59:33 -06:00
Gregory Nutt
11f81d3bfa SAM4L: Add logic to enable selected peripherals on power up; Extend configuration so that each peripheral can be selected -- even though the drivers are not yet implemented 2013-06-07 14:59:33 -06:00
Gregory Nutt
6ca2782d99 SAM4L: Add DFLL0 support, add logic to set the power scaling mode, add support for RAM functions 2013-06-07 13:26:55 -06:00
Gregory Nutt
7207be4f84 SAM4L: Add DFLL0 support, add logic to set the power scaling mode, add support for RAM functions 2013-06-07 13:26:55 -06:00
Gregory Nutt
5446f496df Update SAM4L PLL0 logic 2013-06-07 10:28:06 -06:00
Gregory Nutt
5052df2e69 Update SAM4L PLL0 logic 2013-06-07 10:28:06 -06:00
Gregory Nutt
4c11c6905a Add register definitions for SAM4L BPM and SCIF blocks; SAM4L clock initialization now selects an optimal power scaling mode 2013-06-06 11:18:52 -06:00
Gregory Nutt
e352d4f3ad Add register definitions for SAM4L BPM and SCIF blocks; SAM4L clock initialization now selects an optimal power scaling mode 2013-06-06 11:18:52 -06:00
Gregory Nutt
6998718a43 Add SAM4L FLASHCALW header file 2013-06-05 10:43:33 -06:00
Gregory Nutt
82d37c755b Add SAM4L FLASHCALW header file 2013-06-05 10:43:33 -06:00
Gregory Nutt
491e1ce238 SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor documentation updates 2013-06-05 08:54:37 -06:00
Gregory Nutt
efce99ba6f SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor documentation updates 2013-06-05 08:54:37 -06:00
Gregory Nutt
462e3ecae7 Add configs/sam4l-xplained/src/up_userleds.c 2013-06-04 16:35:43 -06:00
Gregory Nutt
52ce4f84ff Add configs/sam4l-xplained/src/up_userleds.c 2013-06-04 16:35:43 -06:00
Gregory Nutt
f24946fecd More changes that should have gone with the last commit 2013-06-04 15:23:47 -06:00
Gregory Nutt
5cdcdaf0bd More changes that should have gone with the last commit 2013-06-04 15:23:47 -06:00
Gregory Nutt
0cb54ca565 SAM4L alternate pin mapping header file; Use USART1 for virtual COM port console 2013-06-03 17:53:05 -06:00
Gregory Nutt
29de68525d SAM4L alternate pin mapping header file; Use USART1 for virtual COM port console 2013-06-03 17:53:05 -06:00
Gregory Nutt
936c435d2e Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board 2013-06-03 15:11:56 -06:00
Gregory Nutt
a732e03139 Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board 2013-06-03 15:11:56 -06:00