Commit Graph

9797 Commits

Author SHA1 Message Date
Jussi Kivilinna
4dfb8268f3 stm32f7: stm32_allocateheap: allow use DTCM memory for heap
STM32F7 has up to 128KiB of DTCM memory that is currently left unused.

This patch adds DTCM to main heap if CONFIG_STM32F7_DTCMEXCLUDE is not enabled.
2017-02-20 08:42:51 -06:00
Gregory Nutt
0fc226dd53 Changes from review of last PR 2017-02-19 14:58:37 -06:00
Marc Rechté
1838171d43 Add twr-k64f120m config and fix some ENET related problems 2017-02-19 21:20:56 +01:00
Gregory Nutt
6e32d74b33 Cosmetic changes from review of the last PR 2017-02-19 11:49:42 -06:00
raiden00
d45b731fbd config/stm32f429i-disco: add support for the L3GD20 driver 2017-02-19 17:43:54 +01:00
Gregory Nutt
085616d651 STM32L4: Bring power management logic from Motrola MDK into NuttX 2017-02-18 10:18:42 -06:00
Gregory Nutt
6fe94b5724 Trivial cosmetic, alignement changes. 2017-02-17 17:50:56 -06:00
David Sidrane
7bb55330f2 Kinetis refreshed freedom-k64f netnsh config 2017-02-15 13:42:36 -10:00
David Sidrane
40c4e1c94d Kinetis refreshed freedom-k66f nsh config 2017-02-15 13:42:36 -10:00
David Sidrane
ec9fda4c8c Kinetis:Freedom-K66F uses ENET_1588_CLKIN as RMII clock 2017-02-15 13:42:36 -10:00
David Sidrane
acc8c4bf28 Kinetis: Define FTM3 Pins 2017-02-15 13:42:36 -10:00
Gregory Nutt
077adf863e Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-02-14 19:31:58 -06:00
Alan Carvalho de Assis
1b996f1c7c Add usbnsh config to Bambino 200E board 2017-02-14 19:31:39 -06:00
David Sidrane
81345c9d42 Kinetis: Updated Freedom-K66F Readme 2017-02-14 09:15:42 -10:00
David Sidrane
3fb6064efe Kinteis: Freedom-K66F refreshed config
Update Console to match README.txt
2017-02-14 09:15:42 -10:00
David Sidrane
82e93bb3f0 Kinetis: Map Freedom-K66F Ethernet pins 2017-02-14 09:15:23 -10:00
David Sidrane
f56e0a43a4 Inital commit of NXP Freedom-k66f development board 2017-02-13 14:35:51 -10:00
David Sidrane
3840c802d1 Kinetis SPI and I2C are 0 based
The K whole family line has max 4 or each. But the supported
  parts have the maximums listed below:

    K46 and K66    3 SPI SPI0-SPI2
    K46 and K66    4 I2C I2C0-I2C3
2017-02-13 13:24:47 -10:00
David Sidrane
067b51f5f1 freedom-64H Disable unsuported CONFIG_SDIO_BLOCKSETUP 2017-02-13 13:24:47 -10:00
David Sidrane
1cdac1e8e6 Fixed typos in k64f README.txt 2017-02-13 13:24:47 -10:00
Gregory Nutt
de1b68dc4e libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory. 2017-02-10 09:32:55 -06:00
Alan Carvalho de Assis
e6e72bda02 Bambino-200E: Use .elf extension on all executables. 2017-02-09 11:37:52 -06:00
Gregory Nutt
1d290c2b37 setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
Alan Carvalho de Assis
ea53894e51 Bamboo-200E: Add netnsh configuration 2017-02-08 12:55:40 -06:00
Gregory Nutt
e803e2c3f4 Costmetic changes from review of last PR. 2017-02-07 17:16:56 -06:00
David Sidrane
a065b087fd Added MCG settings that are defiend on the K64 Soc
Added BOARD_MCG_C2_FCFTRIM and BOARD_MCG_C2_LOCRE0 to
  configure the MCG_C2 register
  cleanup of some comments
