Skip to content

Commit

Permalink
libs/libc/unistd/Kconfig: Revisiting 664af2a, the problem was not tha…
Browse files Browse the repository at this point in the history
…t the default should be 'not set', the problem is that the conditionals were backward.
  • Loading branch information
gregory-nutt committed Jul 14, 2018
1 parent 38073a5 commit 903a4d8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
56 changes: 31 additions & 25 deletions configs/viewtool-stm32f107/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -705,33 +705,39 @@ MAX3421E Integration
-----------------

Using SPI1on J8 pins 7-12, discretes on J18
------ ----------- -----------
NAME VIEWTOOL STM32
------ ----------- -----------
CS# J8 Pin 12 PA4/NSS1
SCK J8 Pin 11 PA5/SCK1
MISO J8 Pin 9 PA6/MISO1
MOSI J8 Pin 10 PA7/MOSI1
INT# J18 Pin 6 PC5
RST# J18 Pin 8 PA1
VBUS J18 Pin 10 PA0

3.3V J8 Pin 7
GND J8 Pin 8

------ ----------- -----------
NAME VIEWTOOL STM32
------ ----------- -----------
CS# J8 Pin 12 PA4/NSS1
SCK J8 Pin 11 PA5/SCK1
MISO J8 Pin 9 PA6/MISO1
MOSI J8 Pin 10 PA7/MOSI1
INT# J18 Pin 6 PC5
RST# J18 Pin 8 PA1
VBUS J18 Pin 10 PA0
3.3V J8 Pin 7
GND J8 Pin 8

Using SPI2 on J8 pins 1-6, discretes on J18
------ ----------- -----------
NAME VIEWTOOL STM32
------ ----------- -----------
CS# J8 Pin 6 PB12/NSS2
SCK J8 Pin 5 PB13/SCK2
MISO J8 Pin 3 PB14/MISO2
MOSI J8 Pin 4 PB15/MOSI2
INT# J18 Pin 6 PC5
RST# J18 Pin 8 PA1
VBUS J18 Pin 10 PA0
3.3V J8 Pin 1
GND J8 Pin 2

------ ----------- -----------
NAME VIEWTOOL STM32
------ ----------- -----------
CS# J8 Pin 6 PB12/NSS2
SCK J8 Pin 5 PB13/SCK2
MISO J8 Pin 3 PB14/MISO2
MOSI J8 Pin 4 PB15/MOSI2
INT# J18 Pin 6 PC5
RST# J18 Pin 8 PA1
VBUS J18 Pin 10 PA0
3.3V J8 Pin 1
GND J8 Pin 2

5V VBUS power is also needed. This might be directly connected to the USB
host connector (as assumed here), or switched via additional logic. Then
GPX pin might also be necessary if VBUS detect is used with self-powered
devices.

Configuration Options
---------------------
Expand Down
3 changes: 2 additions & 1 deletion libs/libc/unistd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ if LIBC_EXECFUNCS

config EXECFUNCS_HAVE_SYMTAB
bool "Have symbol table"
default n
default n if !BUILD_KERNEL
default y if BUILD_KERNEL
---help---
If you have a system symbol table, then you may select this
option in order to use it. Symbol tables are required in most
Expand Down

0 comments on commit 903a4d8

Please sign in to comment.