2017-02-07 12:38:28 -10:00
David Sidrane
bbd9bf4180 Fixes illdefined BOARD_FR_DIV with BOARD_FRDIV from MCG
Original BOARD_FR_DIV was never used - that is a good thing because
  the value ws definec shifted and the code also shifited it.
2017-02-07 12:38:28 -10:00
Gregory Nutt
62a1f6f110 up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list. 2017-02-07 10:35:04 -06:00
Gregory Nutt
b77c863d7f STM32F429i-DISCO: Refresh configurations 2017-01-31 17:13:15 -06:00
Gregory Nutt
3898fc0a16 STM32F429-DISCO: Move some board initialization logic that is not usuable because it lacks the configuration options to make it so 2017-01-31 17:06:54 -06:00
Gregory Nutt
1c66c06315 STM32F7 SDMMC: Make sure that all SDMMC configuration variables begin with STM32F7_; Eliminate CONFIG_SDMMC1/2_DMA altogether. Does not appear to be used. 2017-01-31 14:27:50 -06:00
Gregory Nutt
97482c9cdc STM32F103-Minimum: Fix a compile error. CONFIG_STM32_TICKLESS_ONESHOT_TIMER is only defined in TICKLESS mode. Somebody has been hand editing .config files. 2017-01-31 12:35:05 -06:00
Gregory Nutt
3dbdb3bb31 CONFIG_SDIO_DMA: Was been defined in several low-level architecute Kconfig files, but used at the highest levels in the code. Both are bad and both are fixed with this commit 2017-01-31 11:52:00 -06:00
Gregory Nutt
9ac00a355f Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots. 2017-01-31 09:16:01 -06:00
Gregory Nutt
4c39b68505 SAME70-Xplained: Clone some recent SAMV71-XULT changes 2017-01-30 14:10:22 -06:00
Gregory Nutt
8ab77c55cd SAMv71-XULT: Fixes to knsh configuration. Still does not work properly. 2017-01-30 12:49:07 -06:00
Gregory Nutt
eeeb0ad112 Refresh all SAM v7 configurations 2017-01-30 11:24:32 -06:00
Gregory Nutt
d56d16595a New apps/examples/module and sotest configuration options 2017-01-30 08:42:31 -06:00
Gregory Nutt
86bdd0a4c7 Modules: Move last of many C files from sched/module to libc/modlib 2017-01-29 11:54:54 -06:00
Gregory Nutt
00e46b5966 Move gnu-elf.ld from sched/module to libc/modlib. Update paths in Make.defs files to account for new location of file 2017-01-29 09:03:01 -06:00
Gregory Nutt
2717e781f0 libc/modlib: Add build a configuration logic for a shared module library. 2017-01-29 08:55:27 -06:00
Gregory Nutt
a2150c1e35 Olimex STM32 P407: Add support for on-board microSD slot. Does not work... Currently all commands to the SD card timeout. 2017-01-28 10:17:10 -06:00
Gregory Nutt
f858027d56 Configurations that enable OSTEST must not disable signals. 2017-01-24 09:26:11 -06:00
Gregory Nutt
ec755a4091 SYSCALLS: Correct a bad function prototype generated in PROTECTED mode with kernel modules enabled. 2017-01-23 14:04:32 -06:00
Gregory Nutt
6f5a9eb451 Olimex-stm32-p407: Add a NSH protected build configuration; Enable procfs/ in all configurations. 2017-01-23 10:38:54 -06:00
Gregory Nutt
f6504be6ef Update README 2017-01-22 18:09:34 -06:00
Gregory Nutt
1b9f2795f6 Olimex STM32 p407: Add module build flags to NSH Make.defs 2017-01-22 15:08:42 -06:00
Gregory Nutt
edd9186540 ELF: Move ARMv7-A and ARMv7-R versions of ELF relocation logic to libc/machine 2017-01-21 14:40:26 -06:00
Gregory Nutt
3c4684ef5f Eliminate CONFIG_ARCH_OPTIMIZED_FUNCTIONS. Move options to select architectur-specific C library options from libc/Kconfig to libc/machine/Kconfig and rename. 2017-01-20 09:30:07 -06:00
Neil Hancock
2ece27f435 Kinetis: Add support for K64/K66 RTC lower half driver 2017-01-17 15:34:44 -06:00
Alan Carvalho de Assis
7fc25c0e7f STM32F103 Minimum: Add support for nRF24 on STM32F103-Minimum board 2017-01-15 12:46:22 -06:00
Gregory Nutt
3deb8eda59 Update README file, comments. 2017-01-08 18:10:56 -06:00
Gregory Nutt
3b1b112153 Fix a few coding standard issues. 2017-01-08 16:29:10 -06:00
Gregory Nutt
b553704334 Update README; Remove comment blocks before empty sections. 2017-01-08 14:01:16 -06:00
Gregory Nutt
f3ae51592c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
Gregory Nutt
4216c4b777 NxWM configurations. If using a 7-bit character set, then the cursor character cannot be 137 (graphic block). Use 95 (underscore) instead. 2017-01-08 09:21:37 -06:00
Gregory Nutt
7035d232f8 NX server: Correct message queue names. Should not be at /dev, but rather relative to /var/mqueue. 2017-01-08 09:14:11 -06:00
Gregory Nutt
e1d9bb2ef2 Refresh all NX multi-user configurations 2017-01-08 08:06:18 -06:00
Gregory Nutt
30f1652b10 STM32F428i-DISCO: Change NxWM cursor character from 137 (graphics block) to 95 (underscore). NxWM is configured to use a 7-bit character set so 137 is not a valid character code. 2017-01-07 18:06:24 -06:00
Gregory Nutt
4d93c510bc STM32F429i-DISCO: Enable keyboard input in nxwm configuration. 2017-01-07 17:53:39 -06:00
Gregory Nutt
7a1cbdd13a Update README; increase stack sizes in STM32F429i-DISCO nxwm configuration (does not help) 2017-01-07 17:28:54 -06:00
Gregory Nutt
bc595aeec8 Update TODO list and a README file. 2017-01-07 14:00:39 -06:00
Gregory Nutt
1c182a0e0b Update README 2017-01-07 11:05:12 -06:00
Gregory Nutt
726ad7640e Update README 2017-01-07 10:51:17 -06:00
Gregory Nutt
e568253eb3 Update README, some comments, and fix some spacing. 2017-01-07 10:36:18 -06:00
Alan Carvalho de Assis
530ec2e967 STM32F429i Discovery: Add support for NxWM on STM32F429i-Disco board 2017-01-07 08:17:44 -06:00
Gregory Nutt
db5789d30d STM3210E-EVAL: Refresh all configurations 2017-01-06 12:12:08 -06:00
Gregory Nutt
725ba1602a Font cache: misc fixes and improvements 2017-01-06 11:06:50 -06:00
Gregory Nutt
96394f339e SMP: Fix a gap where we may try to make modifications to the task lists without being in a critical sections. That permits concurrent access to the tasks lists and many subtle problems. This fix just remains in the critical section throughout the operation (and possible until the task is restore in the event of a context switch). Makes a big difference in stability 2016-12-28 13:58:24 -06:00
Gregory Nutt
675d684a41 i.MX6 SMP/NSH configuration: Enable examples/smp test 2016-12-27 08:46:28 -06:00
Gregory Nutt
c5bb717976 Update README 2016-12-24 10:25:54 -06:00
Gregory Nutt
4f4242ef27 Xtensa ESP32: Update some stack sizes 2016-12-24 08:55:24 -06:00
Gregory Nutt
714e6f80ca Xtensa ESP32: Corrects a problem with dispatching to signal handlers: Cannot vector directly to the signal handling function as in other ABIs under the Xtensa Window ABI. In that case, we need to go through a tiny hook when performs the correct window call (call4) otherwise registers will be scrambled in the signal handler 2016-12-22 11:19:38 -06:00
Gregory Nutt
d9a64b9ca9 Xtensa ESP32: Some fixes from integration of ostest configuration. Almost works: There are some assertions in xtensa_sigdeliver() 2016-12-22 09:34:39 -06:00
Gregory Nutt
2b5235e937 Xtensa ESP32: Add an OS test to verify the port. 2016-12-22 08:20:05 -06:00
Gregory Nutt
c1e2606526 Olimex STM32 P407: Has only 128KiB of contiguous RAM. Exclude CCM memory for now. 2016-12-21 12:49:03 -06:00
Gregory Nutt
81c1466d93 Olimex STM32 P407: Hmmm.. board does not boot. Simplifying the configuration does not help. 2016-12-21 11:38:45 -06:00
Gregory Nutt
f8f2c00415 Olimex STM32 P407: Update clocking using STM3250G; Verify GPIOs. 2016-12-21 10:45:36 -06:00
Gregory Nutt
41eda13c9f Olimex STM32-P407: Add an stm32_bringup.c file like most newer configurations. 2016-12-20 18:05:28 -06:00
Gregory Nutt
764b9f46cc Olimex STM32-P407: Initial clone from Olimex STM32-P207 2016-12-20 17:49:46 -06:00
Geoffrey
89c33e9799 Xtensa ESP32: Clock frequency is different if running from IRAM or is booting from FLASH. This is a booltloader issue. 2016-12-20 16:14:38 -06:00
Gregory Nutt
59c5ae3eae Refresh some configurations 2016-12-20 15:42:31 -06:00
Gregory Nutt
404925d93e Update README 2016-12-20 10:03:48 -06:00
Gregory Nutt
4e9a0ffea5 Xtensa ESP32: Update APP CPU startup logic to match current Expressif example code. 2016-12-20 09:00:04 -06:00
Gregory Nutt
e61549d8b9 Xtensa ESP32: Clean-up and fixes from last commits 2016-12-19 13:57:37 -06:00
Gregory Nutt
097f09cb02 Xtensa ESP32: Corrects timer initialization and timer input frequency. 2016-12-19 11:50:28 -06:00
Gregory Nutt
886ce88b4f Xtensa ESP32: Automatically mount /proc at start-up. 2016-12-19 09:43:16 -06:00
Gregory Nutt
b47255a6de Update README. 2016-12-18 17:30:30 -06:00
Gregory Nutt
10b9a10d2f Xtensa ESP32: Fix several build-related issues associated with vector section 2016-12-15 10:08:26 -06:00
Gregory Nutt
5755f2348c Fix some crap left in README from copy and paste. 2016-12-14 14:57:43 -06:00
Gregory Nutt
b504b8daff Update README 2016-12-14 12:34:25 -06:00
Gregory Nutt
a560d70e7a Add some comments from Angus Gratton to a Kconfig file for future reference. 2016-12-14 08:19:35 -06:00
Angus Gratton
dd5e47a418 ESP32 core v2: Two changes (1) flushes the UART TX buffer in the esp32 serial shutdown routine. The ROM bootloader does not flush the FIFO before handing over to user code, so some of this output is not currently seen when the UART is reconfigured in early stages of startup. And changes the openocd config file's default flash voltage from 1.8V to 3.3V. This is not necessary right now, but may save some hard-to-debug moments down the track (3.3V-only flash running at 1.8V often half-works and does weird things...) 2016-12-14 08:15:03 -06:00
Gregory Nutt
f063e4c5ac Remove Calypso architecture support and support for Calypso SERCOMM driver. 2016-12-13 18:35:52 -06:00
Gregory Nutt
d9e040d76b Remove all Calypso board configurations 2016-12-13 18:24:49 -06:00
Gregory Nutt
c83da3c48f Remove minnsh configurations and support logic: up_getc() and lowinstream.
This was an interesting exercise to see just how small you could get NuttX, but otherwise it was not useful:  (1) the NSH code violated the OS interface layer by callup up_getc and up_putc directly, and (2) while waiting for character input, NSH would call up_getc() which would hog all of the CPU.  NOt a reasonably solution other than as a proof of concept.
2016-12-13 18:01:23 -06:00
Gregory Nutt
26560cb9e1 i.MX6: Remove non-cached, inter-cpu memory region. Not a useful concept. 2016-12-13 16:59:50 -06:00
Gregory Nutt
dae7e77d91 Update README.txt 2016-12-13 11:20:14 -06:00
Gregory Nutt
0832b11df0 Ooops... one too many righ parentheses. 2016-12-09 16:55:10 -06:00
Gregory Nutt
7d750e4187 Fix some comments 2016-12-08 12:55:54 -06:00
Gregory Nutt
a7b688e87b sched notes: Add additional note to see if/when CPU is started in SMP mode. 2016-12-07 09:08:20 -06:00
Gregory Nutt
9df1b28e6c SAMV71-XULT: Use syslog(LOG_ERR, ..) not the supposedly hidden _err() macro. 2016-12-06 17:40:52 -06:00
Gregory Nutt
b1a5364dd6 Eliminate a warning by adding missing include. 2016-12-06 13:17:20 -06:00
Gregory Nutt
a441601281 Eliminate a warning 2016-12-06 08:41:30 -06:00
Gregory Nutt
0430185785 Remove BOARDIOC_CAN_INITIALIZE. CAN initializaiton is now performed in board bring-up logic just like every other device driver. 2016-12-06 08:53:05 -06:00
Gregory Nutt
35dfe25430 Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver. 2016-12-06 08:51:37 -06:00
Gregory Nutt
8558bf6bd5 Eliminate some warnings 2016-12-05 18:07:15 -06:00
Gregory Nutt
e5e5467097 In last commit, ENODEV is a better error to report than ENOSYS. 2016-12-05 17:37:19 -06:00
Gregory Nutt
d829c03656 Corrects some warnings and link problems introduced in the last big commits. 2016-12-05 17:24:25 -06:00
Gregory Nutt
ee2852f5ff Remove all references to board_adc_setup() 2016-12-05 17:06:08 -06:00
Gregory Nutt
55dd1c87b3 Remove all references to BOARDIOC_ADCSETUP 2016-12-05 15:31:40 -06:00
Gregory Nutt
4b216ff8dd Finish removing traces of BOARDIOC_PWMSETUP 2016-12-05 14:56:21 -06:00
Gregory Nutt
b999e63c82 Remove some references to BOARDIOC_PWMTEST and board_pwm_setup(). Still lots more. 2016-12-05 13:54:12 -06:00
Gregory Nutt
da69f6df55 SAM4CMP-DB: Add hooks to auto-mount the procfs file system on startup in board bring-up logic. 2016-12-05 11:58:58 -06:00
Gregory Nutt
9ed0387379 Olimex-LPC1766-STK: Enable procfs in NSH configuration. Automount /proc on startup. 2016-12-05 08:52:40 -06:00
Masayuki Ishikawa
b3d182b5d5 Add support for the SAM5CMP-DB board 2016-12-04 07:06:17 -06:00
Gregory Nutt
9c65b0321d Eliminate some warnings 2016-12-04 06:24:24 -06:00
Gregory Nutt
920a9592d1 Fix a naming collision introduced in last big commit 2016-12-03 18:19:08 -06:00
Gregory Nutt
4f1b96b29b More networking configurations taht need the work queue enabled. 2016-12-03 17:52:13 -06:00
Gregory Nutt
62114755c9 Misoc hello configuration needs HP work queue enabled. 2016-12-03 17:37:07 -06:00
Gregory Nutt
83477c55f8 STM32 Ethernet configurations must have work queue enabled. 2016-12-03 17:06:14 -06:00
Gregory Nutt
7467329a98 Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed. 2016-12-03 16:28:19 -06:00
Gregory Nutt
ad3897531f C5471 Ethernet now supports CONFIG_NET_NOINTS 2016-12-03 12:17:55 -06:00
Gregory Nutt
43459fe75e DM09x0 Ethernet now supports CONFIG_NET_NOINTS 2016-12-03 11:42:15 -06:00
Gregory Nutt
41e35c88bf eZ80 Ethernet now supports CONFIG_NET_NOINTS 2016-12-03 10:43:35 -06:00
Gregory Nutt
eba1e076ec PIC32MX/Z Ethernet: Now supports CONFIG_NET_NOINT 2016-12-03 09:50:14 -06:00
Gregory Nutt
bfa1da14e2 LM3S Ethernet now supports CONFIG_NET_NOINTS 2016-12-03 08:32:49 -06:00
Gregory Nutt
1851e9e837 SAMA5D3: Add support for CONFIG_NET_NOINTS to EMACA and GMAC driver. 2016-12-02 16:36:27 -06:00
Gregory Nutt
f7d8bbfa3b Update README. 2016-12-02 13:54:01 -06:00
Gregory Nutt
c0cbea2550 Remove RGMP and RGMP drivers. 2016-12-02 09:49:33 -06:00
Gregory Nutt
99987a3d51 Increase max message size in all NxWM configurations. 2016-12-02 08:38:42 -06:00
Gregory Nutt
241176abc3 Eliminate a warning 2016-12-01 17:09:08 -06:00
Gregory Nutt
fa03fa5ea9 Refresh more defconfig files 2016-12-01 17:07:54 -06:00
Gregory Nutt
86b5f3b9ed boardctl: Add new command to start the NX server as a kernel thread. Also refresh more configurations. 2016-12-01 15:05:57 -06:00
Gregory Nutt
553f6d22fc Boardctl: Add a boardctrl() command to start the NX server. Refresh all NX configurations. 2016-12-01 13:52:13 -06:00
Gregory Nutt
6dda185e8a NX: Remove configuration CONFIG_NX_NXSTART. nx_start.c is now built unconditionally in multi-user mode. 2016-12-01 13:30:24 -06:00
Sebastien Lorquet
db24f237d7 STM32L4: Correct USART1/2 definitions. Use default mbed UART4 settings 2016-12-01 09:00:59 -06:00
Gregory Nutt
44e747ebf1 Remove all references to CONFIG_NET_MULTIBUFFER from configs/ 2016-11-29 15:07:30 -06:00
Gregory Nutt
e400171feb Update README 2016-11-29 09:08:15 -06:00
Ramtin Amin
f3e6264654 configs/misoc: Add a sample directory containing generated sources. This is really only useful for performing test builds. You really must generate the Misoc architecture for a real-life build. 2016-11-28 13:30:46 -06:00
Gregory Nutt
f9a7898bd4 Clean-up some miscellaneous kruft 2016-11-28 13:24:19 -06:00
Gregory Nutt
a8ea23c59c Update README 2016-11-28 11:22:32 -06:00
Ramtin Amin
b568bfa813 Misoc LM3: Add Misoc Ethernet driver. Integrate network support into configs/misoc/hello. Remove configs/misoc/include/generated directory. I suppose the the intent now is that this is a symbolic link? DANGER! This means that you cannot compile this code with first generating these files a providing a symbolic link to this location! 2016-11-28 11:08:29 -06:00
Alan Carvalho de Assis
b5bfe8af17 The Smoothie project needs to compile C++ inside config/boardname/src/ to use with High Priority Interruption, then I modified the board configs Makefile to support it, see attached patch.
It works fine for the first time compilation, but if we execute:

$ touch config/boardname/src/Pin.cxx

And execute "make" it will not detect that Pin.cxx was modified. I think there is some other place I should modify, but I didn't find it.
2016-11-27 11:19:46 -06:00
Gregory Nutt
cd54c71dc1 ARMv7-A/i.MX6: Modify handling of the SMP cache coherency configuration so that it is identical to the steps from the TRM. Makes no differenct, however. 2016-11-27 10:21:46 -06:00
Gregory Nutt
546e352830 i.MX6: Add some controls to enable SMP cache coherency in SMP mode 2016-11-26 17:46:20 -06:00
Gregory Nutt
8dc79bb7ef Update comments and README file 2016-11-26 16:02:37 -06:00
Gregory Nutt
b2ba12e02a SMP: Basic function 2016-11-26 14:23:23 -06:00
Gregory Nutt
785ed5faf2 SMP: A few more compile/link issues. Still problems. 2016-11-26 13:20:11 -06:00
Gregory Nutt
aae306e942 i.MX6 SMP: Inter-CPU data no saved in a non-cacheable region. 2016-11-26 12:04:02 -06:00